How ibalajisivarajan/daily-pulse-v2 works
Daily Pulse is a browser-based, full-screen news feed. Its principal workflow gathers stories, enriches or formats them into JSON, and presents them to readers; a separate refresh endpoint can save preferences and trigger scheduled fetching. The source excerpts support the agent and basic fetch implementations, while the README documents weather and scheduled hosting. The unsampled page and workflow prevent confirming their internal wiring, so those links are limited to documented behavior.
Main entry points: agent.js News agent · index.html News feed · fetch.js HN fetcher · news-mcp-server.js News sources
Components 18
Reader experience
- News feed
index.html - Feed formatting
scripts/app-logic.js
Story collection
- Scheduled fetch
.github/workflows/fetch-stories.yml - HN fetcher
scripts/fetch.js - News sources
scripts/news-mcp-server.js
Curation and refresh
- News agent
scripts/agent.js - Refresh endpoint
workers/daily-pulse-refresh.js
Data and integrations
- Story data
data/stories.json - Reader preferences
data/preferences.json
Other components
- Reader
- HN Algolia
- RSS publishers
- Groq
- Unsplash
- Story websites
- Open-Meteo
- GitHub API
- GitHub Pages
Connections 21
- Reader → News feed: views
- News feed → Story data: reads
- News feed → Reader preferences: reads
- News feed → Feed formatting: uses
- News feed → Open-Meteo: gets weather
- Scheduled fetch → HN fetcher: runs
- HN fetcher → HN Algolia: fetches stories
- HN fetcher → Story websites: scrapes images
- HN fetcher → Story data: writes
- News agent → Reader preferences: reads
- News agent → News sources: calls tools
- News sources → HN Algolia: fetches stories
- News sources → RSS publishers: fetches feeds
- News agent → Groq: enriches stories
- News agent → Story websites: gets images
- News agent → Unsplash: searches images
- News agent → Story data: writes
- Reader → Refresh endpoint: requests refresh
- Refresh endpoint → GitHub API: updates preferences
- Refresh endpoint → GitHub API: dispatches workflow
- GitHub Pages → News feed: hosts