Expose a cached Lobsters RSS API #1
Loading…
Reference in a new issue
No description provided.
Delete branch "cached-rss-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a Flask
/rssendpoint 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 testsand a live local request to/rss, which returned parseable RSS (4 items). Docker build/run could not be executed in this environment because thedockerCLI is unavailable.