A FastAPI web app that aggregates the latest Anthropic news from top AI/tech publications and presents them in a clean, dark-mode-capable interface.
- Live news aggregation — fetches Anthropic-related articles at startup from HackerNews, Wired, GeekWire, and ZDNet
- Configurable sources — add, remove, or disable news sources by editing
sources.json; no code changes required - Dual interface — server-rendered HTML frontend (Jinja2 + Bootstrap 5) alongside a JSON REST API
- Dark mode — user-selectable light/dark/auto theme persisted in
localStorage
Requires Python 3.12+ and uv.
uv sync
uv run fastapi dev main.pyThe app is available at http://localhost:8000.
Sources are defined in sources.json. Each entry supports:
| Field | Description |
|---|---|
name |
Display name shown in the UI |
type |
"rss" or "hackernews_api" |
url |
Feed or API URL |
filter_keyword |
Only include articles containing this word (RSS only) |
max_items |
Max articles to pull per source |
enabled |
Set to false to disable without removing |
| Method | Path | Description |
|---|---|---|
GET |
/api/news/ |
List all news articles |
GET |
/api/news/{id} |
Get a single article |
POST |
/api/news |
Add a news article manually |
Interactive API docs available at http://localhost:8000/docs.