hackernews VS Hacker News API

Compare hackernews vs Hacker News API and see what are their differences.

Hacker News API

Documentation and Samples for the Official HN API (by HackerNews)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
hackernews Hacker News API
13 83
605 10,928
- 0.9%
0.0 0.0
about 9 years ago 8 months ago
Arc
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

hackernews

Posts with mentions or reviews of hackernews. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-05.
  • Can anyone tech me how to make a forum like this one
    1 project | news.ycombinator.com | 1 Dec 2023
    this might help a little: https://github.com/wting/hackernews
  • Ask HN: How is it possible to shop on Walmart.com? Everything is out of stock
    1 project | news.ycombinator.com | 23 Jun 2023
    I think it's a ratio of votes to time. I think as little as 4 votes can get something on the homepage if they come in fairly quickly.

    The source code for hn is available if you want to go and look up the specifics. I'm not sure if this is the most up-to-date mirror, but the site doesn't change that often: https://github.com/wting/hackernews

  • Why Lisp Syntax Works
    5 projects | news.ycombinator.com | 5 Jun 2023
    Might not count as modern, but the original Reddit and HackerNews codebases:

    - https://github.com/reddit-archive/reddit1.0

    - https://github.com/wting/hackernews (actually news.arc, based on old hn)

  • Ask HN: Is there an open-source HN forum clone?
    4 projects | news.ycombinator.com | 24 Apr 2023
    There's also this https://github.com/wting/hackernews -- which is a version of the source code to the site from sometime in the past.
  • Whoops: Linux's Strcmp() for the M68k Has Always Been Broken
    2 projects | news.ycombinator.com | 22 Dec 2022
    "Otherwise" was the operative word in my (slightly sarcastic) example. :)

    Avoiding all caps words means you sometimes have to go back and change "FAA" back from "Faa".

    HN's software is no longer open source, but at one time, this is how it processed titles on initial submission: https://github.com/wting/hackernews/blob/master/news.arc#L15...

  • U.S. appeals court rejects big tech's right to regulate online speech
    2 projects | news.ycombinator.com | 17 Sep 2022
    And at any rate, #1 on HN is not the product of any simple rule like "most upvotes per unit time with some decay function applied." There is significant judgment in expressed in the way that stories are ranked. The sourcecode as of 2012 was enough to demonstrate this, but in my understanding yet more judgment has been applied since then.

    https://github.com/wting/hackernews/blob/master/news.arc

  • Ask HN: How does HN manage to be always online?
    3 projects | news.ycombinator.com | 21 Jun 2022
    "ad-hoc filesystem based solution" is the closest of your definitions, I think. Last time I saw/heard, HN was built in Arc, a Lisp dialect, and use(s/d) a variant of this (mirrored) code: https://github.com/wting/hackernews

    Check out around this area of the code to see how simple it is. All just plain files. A database, of sorts, but not in the way you might be expecting: https://github.com/wting/hackernews/blob/master/news.arc#L16...

    There is a modern maintained variant at https://github.com/arclanguage/anarki/tree/master/apps/news as well.

    File syncing between machines is pretty much an easily solved problem. I don't know how they do it, but it could be something like https://syncthing.net/ or even some scripting with `rsync`. Heck, a cronned `tar | gzip | scp` might even be enough for an app whose data isn't exactly mission critical.

  • Ask HN: Why are you programming your hobby projects in a niche language?
    13 projects | news.ycombinator.com | 26 Feb 2022
  • News.Y Combinator.com/S.gif
    2 projects | news.ycombinator.com | 21 Nov 2021
  • Ask HN: How is HN internally structured?
    1 project | news.ycombinator.com | 9 Nov 2021
    The old version in arc, mirrored at https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90..., uses the file system as a database.

    https://github.com/wting/hackernews/blob/5a3296417d23d1ecc90... shows the monotonically increasing number:

      (def new-item-id ()

Hacker News API

Posts with mentions or reviews of Hacker News API. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-06.
  • Hacker News Coze Plugin
    1 project | dev.to | 20 Apr 2024
    I built a plugin that allows Coze bots to make requests to the Hacker News API.
  • Hacker News Rankings. Graphs of HN Posts Rankings
    1 project | news.ycombinator.com | 22 Mar 2024
    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
    1 project | news.ycombinator.com | 9 Mar 2024
    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
    10 projects | news.ycombinator.com | 6 Mar 2024
    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
    2 projects | news.ycombinator.com | 26 Feb 2024
    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
    4 projects | dev.to | 1 Feb 2024
  • Ask HN: How to track subjects in HN like a particular programming language?
    2 projects | news.ycombinator.com | 28 Jan 2024
    You could use the API: https://github.com/HackerNews/API
  • Has Hacker News stopped uploading its dataset in 2022?
    3 projects | news.ycombinator.com | 27 Jan 2024
    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?
    2 projects | news.ycombinator.com | 25 Jan 2024
    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
    4 projects | news.ycombinator.com | 6 Jan 2024
    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

What are some alternatives?

When comparing hackernews and Hacker News API you can also consider the following projects:

anarki - Community-managed fork of the Arc dialect of Lisp; for commit privileges submit a pull request.

hnrss - Custom, realtime RSS feeds for Hacker News

api - A RESTful API package for the Laravel and Lumen frameworks.

laravel-localization - Easy localization for Laravel

nativefier - Make any web page a desktop application

https-everywhere - A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.

ChessPositionRanking - Software suite for ranking chess positions and accurately estimating the number of legal chess positions

hnterm - :page_with_curl: Hacker News in the terminal

awesome-hacker-news - Awesome Hacker News: a collection of awesome Hacker News apps, libraries, resources and shiny things.

jfq - JSONata on the command line

uBlock-issues - This is the community-maintained issue tracker for uBlock Origin

hackernews-TUI - A Terminal UI to browse Hacker News