Hacker News Alerts: Track Stories and Comments

Set up hacker news alerts four ways: keyword email, hnrss feeds, an Algolia cron, and Magpie watch with webhooks. All live-tested October 31, 2026.

MMotherlode Lab9 min read
Magpie title card: Hacker News Alerts: Track Stories and Comments

Hacker News has no notifications: no reply alerts, no keyword watch, no digest email. Favorites are a private bookmark list that never pings you, and a thread about your product runs hot for about two hours; find it at hour five and the conversation is over. This guide builds hacker news alerts four ways, from a two-minute email signup to a self-rolled cron, every command tested on October 31, 2026 from a home connection.

Which hacker news alerts setup fits you

Setup Effort Latency Covers Cost
F5Bot (email) 2 minutes minutes New posts + comments, keyword match Free; $12.99/mo for 20 keywords
hnrss.org (RSS) 5 minutes your reader’s poll Stories (or comments) matching a query, points filter Free
Algolia API + cron ~30 minutes your cron interval (5 min tested) Anything the API indexes: stories, comments, threads, authors Free, keyless
Magpie watch + webhook ~10 minutes your --every interval (80s tested) Any HN page change, pushed to your phone Free, local

My advice: start with F5Bot today, add the Algolia cron when email is too slow or too blunt, and keep Magpie watch for the pages you care about as pages: your own thread climbing the front page, a Show HN you launched.

What you have to work with

Two machine-readable doors, both free of logins.

First, every public HN page is plain static HTML: front page, /newest, /item, /newcomments, user pages. No JSON-LD, no JavaScript requirement. The catch is pacing: robots.txt sets Crawl-delay: 30 and bans the twelve action endpoints (voting, replying, flagging), while every content page is allowed. The full page-by-page map, including a cleaner quirk that drops comment bodies, is in the Hacker News scraper guide.

Second, the search API HN itself uses: hn.algolia.com/api/v1, keyless, with a documented 10,000 requests per hour per IP. It indexes stories and comments with timestamps, points, authors, and full nested comment trees. Most of this guide runs on it.

Step 1: Get keyword alerts with zero code

F5Bot has been watching Hacker News, Reddit, and Lobsters for keywords since 2017 and delivers over 430,000 email alerts a day. Sign up with an email, add keywords like your product name and your competitor’s, get an email when a new post or comment matches. The free tier covers exactly this. Silver ($12.99/month, 20 keywords) adds advanced filtering and full post text; Gold ($49.99/month, 200 keywords) adds RSS/JSON feeds, AI filtering, and Slack/Discord routing.

The con that matters: exact keywords only on the free tier. “magpie” matches every magpie on earth, and there’s no exclusion syntax until you pay. You’re also trusting a third party to sit in the loop between HN and your inbox. Nine years of uptime suggests they’re fine with that.

Syften is the sharper paid option. It polls the official HN API with a target delay of one minute and speaks HN-specific operators: replyto:yourusername for replies to your comments (HN has no native reply notifications, this fills the gap), title:"Ask HN" and type:post for story titles only, site: for domain scoping, plus AI qualification rules to reject ambiguous matches. Delivery goes to Slack, email, RSS, API, or webhooks. Running since 2019, 14-day trial. If your keyword is a common technical term, this is the tier of tool you actually need.

Step 2: Build keyword feeds with hnrss.org

hnrss.org turns any HN search into an RSS feed, no account. The parameters do real filtering:

https://hnrss.org/newest?q=web+scraper          — new stories matching the query
https://hnrss.org/newest?q=scraper&points=10    — only stories with 10+ points
https://hnrss.org/newest?q=scraper&comments=5   — only stories with 5+ comments

I pulled ?q=web+scraper live: 20 items, newest first, each with title, description, and the comments link. The points=10 filter answered with exactly 3 items. Point the feed at any RSS reader (the news scraper guide covers the broader pull-everything job) and you have a zero-maintenance alert inbox: broad keywords churn daily, a niche product name ticks a few times a month.

One honest caveat from testing this exact feed with Magpie: magpie watch on the feed URL does fire when a new item lands, but the cleaner drops the feed’s <title> elements: my check found zero title text in the cleaned output, only descriptions and comments links. The alert works as a tripwire; it just doesn’t read well. Use a feed reader here and save Magpie for the next two steps.

Step 3: Self-rolled alerts on the Algolia API

This is the setup with real control: comment-level matching, per-thread watches, author watches, your own dedupe and routing. Every call below is verified keyless, sorted newest-first.

# New comments mentioning a keyword, last 3 days: 28 hits when I ran it
curl -s "https://hn.algolia.com/api/v1/search_by_date?query=web+scraper&tags=comment&numericFilters=created_at_i%3E$(date -d '3 days ago' +%s)"

# Every comment on one thread, newest first: 128 hits on the thread I watched
curl -s "https://hn.algolia.com/api/v1/search_by_date?tags=comment,story_50263837"

# Everything one account posts: 861 hits for the author I probed
curl -s "https://hn.algolia.com/api/v1/search_by_date?tags=comment,author_raybb"

tags=comment,story_ID is the quiet gem: it watches a single discussion without re-reading the page, and it never fires on noise because nothing else touches the result set. Point it at your own Show HN and you have a reply alarm.

Here is the cron job I ran: 5-minute cadence, ntfy for the push, a seen-file for dedupe.

