Skip to content

monchrome/anthropic_blog

Repository files navigation

Anthropic News Blog

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.

Features

  • 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

Setup

Requires Python 3.12+ and uv.

uv sync
uv run fastapi dev main.py

The app is available at http://localhost:8000.

News Sources

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

API Endpoints

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors