hnrss.org provides custom, realtime RSS feeds for Hacker News.
The following feeds are available:
Each feed is valid RSS served over HTTPS.
The “firehose” feeds contain all new posts and comments as they appear on Hacker News:
For just the posts that have appeared on the front page:
If the firehose feeds are a bit too noisy for you, read below on
filtering them with the
You can get a feed of new posts and/or comments containing keywords by
q=KEYWORD parameter. For example:
If you want a single search feed but multiple keywords, separate the keywords with “ OR “:
Ask HN, Show HN, and polls are available:
https://hnrss.org/ask https://hnrss.org/show https://hnrss.org/polls
Job opportunities from YC funded startups:
Top level comments in threads created by the whoishiring bot:
# Comments from "Who is hiring?" threads https://hnrss.org/whoishiring/jobs # Comments from "Who wants to be hired?" threads https://hnrss.org/whoishiring/hired # Comments from "Freelancer? Seeking freelancer?" threads https://hnrss.org/whoishiring/freelance # All of the above https://hnrss.org/whoishiring
If you don’t want to miss a post or comment by a given user, you can subscribe to that user’s feed:
https://hnrss.org/submitted?id=USERNAME # posts https://hnrss.org/threads?id=USERNAME # comments https://hnrss.org/user?id=USERNAME # everything
A feed of new comments on a particular post can be found at:
THREAD_ID the numerical ID found in the URL when viewing the
You can modify any feed’s output using URL parameters. Multiple parameters can be applied at the same time by joining them with an ampersand.
You can apply a
comments=N parameter to any feed to
filter the results so only entries with more than N points or comments
You can also combine both parameters:
/newcomments does not work with a
By default, searches on posts only look at titles. If you want to
search against the submitted URLs themselves, use the
Here are some examples:
By default, the RSS
<link> element points to the submitted article’s
<link> element can be changed to point to the Hacker News
comment page by appending
link=comments to the end of the URL. For
You can disable the
<description> element entirely by passing the
By default, feeds return 20 RSS items. This can be increased via the
There is a hardcoded limit of 100 entries, so keep that in mind.
While running hnrss is by no means “breaking the bank,” every little bit helps for when the monthly hosting bill or domain registration renewal comes due. So if the project has made your job or hobby project easier and you want to show some gratitude, donations are very much appreciated. Thanks!
hnrss.org uses Algolia to query Hacker News and generate the feeds. The code is a Flask app. It runs on nginx with Varnish providing a cache layer and Let’s Encrypt providing HTTPS.
This documentation is built with Hugo, rendered using the Go font family, and hosted on Github Pages.
The source of the app and the documentation are hosted on Github.