Hacker News API
hnrss
Our great sponsors
Hacker News API | hnrss | |
---|---|---|
83 | 68 | |
10,899 | 488 | |
1.7% | 0.4% | |
0.0 | 3.5 | |
8 months ago | 2 months ago | |
Go | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hacker News API
-
Hacker News Coze Plugin
I built a plugin that allows Coze bots to make requests to the Hacker News API.
-
Hacker News Rankings. Graphs of HN Posts Rankings
I recognise the huge amounts of effort involved in this and I applaud the moderators for keeping HN an interesting place to be.
That said, I think it's reasonable for us to have visibility on their manual interventions, and this could be easily surfaced via the Hacker News API (https://github.com/HackerNews/API), if the Story JSON included the values of "contro," "bury," and "gag" fields, which are currently opaque to users of the API
See https://medium.com/hacking-and-gonzo/how-hacker-news-ranking... for more discussion on terminology
-
Hacker News Stats: 2007–2022
Google probably stopped updating BigQuery when they started hosting live Hacker News data in Firebase: https://github.com/HackerNews/API
The live nature of the Firebase data is awesome, but the lack of ability to query is a loss.
-
Show HN: Tech Jobs on the Command Line
Nice work! I did something similar with a personal project a few months ago using an open source llm. Also, not sure if you know, there is an api you can use. https://github.com/HackerNews/API
-
Show HN: New Hacker News posts and comments in realtime
Hi HN, I made a live feed for viewing all of the new items on Hacker News in almost-realtime. It is a single, modern HTML file that doesn't use polling.
It works by establishing a websocket connection to the Hacker News Firebase database, to receive updates every time the HN server updates Firebase, which is about once every 30 seconds. This is very efficient, putting no load on HN's server and using minimal bandwidth.
To make the feed continuous despite the delay, it waits to display each item until exactly 30 seconds before displaying it. I think this is a fair tradeoff, it gives you a sense of how active HN is. For comparision, there are something like 6-7 thousand tweets every second.
Official HN Firebase API: https://github.com/HackerNews/API
Source code: https://github.com/jerbear2008/hn-live/blob/main/index.html
- Aplicando MVVM en Phoenix LiveView
-
Ask HN: How to track subjects in HN like a particular programming language?
You could use the API: https://github.com/HackerNews/API
-
Has Hacker News stopped uploading its dataset in 2022?
You can now get Hacker News data in real time from the Hacker News API powered by Firebase: https://github.com/HackerNews/API
This is great (real time!), but also kind of a pain (38+ millions individual http requests to get the whole thing).
Thankfully there's no authentication or apparent rate limiting. I fumbled my way through downloading the whole thing with curl. I screwed up a few times so made over 70 million requests in total.
Toy analysis of the data I downloaded here: https://public.tableau.com/app/profile/isna/viz/HackerNewsDa...
-
Ask HN: How do I find my most popular HN posts?
Get your submissions from this API
https://hacker-news.firebaseio.com/v0/user/ohjeez.json?print...
and then scan the "submitted" articles as described here
https://github.com/HackerNews/API
I have a crawler that sucks down all the posts from HN and then I read it into Pandas and write all sorts of queries. The boggle I have now is that I want to use the same system to (1) make sure YOShInOn never submits duplicate articles, and (2) have accurate vote and comment scores. (1) requires picking up articles as soon as possible, (2) requires waiting two weeks or so until the scores have settled down to what they are going to be. I guess I gotta come back and rescan things in 2 weeks so I have the right scores.
-
Show HN: Hacker News User Information on Hover
From looking at the Hacker News API, you might be able to use that instead of scraping from the DOM: https://github.com/HackerNews/API#users
hnrss
-
Ask HN: Have you reduced technical knowledge contributions?
That’s interesting.
I have predictive models that can predict if a headline (w/o the rest of the article and not considering the URL) will (a) get more than 10 votes and (b) if it does get more than 10 votes will the votes/comments ratio be more than 2 (which is roughly average)
The first model gets a ROC-AUC (see https://scikit-learn.org/stable/modules/generated/sklearn.me...) in the low 60’s (not good, the second model gets in the low 70’s (actually pretty good though it is a heat seeking missile for clickbait headlines) and my latest content-based recommender for RSS items gets almost 80. (I saw a paper that one system at TikTok gets about 85)
To do all that you need about 10,000 headlines and don’t get a lot of benefit from having more than 100,000. The ceilings on performance have more to do with the nature of the problem rather than my models: the same article can get submitted twice and get 0 votes one time and 200 the other time so it can never be as accurate as “is this an article about galactic astronomy?”
I had it ingest the HN comments firehose and found the amount of articles was overwhelming, my YOShInOn RSS reader now ingests the “best comments” from
https://hnrss.github.io/
together with 110 other feeds and actually I like the comments it picks out a lot. Now that the system is adding about 3000 items per day it might be able to handle a big feed like the comments firehose since now those comments are diluted with so many quality articles. For a problem like that you might want a two-score system with: (i) is it relevant? (something I like) and (ii) is it popular? (like Google’s PageRank)
I think you could make a model that compares comments in the best comments feed with other comments. I have tried formulating the problems above as regression problems where I try to predict the actual score and it does not work well because of the uncertainty problem but formulated as a classification problem for a score over a threshold it is easy to make a well-calibrated model that tells you “this article has a 20% chance of frontpaging” which is about the best anyone can do.
-
Ask HN: How can I get rid of addiction to HN?
Subscribe via rss, so you can scratch the curiosity itch and each the FOMO, without coming to the site all the time and looking over the same things 20 times?
https://hnrss.github.io/
- Show HN: Hacker News Outliers
-
Ask HN: Is There an HN Reader and Filter?
https://news.ycombinator.com/item?id=9491978
and this https://hnrss.github.io/
ps i’m ok with some % of false positives, but hopefully a sprinkle of OpenAI could keep that magically low?
thanks
- Orange Site Hit
-
RSS can be used to distribute all sorts of information
It sounds interesting but I use https://hnrss.github.io/
Unless it had most of the features of hnrss.org I would not be able to use it.
Perhaps you could pivot your approach and submit a PR to hnrss for the feature?
- Ask HN: Who is hiring? (October 2023)
-
Tell HN: There is a new highlights page on HN
Looks like there's an unmerged PR on the third-party hnrss project that would add this: https://github.com/hnrss/hnrss/pull/84
-
Why your blog still needs RSS
Check out below link to get a more customized, topic wise rss feeds.
https://hnrss.github.io/
- Ask HN: Is there a way to “filter” the posts on HN
What are some alternatives?
hackernews - Hacker News web site source code mirror.
rss-proxy - RSS-proxy allows you to do create an RSS or ATOM feed of almost any website, just by analyzing just the static HTML structure.
laravel-localization - Easy localization for Laravel
newsboat - An RSS/Atom feed reader for text terminals
https-everywhere - A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.
hackernews-TUI - A Terminal UI to browse Hacker News
hnterm - :page_with_curl: Hacker News in the terminal
fraidycat - Follow blogs, wikis, YouTube channels, as well as accounts on Twitter, Instagram, etc. from a single page.
jfq - JSONata on the command line
ALL-about-RSS - A list of RSS related stuff: tools, services, communities and tutorials, etc.
NetNewsWire - RSS reader for macOS and iOS.