How nicolasbgt-cell/daily-digest works
daily-digest is a personal news-digest demo and public archive. Its main workflow collects RSS articles, filters and groups them into readable topics, lets one reader select topics in Telegram, then writes and returns a French PDF while tracking API cost. JSON files connect the processing stages. The README also describes a public archive, but archive publishing is outside this repository’s production code; its link is therefore shown as unverified. Source excerpts do not expose every call, so documented relationships use README evidence.
Main entry points: redaction.py Article writing and checks · bot.py Topic selection bot · regrouper.py Topic filtering and grouping · budget.py Cost accounting
Components 18
Collection
- Article collector
collecte.py - Article JSON
Topic preparation
- Topic filtering and grouping
regrouper.py - Topic JSON
- Readability checks
regrouper.py
Reader workflow
- Topic selection bot
bot.py
Edition and archive
- Article writing and checks
redaction.py - A5 PDF edition
redaction.py - Sample editions
samples/edition-2026-10-08-evening-EN.pdf - Public topic archive
archive.md - Archive publishing
Cost tracking
- Cost accounting
budget.py - Usage log
Other components
- Reader
- RSS sources
- Telegram
- Source pages
- Anthropic API
Connections 21
- RSS sources → Article collector: provides feeds
README.md - Article collector → Article JSON: writes articles
README.md - Article JSON → Topic filtering and grouping: supplies articles
README.md - Topic filtering and grouping → Anthropic API: filters and groups
README.md - Topic filtering and grouping → Readability checks: checks readability
regrouper.py - Readability checks → Topic JSON: writes readable topics
README.md - Topic JSON → Topic selection bot: loads topic list
README.md - Reader → Telegram: selects topics
README.md - Telegram → Topic selection bot: sends selections
README.md - Topic selection bot → Article writing and checks: invokes writing
bot.py - Article writing and checks → Source pages: fetches sources
README.md - Article writing and checks → Anthropic API: requests articles
README.md - Article writing and checks → A5 PDF edition: lays out edition
README.md - Topic selection bot → Telegram: returns PDF
bot.py - A5 PDF edition → Sample editions: shown as examples
README.md - Reader → Public topic archive: browses topics
README.md - Archive publishing → Public topic archive: publishes topics
- Topic filtering and grouping → Cost accounting: logs API usage
README.md - Article writing and checks → Cost accounting: logs API usage
README.md - Topic selection bot → Cost accounting: checks monthly cost
README.md - Cost accounting → Usage log: appends and totals
budget.py