hn-search VS Hacker News API

Compare hn-search vs Hacker News API and see what are their differences.

Hacker News API

Documentation and Samples for the Official HN API (by HackerNews)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
hn-search Hacker News API
1,619 83
524 10,928
1.5% 2.0%
2.9 0.0
6 months ago 8 months ago
TypeScript
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.

hn-search

Posts with mentions or reviews of hn-search. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.
  • Gary Killdall, creator of CP/M, wrote Pixar's original 3D renderer [pdf]
    1 project | news.ycombinator.com | 27 Apr 2024
    The submitted title was "Gary Killdall, creator of CP/M, wrote Pixar's original 3D renderer".

    Submitters: If you want to say what you think is important about an article, that's fine, but do it by adding a comment to the thread. Then your view will be on a level playing field with everyone else's: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

    (From https://news.ycombinator.com/newsguidelines.html: "Please use the original title, unless it is misleading or linkbait; don't editorialize.")

  • Nearsightedness is at epidemic levels – and the problem begins in childhood
    1 project | news.ycombinator.com | 24 Apr 2024
    Vision therapy for myopia helps some people, but not everyone, likely due to genetic and neuroplasticity differences, https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu.... Nevertheless, many of the principles are useful for children whose eyes and brains are still developing.
  • Tesla driver arrested for homicide after running over motorcyclist on Autopilot
    1 project | news.ycombinator.com | 24 Apr 2024
    I'm a huge Tesla skeptic, but Tesla and Musk are lightning rods for tabloid-style garbage that doesn't belong on HN, so it doesn't surprise me that we often see negative Tesla content flagged to death. Meanwhile we also see plenty of content that hits the front page and stays there [0].

    Do you have examples of professional, interesting Tesla content that got flagged?

    [0] More than half of the past year's most popular Tesla articles were negative: https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=tru...

  • The Man Who Killed Google Search
    3 projects | news.ycombinator.com | 23 Apr 2024
    It's April 23rd, 2024, and I am still looking for a good, reliable, honest and simple search engine.

    All I want to do is search.

    No AI.

    No ads.

    No shopping.

    Please don't "Answer my question." I enjoy doing my own original research, thanks.

    I'm entirely willing - wanting even - to pay for it.

    Currently Kagi has my $, but I'm saddened and frustrated that they're not even focused on Search, they're focused on AI[1] and t-shirts.

    Amazingly, in 2024, there is still a market opportunity for a good search engine.

    It can't really just be me, can it?

    [1]: https://hn.algolia.com/?query=%22kagi%22+%22ai%22

  • Ask HN: Is Hacker News under attack from spam bots?
    1 project | news.ycombinator.com | 22 Apr 2024
    https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

    For historical purposes

  • Tesla Recalls All Cybertrucks for Faulty Accelerator Pedals
    1 project | news.ycombinator.com | 21 Apr 2024
    Most likely because there have been oodles of low-quality stories on these topics. We turned the flags off on this one since it maybe rises above the noise (see https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so... for past explanations on how we approach that).
  • Show HN: What Are You Working On?
    6 projects | news.ycombinator.com | 21 Apr 2024
    Hey HN,

    I'm sure you've seen the monthly "Ask HN: What Are You Working On?" headlines on [Hacker News](https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...).

    Honestly, it's my favorite topic because it's packed with insights about what other hackers are up to.

    I wondered what it would be like if instead of just a headline, there was a whole website where hackers could post daily updates, and where we could follow the hackers we're interested in for their latest updates. And so, this web site was born.

    I hope it gets used frequently so we can all benefit from it together. I look forward to hearing your thoughts.

    Let me know what you think!

  • Not Apply to YC
    1 project | news.ycombinator.com | 20 Apr 2024
    I don't know what one thing you're referring to, but it's a core principle of HN to try to avoid repetition, and especially the repetition+indignation combo, which is the commonest and most tedious thing on the internet.

    https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

  • Nand to Tetris: Building a Modern Computer System from First Principles
    1 project | news.ycombinator.com | 19 Apr 2024
    Happy 10,000 day to you

    https://news.ycombinator.com/from?site=nand2tetris.org

    https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

    https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

  • Moxie: I'm no longer involved at Signal
    1 project | news.ycombinator.com | 19 Apr 2024
    not sure. I searched comments: https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=fal...

    Most recent are more culture wars stuff but some earlier ones appear to suggesting a degree of alignment with the USA government.

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 hn-search and Hacker News API you can also consider the following projects:

duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>

hnrss - Custom, realtime RSS feeds for Hacker News

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

hackernews - Hacker News web site source code mirror.

parser - 📜 Extract meaningful content from the chaos of a web page

laravel-localization - Easy localization for Laravel

readability - A standalone version of the readability lib

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

yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents

hnterm - :page_with_curl: Hacker News in the terminal

milkdown - 🍼 Plugin driven WYSIWYG markdown editor framework.

jfq - JSONata on the command line