fern-java
Hacker News API
fern-java | Hacker News API | |
---|---|---|
2 | 89 | |
10 | 11,061 | |
- | 1.2% | |
10.0 | 3.6 | |
4 months ago | 5 days ago | |
Java | ||
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.
fern-java
-
RFC: Hacker News – OpenAPI Specification for the REST API
If you want to generate a Java client for testing, you can use Fern to generate one: https://github.com/fern-api/fern-java
disclaimer: I'm a maintainer of Fern.
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
You can recommend it in what context, from openapi (as they claim https://github.com/fern-api/fern#starting-from-openapi ) or from their ... special ... definition schema?
For those wanting less talk, moar code: https://github.com/fern-api/fern-java/blob/0.4.2-rc3/example... -> https://github.com/fern-api/fern-java/blob/0.4.2-rc3/example...
Hacker News API
- Fewfe
-
HN-text: an easy-to-use, text-first Hacker News terminal client
fwiw, the API (described here https://github.com/HackerNews/API) will just give you json, eg https://hacker-news.firebaseio.com/v0/item/40564831.json?pri...
-
Show HN: Ask Hacker Search – Find out what HN thinks about any topic
Hey! This leverages the official HN API (https://github.com/HackerNews/API), no scraping involved. I don't think it's my place to opine on "who owns the posts".
- Hacker News/API: Documentation and Samples for the Official HN 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
What are some alternatives?
ts-websocket-compressor - This library compresses data sent over a WebSocket connection to improve throughput on devices that can't use compression for one reason or another.
hnrss - Custom, realtime RSS feeds for Hacker News
typed-graphql-builder - A fully type-safe graphql query builder, inspired by tql
hackernews - Hacker News web site source code mirror.
ts-simple-type - Relationship type checker functions for Typescript types.
laravel-localization - Easy localization for Laravel
stytch-t3-example - An example app demonstrating how to use Stytch within the T3 stack
https-everywhere - A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.
telefunc - Remote Functions. Instead of API.
hnterm - :page_with_curl: Hacker News in the terminal
wundergraph - WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.
hn-search - Hacker News Search