This is a Progressive Web App (PWA) that can be installed on your Android device via Brave browser.
PWAs must be served over HTTPS to be installable. Opening the HTML file directly from your phone's storage (file://) won't work.
- Create a free GitHub account at github.com
- Create a new repository (e.g., "vitatrack")
- Upload all files from this zip (index.html, manifest.json, sw.js, icons folder)
- Go to Settings → Pages → Source: "main" branch → Save
- Your app will be at:
https://yourusername.github.io/vitatrack/
- Go to https://app.netlify.com/drop
- Drag and drop the entire
vitatrack-pwafolder - You'll get a URL like
https://random-name.netlify.app - (Optional) Create a free account to keep the site permanently
- Go to https://vercel.com
- Sign up with GitHub
- Import your repository or drag-drop files
- Get a free HTTPS URL
- Go to https://pages.cloudflare.com
- Connect GitHub or upload directly
- Get a free HTTPS URL
Once hosted on HTTPS:
- Open your hosted URL in Brave browser on Android
- Wait a few seconds for the page to load
- You should see an "Install" banner at the top, OR
- Tap the menu (⋮) → "Install app" or "Add to Home screen"
- Confirm the installation
- VitaTrack will appear on your home screen!
- Removed meal type selection (breakfast/lunch/dinner/snack)
- Meals now just record the timestamp when you ate
- Added PWA manifest and service worker for installability
- Added proper icons (192px and 512px)
vitatrack-pwa/
├── index.html # Main app
├── manifest.json # PWA manifest (required)
├── sw.js # Service worker (for offline support)
└── icons/
├── icon-192.png
└── icon-512.png
"Install" option not showing?
- Make sure you're on HTTPS (not http://)
- Clear browser cache and reload
- Wait a few seconds after page loads
- Check if service worker registered (DevTools → Application → Service Workers)
App not working offline?
- The service worker needs to cache files first
- Visit the app once while online, then it should work offline