Hacker News API VS hnterm

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

Hacker News API

Documentation and Samples for the Official HN API (by HackerNews)

hnterm

:page_with_curl: Hacker News in the terminal (by ggerganov)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Hacker News API hnterm
83 12
10,899 164
1.7% -
0.0 0.0
8 months ago over 1 year ago
C++
MIT License 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.

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

hnterm

Posts with mentions or reviews of hnterm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-24.
  • ViHN: Vim for Hacker News
    5 projects | news.ycombinator.com | 24 Feb 2024
    There is HNTerm [1], which also has an online demo [2].

    [1]: https://github.com/ggerganov/hnterm

  • Hacker News in the Terminal
    1 project | news.ycombinator.com | 17 Feb 2023
  • Show HN: Circumflex, browse HN in your terminal
    4 projects | news.ycombinator.com | 13 Oct 2022
    Love this! Bubbletea is a great library for TUIs. I've been a long time user of hnterm (https://github.com/ggerganov/hnterm) which has a nice feature for collapsing comment threads, but doesn't look as nice otherwise.
  • HNTERM – Browse Hacker News interactively in your terminal
    1 project | news.ycombinator.com | 13 Sep 2022
  • presidente dos Estados Unidos mone RONALD REAGAN
    1 project | /r/u_Economy-Scallion4429 | 15 Apr 2022
  • termux
    1 project | /r/u_Economy-Scallion4429 | 15 Apr 2022
    .. Reversing hearing loss with .. 1. Show HN: Pure C 172 points by maxerickson 2 .. Asynchronous HTTP Framewor .. 50 points by adamansky 9 h amplification for a wee .. 2. Show HN: Hacker News reade to get used to things. .. focused on readability Then bring the volume u .. 15 points by hsblhsn 18 ho as time goes by. .. 3. Show HN: GPT-3 powered ( People amy also need to .. Ouija spirit board that get used to the aid's .. moves your mouse noise reduction .. 61 points by baobabKoodaa algorithms as they can .. 4. Show HN: I made a tool to seem unatural at first .. help beginners learn HTML and is a nightmare for .. code from browser anyone who used to wear .. 2 points by rahulbstomar 7 an old analog hearing a .. 5. Show HN: I made a website with no noise reduction .. to search for half loaves So, yeah, hearing aids .. of bread are rarely plug-and-pla .. 196 points by prashantb 2 from day one - the user .. 6. Show HN: OSS Database, A needs time to adjust. .. crowdsourced database of .. Open Source alternatives gedy 1 hours ago [-] .. 53 points by pvsukale3 1 d Yes I have tuned hearing .. 7. Show HN: Come and fight ( aids and unfortunately m .. professional AI in SNHL still struggles wit .. StarCraftII speech perception. .. 2 points by chenvivi 10 ho Status | Story List Mode : 1 | API requests : 170 / 210419 B (next update in 30 s) Last API request : https://hacker-news.firebaseio.com/v0/upda Source code : https://github.com/ggerganov/hnterm Reversing hearing loss with .. 1. Show HN: Pure C 175 points by maxerickson 2 .. Asynchronous HTTP Framewor .. 50 points by adamansky 9 h .. 2. Show HN: Hacker News reade gedy 1 hours ago [-] .. focused on readability Yes I have tuned hearing .. 15 points by hsblhsn 18 ho aids and unfortunately m .. 3. Show HN: GPT-3 powered ( SNHL still struggles wit .. Ouija spirit board that speech perception. .. moves your mouse .. 61 points by baobabKoodaa eurasiantiger 1 hours ago .. 4. Show HN: I made a tool to There are some interestin .. help beginners learn HTML avenues of research for .. code from browser sensorineural hearing los .. 2 points by rahulbstomar 7 such as the non-linearity .. 5. Show HN: I made a website and distortion-inducing .. to search for half loaves effects of some psychedel .. of bread tryptamines such as DiPT. .. 196 points by prashantb 2 Psychedelics tend to .. 6. Show HN: OSS Database, A increase neuroplasticity, .. crowdsourced database of and these could do it .. Open Source alternatives specifically for aural .. 53 points by pvsukale3 1 d processing. .. 7. Show HN: Come and fight ( .. professional AI in tester89 2 hours ago [-] .. StarCraftIIAPI requests : 231 / 316773 B (next update in 8 s) Last API request : https://hacker-news.firebaseio.com/v0/item Source code : https://github.com/ggerganov/hnterm To be clear, this is FX-32 .. 2 points by chenvivi 10 ho
  • TUIs
    33 projects | news.ycombinator.com | 16 Mar 2022
  • Hacker News in the Style of Teletext
    2 projects | news.ycombinator.com | 22 Jul 2021
  • Show HN: Hackernews_tui – A Terminal UI to Browse Hacker News Discussions
    9 projects | news.ycombinator.com | 24 Apr 2021
    https://twitter.com/ggerganov/status/1337719342465748993

    Wow this looks dope. I'll try it out.

    I just realize that you are the author of https://github.com/ggerganov/hnterm. I just came across with it recently while finding some HackerNews apps on GitHub. If I understand correctly, `hnterm` seems to use the official Hacker news API for rendering. I found it quite hard to use compared to the HN Algolia APIs. Do you have any suggestions on how to utilize the official APIs better?

  • Ask HN: Hacker News comment tree indentation on text based web browsers
    4 projects | news.ycombinator.com | 5 Feb 2021
    There's this: https://github.com/ggerganov/hnterm

    Appears to be browse-only though.

What are some alternatives?

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

hnrss - Custom, realtime RSS feeds for Hacker News

hackernews - Hacker News web site source code mirror.

haxor-news - Browse Hacker News like a haxor: A Hacker News command line interface (CLI).

laravel-localization - Easy localization for Laravel

conio-for-linux - Conio.h for linux

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

awesome-hackernews - A curated list of FOSS tools to improve the Hacker News experience.

jfq - JSONata on the command line

hackernews-TUI - A Terminal UI to browse Hacker News

CliFx - Class-first framework for building command-line interfaces