This turns the app into a real installable PWA: a proper home-screen icon, a splash-style launch, and offline support after the first load — at zero ongoing cost.
index.html— the app itselfmanifest.json— tells the phone this is an installable app (name, icon, colors)service-worker.js— caches the app so it works without internet after first loadicons/— app icons
No customer data lives in any of these files — all the data your mother enters stays only in her phone's browser storage. So even though the GitHub Pages URL is technically public, there's nothing private in the code itself.
-
Go to https://github.com/new and create a new repository.
- Name it anything, e.g.
rd-collection-tracker - Keep it Public (Pages on a free GitHub account requires a public repo)
- Don't add a README — keep it empty for now
- Name it anything, e.g.
-
On your computer, in this folder, run:
git init git add . git commit -m "RD collection tracker PWA" git branch -M main git remote add origin https://github.com/YOUR_USERNAME/rd-collection-tracker.git git push -u origin main
-
On GitHub, open the repo → Settings → Pages.
- Under "Build and deployment", set Source to "Deploy from a branch"
- Branch:
main, folder:/ (root) - Save
-
Wait about a minute, then refresh that Pages settings page — it'll show your live URL, something like:
https://YOUR_USERNAME.github.io/rd-collection-tracker/
- Open that URL in Chrome on her phone.
- Chrome should show an "Install app" / "Add to Home screen" prompt automatically (since it's now a real PWA). If it doesn't pop up, tap the ⋮ menu → Add to Home screen / Install app.
- It'll appear on her home screen with the RD icon, opens full-screen (no browser bar), and keeps working even with patchy internet.
If you change index.html in the future:
- Open
service-worker.jsand bump the version, e.g. changerd-collect-v1tord-collect-v2. - Commit and push again.
- Phones will pick up the new version next time they're online — old cached version keeps working in the meantime, so nothing breaks.
Hosting doesn't change this: all her collection data lives only in that phone's local storage. Keep using More → Backup data regularly and save that file somewhere safe (WhatsApp to yourself, Google Drive, etc.).