Expose a cached Lobsters RSS API #1

Merged
brennoflavio merged 2 commits from cached-rss-api into master 2026-09-21 04:11:25 +00:00
Collaborator

Adds a Flask /rss endpoint that filters stories by score and returns RSS with Lobsters discussion links. The rendered feed is cached in process for 10 minutes by default, refreshes are serialized, score lookups are paced, and a last known good feed is retained if refresh fails.

Adds /healthz, unit coverage for filtering and cache reuse, Docker packaging, and usage documentation.

Verified with python -m unittest discover -s tests and a live local request to /rss, which returned parseable RSS (4 items). Docker build/run could not be executed in this environment because the docker CLI is unavailable.

Adds a Flask `/rss` endpoint that filters stories by score and returns RSS with Lobsters discussion links. The rendered feed is cached in process for 10 minutes by default, refreshes are serialized, score lookups are paced, and a last known good feed is retained if refresh fails. Adds `/healthz`, unit coverage for filtering and cache reuse, Docker packaging, and usage documentation. Verified with `python -m unittest discover -s tests` and a live local request to `/rss`, which returned parseable RSS (4 items). Docker build/run could not be executed in this environment because the `docker` CLI is unavailable.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
brennoflavio/lobsters-bisque!1
No description provided.