This repository hosts a simple Progressive Web App (PWA) at the root path. To deploy it so people can install and use it from a browser:
-
GitHub Pages (the quickest way):
- Push your code to the
mainbranch of a repository namedusername.github.io(this repo already qualifies). - Github automatically serves the site at
https://username.github.io/(replaceusernamewithraghav00p). - The service worker (
service-worker.js) andmanifest.jsonare already configured; ensure they are referenced in your HTML so the PWA installs correctly. - You can test locally with a simple HTTP server:
python3 -m http.server 8000 - Once changes are pushed, the updated PWA will be live within minutes.
- Push your code to the
-
Alternative hosts: Any static hosting (Netlify, Vercel, Firebase Hosting, etc.) works—just upload the contents of this repo and point a custom domain if needed.
-
Testing: Open Chrome/Edge devtools → Application tab to inspect the manifest and service worker. Use Lighthouse to audit the PWA installation experience.
-
Offline behavior: The included
service-worker.jsshould cache assets; verify by switching the network to "Offline" in devtools.
shortcut
python3 -m http.server 8000