Hacker News API VS Phoenix

Compare Hacker News API vs Phoenix 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
Hacker News API Phoenix
84 111
10,956 20,600
1.1% 0.4%
0.0 9.3
9 months ago 3 days ago
Elixir
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.
  • Testing
    1 project | news.ycombinator.com | 3 May 2024
  • 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.

Phoenix

Posts with mentions or reviews of Phoenix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.
  • Idempotent seeds in Elixir
    2 projects | dev.to | 14 Mar 2024
    A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
  • Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
    4 projects | news.ycombinator.com | 29 Feb 2024
    There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737

    Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...

  • Aplicando MVVM en Phoenix LiveView
    4 projects | dev.to | 1 Feb 2024
    Official website: https://www.phoenixframework.org/
  • Things I like about Gleam's Syntax
    4 projects | news.ycombinator.com | 26 Oct 2023
    Since you mention Rails, have you seen https://www.phoenixframework.org/
  • Building Apps with Tauri and Elixir
    14 projects | dev.to | 19 Oct 2023
    Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
  • Has anybody compared Phoenix Framwork vs. Blazor?
    1 project | /r/Blazor | 11 Oct 2023
    It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
  • Ask HN: Why isn't Phoenix/Elixir more mainstream?
    4 projects | news.ycombinator.com | 29 Sep 2023
    Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html

    You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.

  • Emoji Generator with AI
    2 projects | news.ycombinator.com | 8 Sep 2023
    Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
  • Ask HN: What's the best modern back end?
    1 project | news.ycombinator.com | 28 Aug 2023
    I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading Java is famous for. JAX-RS provides a Sinatra style framework that makes it easy to write JSON API back ends. JDK 21 is just about to come out as a long term supported version and it will be even better.

    I do my side projects in Python with aiohttp and think it is a lot of fun even though people tell me it is suicide (I guess if you block the thread you are in trouble)

    I think "Next.js" really wants a node.js backend which has the big advantage that you can share code with the front end and back end. It's basically single-threaded but I know people who are happy with it.

    The system I'd most like to try is

    https://www.phoenixframework.org/

    which is just great if you want to do stuff with websockets that is more interactive than what most people are doing.

  • Ask HN: Leetcode for Back End and Server Development
    4 projects | news.ycombinator.com | 11 Jul 2023

What are some alternatives?

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

hnrss - Custom, realtime RSS feeds for Hacker News

Django - The Web framework for perfectionists with deadlines.

hackernews - Hacker News web site source code mirror.

sugar - Modular web framework for Elixir

laravel-localization - Easy localization for Laravel

hotwire-rails - Use Hotwire in your Ruby on Rails app

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

kitto - Kitto is a framework for interactive dashboards written in Elixir

hnterm - :page_with_curl: Hacker News in the terminal

trot - An Elixir web micro-framework.

jfq - JSONata on the command line

RIG - Create low-latency, interactive user experiences for stateless microservices.