Hacker News Thread Summarizer avatar

Hacker News Thread Summarizer

Pricing

Pay per usage

Go to Apify Store
Hacker News Thread Summarizer

Hacker News Thread Summarizer

Fetches top comments from a Hacker News thread and summarizes them using Claude API.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

HJ JOO

HJ JOO

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Share

Fetches top comments from any Hacker News thread and generates a concise summary using Claude AI. No Reddit or HN account required -- just paste a URL and get an instant summary.

What does it do?

  1. Takes a Hacker News thread URL as input
  2. Fetches top-level comments via the official HN API (no authentication needed)
  3. Sends the thread title, body, and comments to Claude API
  4. Returns a structured English summary covering key opinions, recommendations, and debates

Example output

{
"url": "https://news.ycombinator.com/item?id=39865810",
"title": "Backdoor in upstream xz/liblzma leading to SSH server compromise",
"commentCount": 20,
"summary": "## Key Points from the XZ/liblzma Backdoor Discussion\n\n### The Attack\nA sophisticated backdoor was discovered in the xz/liblzma compression library..."
}

Input

FieldTypeRequiredDefaultDescription
urlstringYes-HN thread URL (e.g. https://news.ycombinator.com/item?id=39865810) or just the item ID
commentLimitintegerNo30Number of top-level comments to fetch (1-100)

Setup

This Actor requires one environment variable:

Set it in the Actor's Settings > Environment Variables on Apify Console.

How much does it cost?

  • Apify platform: Minimal -- a single run takes a few seconds of compute
  • Claude API: Typically $0.01-0.05 per summary depending on thread length (uses Claude Sonnet)

Use cases

  • Quickly catch up on long HN discussions
  • Research trending tech topics
  • Monitor community reactions to product launches
  • Build a digest of HN threads via Apify scheduling

Local development

# Clone and install
pip install -r requirements.txt
# Set up environment
cp .env.example .env
# Edit .env and add your ANTHROPIC_API_KEY
# Run locally
apify run