Hacker News API
hacker-news-undocumented
Hacker News API | hacker-news-undocumented | |
---|---|---|
84 | 91 | |
10,956 | 3,557 | |
1.1% | - | |
0.0 | 6.4 | |
9 months ago | 3 months ago | |
MIT License | 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
- Testing
-
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.
hacker-news-undocumented
-
Got a spare Pi 1/2/3? Try RISC OS Open 5.30 It is, literally, something else
If you hover over the timestamp it points back to May 2nd as well.
This is probably from the Second Chance pool.
https://github.com/minimaxir/hacker-news-undocumented?tab=re...
-
Speeding up Docker Builds With eatmydata
Post with text insted of an URL get a penalty, so it's more difficult that they reach the front page (unofficial faq with more details https://github.com/minimaxir/hacker-news-undocumented?tab=re... )
My suggestion is to repost the link in a new submission (URL only, empty text), and add your explanation as as a comment.
-
Clarity on how posts are hidden or marked as dead
> it's hard to engage without understanding the rules.
On the other hand, if you fully understand them it’s easier for spammers to circumvent them and changes would have to be done way slower (because they’d have to be documented every time).
You’ll sometimes find posts by dang explaining various policies, and there are some sources which try to document the undocumented:
https://github.com/minimaxir/hacker-news-undocumented?tab=re...
It is my understanding some websites (like dev.to) are automatically killed due to a prevalence of low quality posts. But users with showed enabled can still see those and vouch for them, which brings them back alive. Posts may also be flagged by users for a variety of reasons such as the subject having been posted and discussed multiple times in the last few days, essentially making the new post a duplicate.
-
Boeing whistleblower found dead in US
Hacker News is extremely strongly manipulated. What users see as popularity order is actually the order edited to the moderators' liking.
https://github.com/minimaxir/hacker-news-undocumented#behavi...
-
YC's Latest Request for Startups
https://news.ycombinator.com/chinamod
Are there more?
[0]https://github.com/minimaxir/hacker-news-undocumented
[1]https://news.ycombinator.com/lists
[?]https://www.google.com/search?q=site%3Anews.ycombinator.com+...
-
Stories removed from the Hacker News Front Page, updated in real time
>30 karma, same as flagging: https://github.com/minimaxir/hacker-news-undocumented?tab=re...
-
Hacker News Second-Chance Pool
More things in the unofficial feature list maintained by minimaxir https://github.com/minimaxir/hacker-news-undocumented
- A List of Hacker News's Undocumented Features and Behaviors
-
Teaching vi to secretaries brought LLMs to humanity
Post with an URL in the text are penalized and it is harder for them to reach the front page. https://github.com/minimaxir/hacker-news-undocumented/blob/m...
-
Game-icons.net: Free icons for your games
Not me, because I can't yet, but I can shed some light.
That comment brings nothing to the table. An upvote would have given the same meaning. This is not reddit, and some of us would prefer it to remain different. Low effort comments tend to be downvoted, and interesting ones upvoted.
So uplift your comments, say why you are thankful, what will be your use case, where you wouldn't use the OPs icons, ... give some information, not just noise.
Here [0] is some more information about downvotes.
[0] https://github.com/minimaxir/hacker-news-undocumented#downvo...
What are some alternatives?
hnrss - Custom, realtime RSS feeds for Hacker News
saidit - The reddit open source fork powering SaidIt
hackernews - Hacker News web site source code mirror.
programming-idioms - A collection of good snippets, in a lot of languages
laravel-localization - Easy localization for Laravel
hacker-news-to-sqlite - Create a SQLite database containing data pulled from Hacker News
https-everywhere - A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.
Glider - Glider is an opinionated Hacker News client. Ad-free, open-source, no-nonsense.
hnterm - :page_with_curl: Hacker News in the terminal
waybackpack - Download the entire Wayback Machine archive for a given URL.
jfq - JSONata on the command line
efficientdemocracy