mirror of
https://github.com/NohamR/AFP-RSS.git
synced 2026-07-11 22:40:11 +00:00
87f4329279da17bf0ac0a09e203b0891db3bccf5
Bump fastapi from 0.138.1 to 0.139.0
AFP RSS Feeds
A simple, lightweight scraper that fetches the latest AFP news from Mediapart and exposes them as Atom, JSON, and plain text feeds. It updates automatically in the background every hour.
Endpoints
Once the server is running on port 8080, you can access:
http://localhost:8080/rss.atomhttp://localhost:8080/rss.jsonhttp://localhost:8080/rss.txt
Running Locally
This project uses uv for dependency management:
uv sync
uv run python main.py
Running with Docker
You can use the pre-built image directly from Docker Hub:
docker run -d -p 8080:8080 --name afp-rss nohamr/afp-rss:latest
Using Docker Compose
A docker-compose.yml file is provided for convenience:
docker compose up -d
Building the Image Yourself
docker build -t afp-rss .
docker run -d -p 8080:8080 --name afp-rss afp-rss
Languages
Python
97.1%
Dockerfile
2.9%