Show HN: Local HN-Brief A developer released HN-Brief, an open-source tool that uses a Cloudflare Worker running every 2 hours to pull the top 20 Hacker News stories from the HN Algolia API, summarize each article and its discussion through an LLM (OpenRouter by default, with Cebras, Nvidia NIM and Xiaomi MiMo as fallbacks), and publish a daily digest as a static site. The Worker commits the generated markdown files to GitHub, triggering a Cloudflare Pages redeploy, and the project ships a Bun-based CLI (v1.0+) with flags for date selection, article-only or digest-only runs, and repair of low-quality stories by HN ID. A separate private pipeline runs once a day in Podman and writes retained JSON, Markdown and LLM traces to a host directory, where agents read latest.json to find the newest briefing. AI-powered daily summaries of Hacker News stories and discussions. Too busy to scroll through Hacker News every day? HN-Brief automatically fetches the top 20 stories, summarizes each article and its discussion using AI, and generates a cohesive daily digest all hosted as a simple static site. 🔗 Live site : hn-brief.com https://hn-brief.com 1. Fetch — A Cloudflare Worker runs every 2 hours, pulling the top stories from the HN Algolia API https://hn.algolia.com/api . 2. Summarize — Each story + its comments are sent to an LLM via OpenRouter https://openrouter.ai by default, with Cebras/Nvidia/Xiaomi as fallbacks . 3. Digest — All summaries are combined into a single, flowing narrative for quick reading. 4. Publish — The Worker commits the markdown files directly to GitHub, triggering a Cloudflare Pages redeploy. - Article Mode : Per-story summaries with article + discussion breakdown - Digest Mode : All stories summarized into one cohesive narrative - Daily Archive : Browse summaries from previous days via calendar picker - HN Aesthetic : Classic Hacker News styling with Verdana font - Zero Framework : Pure HTML/CSS/JS frontend - Bun https://bun.sh/ v1.0+ - API key for summarization Cebras, Nvidia NIM, Xiaomi MiMo, OpenRouter, or OpenAI-compatible Clone the repository git clone https://github.com/jnd0/hn-brief.git cd hn-brief Install dependencies bun install Copy environment variables cp .env.example .env Edit .env with your API keys Serve the static site bunx serve . Visit http://localhost:3000 Generate today's summaries Article + Digest modes bun run summarize Show all CLI options bun run summarize -- --help | Option | Short | Description | |---|---|---| | --date