layout | title | date | image | links | caption | description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
project |
Worker News |
16 Feb 2022 |
|
|
A drop-in replacement* for Hacker News |
Worker News is a drop-in replacement* for Hacker News with support for dark mode and block quotes.
|
A drop in replacement for Hacker News with support for dark mode, quotes in comments, user identicons and submission favicons.
- Developed against a generic Worker Runtime so that it can run on Cloudflare Workers, Deno Deploy and even the browser's Service Worker.
- Can be installed + offline support: Same code that runs on the edge powers the PWA.
- Everything is stream/async generator-based: API calls, HTML scraping, HTML responses, even JSON stringification and parsing.
- Supports 3 API backends: HTML scraping from news.ycombinator.com, HTTP requests to HN API and HN API via Firebase.
- Built using my own web framework, Worker Tools, which is specifically developed to run across CF Workers, Deno and Service Workers.