News Digest
AI-powered news aggregation and summarization platform with a newspaper-inspired editorial UI. Fetches RSS feeds, summarizes them using LLM APIs, and presents everything in a clean, multi-column layout with real-time widgets.
Features
Core News
- RSS feed aggregation with AI-powered summarization
- Provider fallback system (Groq / OpenRouter) with automatic failover
- Summary history with date-based archive navigation
- Article-level caching to minimize redundant API calls
- Sentiment analysis and topic extraction per article section
- Feed auto-discovery — paste any URL to find RSS feeds
- Category-level custom prompts and language settings for LLM output
Interactive
- Chat with AI about any summary ("Ask about this news")
- Morning briefing — cross-category daily digest
- Model selection — switch between Llama and MiniMax2.7
- Send summaries to Telegram with one click
- Pull-to-refresh on mobile
Widgets
- Job board — aggregated from 12 sources (incl. direct Greenhouse/Lever/Ashby/Workable boards) with AI filtering driven by a configurable
JOB_PROFILE
- Upcoming movies & TV shows (TMDB) with detail modals
- Hacker News top posts
- Weather forecast (Open-Meteo)
- Cryptocurrency prices (CoinGecko)
- RON exchange rates (Frankfurter)
- Trending topics from your feeds
- PBS Headlines
MindGames — Cognitive Resilience Dashboard
Based on the "Mental Antibody" implementation spec and the "Engineering Cognitive Resilience" research paper. 57 features across 5 tabs:
Overview — Dashboard stats, quick actions, recent activity
Training
- Inoculation Lab (Van der Linden) — Build "mental antibodies" by identifying manipulation tactics in AI-generated headlines. Includes Detective Mode + CDO Mode with level progression, score tracking, and
useOptimistic for instant feedback
- Pattern Recognition Tests — Interactive exercises demonstrating apophenia (seeing patterns that aren't there) using random data: coincidence, scatter, sequence, and correlation tests
Analysis
- Cognitive Forensic Engine (Grimes/Ariely) — Deconstruct text into logical and psychological components. Fallacy detection with 14 taxonomy types, emotional intensity mapping, Funnel of Misbelief visualization, SSE streaming, history viewer
- Study Stress-Tester — Evaluate news headlines about studies: sample size, control groups, conflicts of interest, peer review status
- Compare Coverage (Ground News style) — Multi-column Left/Center/Right outlet comparison with framing analysis and narrative divergence scoring
- News Spectrum — Side-by-side outlet credibility ratings and bias spectrum visualization
Reflection
- Scientist's Sandbox (Adam Grant) — ADEPT multi-agent debate (Skeptic, Institutionalist, Moralist), pre/post confidence tracking, thinking mode detection (Preacher/Prosecutor/Politician/Scientist), rethinking journal with trend charts
- Bridge Builder (Monica Guzman) — SOS Audit (Sorting/Othering/Siloing), "How" bridge-building questions, Schwartz Values Quiz, Information Diet echo-chamber diagram
- Stress & Bias Diagnostic — Pre-engagement emotional state check-in with motivated reasoning risk score
Reference
- Prompt Library — Searchable templates for bias detection, perspective taking, fallacy search, steelmanning, source evaluation
- Narrative Map — Misinformation spread visualization across platforms with timeline slider and mutation tracking
- Disinfo Influencer Map — Gateway (health/wellness) → Bridge (influencers) → Conspiracy Core funnel visualization
- Daily Quiz — Daily technique-guessing quiz bridging cognitive and bias-radar modules
Bias Radar — 5-tab slide-over panel used across the app (from article views and homepage): technique picker, compare, decode, steelman, timeline, diet report, gut check
Design
- 4 newspaper color themes (Classic, Broadsheet, Evening, Morning)
- Three-column layout: left sidebar, main content, right sidebar
- Editorial typography: Playfair Display, Lora, Inter, Source Sans 3
- LLM usage statistics with live provider quota tracking
- 5-column newspaper grid homepage with article images
- Server-synced theme preference
Tech Stack
| Layer | Technology |
|---|
| Frontend | React 19, TypeScript, Tailwind CSS 4, Vite, ShadCN UI, Recharts |
| Backend | Express 5, better-sqlite3 (WAL mode), rss-parser |
| AI | Groq (openai/gpt-oss-20b), OpenRouter (minimax/minimax-m2.7) |
| APIs | TMDB, CoinGecko, Open-Meteo, Frankfurter, Hacker News, PBS |
Getting Started
Prerequisites
Installation
# Clone the repository
git clone https://github.com/elodlukacs/news-digest.git
cd news-digest
# Install server dependencies
cd server
npm install
cp .env.example .env
# Edit .env with your API keys (see Configuration below)
# Install client dependencies
cd ../client
npm install
Configuration
Edit server/.env with your API keys:
This is the beginning of the README. Read the rest at the original. Read the full README ↗