AI-powered summaries of Hacker News discussions.
Features
- 📝 Summarize Discussions - Get TL;DR, key points, and sentiment analysis
- 🔍 Find Interesting Comments - AI identifies the most valuable comments
- 📊 Discussion Stats - Comment counts, top authors, thread depth
- 🔑 BYOK (Bring Your Own Key) - Use your OpenAI or OpenRouter API key
Installation
- Clone or download this repository
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the extension folder
Setup
- Click the extension icon
- Click "Configure API Key" or the ⚙️ settings button
- Choose your AI provider:
- OpenAI - Direct GPT access (Get API key)
- OpenRouter - 100+ models, often cheaper (Get API key)
- Enter your API key
- Click "Test Connection" to verify
- Save settings
Usage
-
Navigate to any Hacker News page:
- Story with comments:
news.ycombinator.com/item?id=... - Front page:
news.ycombinator.com
- Story with comments:
-
Click the HN Digest extension icon
-
On a story page:
- Click "Summarize Discussion" for a full summary
- Click "Find Interesting" to discover notable comments
- View Stats tab for discussion metrics
API Costs
Typical costs per summarization (estimates):
- GPT-4o-mini: ~$0.001-0.005
- GPT-4o: ~$0.01-0.05
- Claude 3.5 Sonnet (via OpenRouter): ~$0.01-0.03
Privacy
- Your API key is stored locally in Chrome's sync storage
- Page data is sent only to the HN Algolia API and your chosen AI provider
- No analytics or tracking
Tech Stack
- Manifest V3 Chrome Extension
- HN Algolia API for fetching discussions
- OpenAI / OpenRouter APIs for summarization
- Vanilla JS, no build step required
License
MIT