Skip to content

jerbear2008/hn-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Hacker News Live Feed

This is a live feed for viewing all of the new items on Hacker News in almost-realtime. It is a single, modern HTML file.

Screenshot of the live feed

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.

About

https://jerbear2008.github.io/hn-live - Live feed of Hacker News posts and comments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages