Home

Awesome

Hacker News Realified

HN Realified is a basic Chrome (others soon?) extension that auto-updates select Hacker News pages. The code makes use of HN's Firebase-based API.

<div align="center"> <a href="https://gfycat.com/TanWetGoosefish"> <img src="https://fat.gfycat.com/OrderlyOffbeatChuckwalla.gif"> </a> </div>

Installation

Google Web Store:

[] (https://chrome.google.com/webstore/detail/egimmhannkdglaafhglalfpfddkfhffk)

Known Caveats

HN servers and Firebase snapshots are not always synchronized in real-time. This goes both ways: (1) HN servers return stale content when Firebase already detected updates in the data, and (2) Firebase update broadcasts are delayed when HN servers are returning fresh data.

Since this extension uses Firebase to subscribe for updates only and fetch HN servers for the new HTML content, the page is not always updated in real-time because of the two issues above.

Development

# Clone the project and cd into it.
$ npm install
$ npm run build:chrome

Contributing

If the project gains enough traction, below are some nice to have features I have in mind. Feel free to implement any and submit a PR.