#!/usr/bin/env bash
# Poll Algolia for new HN stories matching a keyword. Crontab: */5 * * * *
KEYWORD="web+scraper"
STATE="$HOME/.hn-alerts-seen"
SINCE=$(( $(date +%s) - 1200 ))
curl -s "https://hn.algolia.com/api/v1/search_by_date?query=${KEYWORD}&tags=story&numericFilters=created_at_i%3E${SINCE}" |
  jq -r '.hits[].objectID' | while read -r id; do
    grep -qx "$id" "$STATE" 2>/dev/null && continue
    echo "$id" >> "$STATE"
    curl -s -d "New HN story: https://news.ycombinator.com/item?id=$id" ntfy.sh/your-topic >/dev/null
  done

First run notified all 3 matching stories from the week. Second run: silence. That is the whole alert system. About a dozen requests an hour against a 10,000/hour quota.

One gap I hit while testing: Algolia’s query= matches titles and text, not domains. I queried two known domains (magpiescraper.com, changedetection.io) and got 0 hits each. For “tell me when my domain gets posted”, use F5Bot or Syften with the domain as a keyword instead.

Step 4: Watch one discussion with Magpie

Magpie’s watch command stores a snapshot of a page and reports a word-diff whenever it changes, optionally POSTing a webhook you can pipe to your phone. The CLI is free and installs as one static binary: go install github.com/motherlodelab/magpie@latest. On HN it works best as a thread tripwire and a front-page watchdog, with two limits stated plainly below.

Watching a thread, first check stores the baseline silently, and a re-check two minutes later printed nothing:

magpie watch "https://news.ycombinator.com/item?id=50263837" --every 5m --once
# first run: exit 0, silent (baseline stored)
# second run 2 minutes later: exit 0, silent (no change)

The front page moves faster. Two checks 80 seconds apart produced this diff: point counts ticking up, comment counters with them.

changed=true old=f3ee588a... new=9a630cab...
- 460
+ 464
- [279
+ [282
- 103
+ 106

That’s abridged. When your story lands on the front page, its title row shows up in the same minus/plus format, and the webhook fires once with {url, changed, old_hash, new_hash, diff}. The full phone plumbing (webhook receiver, ntfy, tested end to end) is in the back-in-stock alerts guide; the commands are identical, only the URL changes. Keep the interval at 5 minutes or more: each check is a plain GET, and HN asks crawlers for 30 seconds of restraint, which a 5-minute watch respects by a factor of ten.

Two limits, both real:

  • The clean drops comment bodies. A watched thread’s diff tells you that something changed (new username rows, a counter moving) but not what anyone said. When it fires, read the thread properly: magpie scrape URL --page-format html keeps every comment body (128 commtext blocks on the thread I tested), or pull the full nested tree from hn.algolia.com/api/v1/items/50263837. The hackernews vertical gives a typed record of the story itself, with points (289 on my test item), author, and top-level comment count, but it counts only top-level comments, so a 46-comment thread reports 24.
  • Relative timestamps age. HN renders “20 hours ago” server-side, and that string bumps every hour even when nobody comments. On a long thread, expect periodic diffs from aging alone. For a precision check on one thread, the Algolia tags=comment,story_ID query in Step 3 has zero churn.

watch is a change detector, not a content filter. There’s no “only alert if the title contains X” flag. The workaround is the same grep-the-diff move from the back-in-stock guide: let the webhook fire, filter on your side.

Make it stick

Dedupe on IDs, never on content. The seen-file in Step 3 survives restarts and costs nothing. Check the clock before you reply: HN threads concentrate their comments in the first two hours, so an alert that reaches your phone inside 5 minutes is worth more than a prettier dashboard you check daily. Pair the mention alerts with competitor website monitoring so a rival’s own changelog gets the same treatment, and batch your watching: one Algolia cron covering your keywords, plus per-thread watches only while a discussion you started is live, beats a dozen always-on loops hammering a site that politely asks for 30-second spacing.

FAQ

Does Hacker News have native notifications?

No. Favorites are private bookmarks with no alert attached, and there’s no reply notification either. HN assumes you’ll re-check the thread. Every alert setup in this guide bolts onto either the public pages or the official Algolia search API.

Can I get alerted when someone replies to my HN comment?

Not natively. Syften’s replyto:yourusername filter is the one-line answer. Self-rolled, there’s no clean reply-to-me query in the Algolia API. The practical substitute is tags=comment,story_ID on any thread you’ve commented in.

Is monitoring Hacker News allowed?

Reading public pages and the Algolia API is fine. The API is HN’s own infrastructure with a documented 10,000 requests/hour/IP quota. robots.txt allows all content pages, bans the twelve action endpoints, and asks crawlers for a 30-second crawl-delay. A 5-minute watch or cron is well inside that.

Do these alerts cover comments or only stories?

All of them cover comments except the hnrss /newest feed, which is stories only (hnrss publishes a comments firehose as well). F5Bot matches new posts and comments; Algolia’s tags=comment verified at 28 keyword matches in 3 days when I tested.

Which alerts should I set up first?

Your product name and your own username as F5Bot keywords today. The Algolia cron for your keyword with ntfy pushes when email feels slow. A Magpie watch on your own Show HN thread for the launch day.

Stop renting credits.

One flat price, your machine, your keys.

Download free for Windows, macOS and Linux

Windows · macOS · Linux $49/mo flat, cancel anytime