reqwest-eventsource
hackernews_graphql
reqwest-eventsource | hackernews_graphql | |
---|---|---|
2 | 4 | |
39 | 21 | |
- | - | |
4.3 | 0.0 | |
about 2 months ago | almost 3 years ago | |
Rust | TypeScript | |
- | 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.
reqwest-eventsource
- Hey Rustaceans! Got a question? Ask here (1/2023)!
-
Hacker News Official API
I'm currently writing a HN post score tracker (basically it plots score variations over time since they were in new for each popular post) and it's really convenient that you can just subscribe with eventsource [0] and get realtime update when something changes without having to manually poll each post wasting resources. Not yet sure about the latency though.
[0] https://github.com/jpopesculian/reqwest-eventsource/
hackernews_graphql
-
Reddit CEO Lashes Out
I built a GraphQL API to cache the responses and dataload them like 2 years ago on top of HN API so it can give nicer responses and don't hit the endpoint as much. Can load entire HN thread in one request.
https://github.com/searchableguy/hackernews_graphql
It is still incomplete though because I remember you said I could not scrape the site beyond robot.txt limits which wouod be too less for the use case because I wanted to provide write functionality so I gave up.
- Hacker News Official API
-
‘Reverse Engineering’ Hacker News into an API
I tried creating a Graphql API for HN for both read and write so I could eventually use it to write a HN client app but I hit a wall due to HN scraping policy. It limits you to fetching a page once every 30 second.
https://github.com/searchableguy/hackernews_graphql
What are some alternatives?
cargo-post - A `cargo` wrapper that executes a post build script after a successful build.
Hacker News API - Documentation and Samples for the Official HN API
Hackers - Hackers is an elegant iOS app for reading Hacker News written in Swift.
wundergraph - WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.
hacker-news-comments
classi-cine - A filename based interactive video tagging tool.