A progressive Hacker News client built with Angular
This app uses Workbox to generate a service worker as part of the build step to load quickly and work offline.
With Chromium based browsers for Android (Chrome, Opera, etc...), Angular 2 HN includes a Web App Manifest that allows you to install to your homescreen.
Built in theme engine!
- Black (AMOLED)
More to come!
Areas of improvement
- Realtime updating using the Firebase SDK (may need to add option to settings so service worker can still rely on REST endpoints)
- Server side rendering
Note: This project has been ejected (with AOT + production settings) in order to customize Webpack configurations.
- Clone or download the repo
npm startto run the application with webpack-dev-server or
npm buildto kick off a fresh build and update the output directory (
Note: Any Service Worker changes will not be reflected when you run the application locally in development. To test service worker changes:
npm run precacheto generate the service worker file
npm run static-serveto load the application along with the service worker asset using live-server
A million thanks to some awesome people :)