How vaso-1234/daily-news works
The World Today is a static news briefing: an hourly refresh collects BBC and WSJ headlines, enriches and summarizes stories, and publishes a JSON payload for a browser-based site. The main path runs from scheduled refresh through feed selection, article enrichment, summary generation, and payload storage to client rendering. The site also supports source filters, freshness status, manual refresh, and periodic polling. The README documents deployment and cadence; source excerpts show client-side loading and parts of the fetcher, but not every internal implementation detail.
Main entry points: app.js Briefing client · refresh-news.yml Refresh workflow · fetch_news.py Feed fetcher · index.html Page shell
Components 18
News refresh
- Refresh workflow
.github/workflows/refresh-news.yml - Feed fetcher
scripts/fetch_news.py
Story processing
- Story selection
scripts/fetch_news.py - Article enrichment
scripts/fetch_news.py - Summary composition
scripts/fetch_news.py - Briefing payload
site/data.json
Briefing site
- Page shell
site/index.html - Briefing client
site/app.js - Source filters
site/app.js - Story cards
site/app.js - Freshness status
site/app.js - Magazine theme
site/styles.css
Publishing
- Commit and push
.github/workflows/refresh-news.yml
Other components
- Hourly schedule
- BBC and Bing RSS
- Publisher article pages
- GitHub Pages
- Reader browser
Connections 18
- Hourly schedule → Refresh workflow: triggers hourly
README.md - Refresh workflow → Feed fetcher: runs refresh
README.md - Feed fetcher → BBC and Bing RSS: fetches feeds
README.md - Feed fetcher → Story selection: selects stories
README.md - Story selection → Article enrichment: enriches items
README.md - Article enrichment → Publisher article pages: fetches pages
README.md - Article enrichment → Summary composition: supplies article text
README.md - Summary composition → Briefing payload: writes summaries
README.md - Refresh workflow → Commit and push: commits updates
README.md - Commit and push → GitHub Pages: redeploys site
README.md - Reader browser → GitHub Pages: opens briefing
README.md - GitHub Pages → Page shell: serves page
README.md - Briefing client → Briefing payload: fetches JSON
site/app.js - Briefing client → Source filters: renders filters
site/app.js - Briefing client → Story cards: renders stories
site/app.js - Briefing client → Freshness status: updates status
site/app.js - Briefing client → Page shell: binds page elements
site/app.js - Page shell → Magazine theme: uses styling