
Every evening, a quiet little collector reads a news site so nobody has to. It files each new article in its own database, never the same one twice, and serves the news through an API.
I designed and built the backend: the part you never see, doing the work every day. Here's what it does, one step at a time.
Collect
Every evening, a GitHub Actions job reads the publisher's RSS feed back to where it stopped last time, then its news sitemap for anything missed. A run cut short? The next picks up the trail: no gaps, no duplicates.
Behave
It follows robots.txt, waits between requests and only downloads what has changed. A Postgres lock makes sure two runs never trip over each other.
Serve
A read-only FastAPI API hands out articles with search, cursor paging and ETags, so asking twice costs almost nothing.
Show
A simple desktop interface reads the same API, so you can see the latest news at a glance.
Stay in check
An optional AI step stays inside hard free-tier limits, and tests run on every change.

Collected politely, never twice.
Each run walks back to the last checkpoint, so a stopped run picks up where it left off. Feeds that keep failing are paused, and every run leaves a record of what it fetched.





