2.6 KiB
2.6 KiB
Org Social RSS Bridge
A simple bridge that converts RSS/Atom feeds into Org Social format. This allows you to follow any RSS feed as if it were an Org Social account.
Quick Start
Using Docker Compose (Recommended)
- Clone the repository:
git clone <repository-url>
cd org-social-rss-bridge
- Copy the example environment file:
cp .env.example .env
- Edit
.envwith your RSS feed URL and profile settings:
RSS_FEED_URL=https://blog.orgmode.org/feed.xml
NICK=org-mode-blog
TITLE=Org Mode Blog
DESCRIPTION=Official Org Mode blog RSS feed
AVATAR=
CONTACT=
LANG=en
PORT=5000
DEBUG=false
- Build and start the service:
docker compose up -d
- Access your Org Social feed at
http://localhost:5000
Using Python directly
- Install dependencies:
pip install -r requirements.txt
- Set environment variables:
export RSS_FEED_URL=https://blog.orgmode.org/feed.xml
export NICK=org-mode-blog
export TITLE="Org Mode Blog"
export DESCRIPTION="Official Org Mode blog RSS feed"
export PORT=5000
export DEBUG=false
- Run the application:
python app.py
Configuration
All configuration is done via environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
RSS_FEED_URL |
Yes | - | URL of the RSS/Atom feed to convert |
NICK |
No | rss-bridge |
Your Org Social username (no spaces) |
TITLE |
No | RSS Bridge |
Feed title (falls back to RSS feed title) |
DESCRIPTION |
No | RSS to Org Social bridge |
Profile description (falls back to RSS feed subtitle) |
AVATAR |
No | - | Profile avatar URL (falls back to RSS feed image) |
CONTACT |
No | - | Contact information (email, XMPP, Matrix, etc.) |
LANG |
No | en |
Default language for posts |
PORT |
No | 5000 |
Port where the service listens |
DEBUG |
No | false |
Enable debug mode (true/false) |
CACHE_TIMEOUT |
No | 300 |
Cache timeout in seconds (5 minutes default) |
Usage
Get the Org Social feed
Access the feed configured in your environment:
curl http://localhost:5000/
Health check
Check if the service is running:
curl http://localhost:5000/health
Contributing
Contributions are welcome! Please see the contribution guidelines for instructions on how to submit issues or pull requests.
License
Org Social is free software, released under the GPLv3 license.