A Progressive Web App for tracking fitness exercises with dates, weights, and notes. Optimized for mobile devices and offline use.
- Open the app in Safari: https://huypham612.github.io/fitnessExerciseTrackingPWA
- Tap the Share button (square with arrow)
- Scroll down and tap "Add to Home Screen"
- Tap "Add" to install the PWA
- The app will appear on your home screen like a native app
Perfect for tracking a routine with the same date:
📅 2024-02-15
├── 1. Bench Press (added first)
├── 2. Squats (added second)
├── 3. Deadlifts (added third)
└── 4. Pull-ups (added last)
📅 2024-01-15
├── 1. Running
└── 2. Push-ups
📅 No Date
└── General exercises
This is a static HTML/CSS/JavaScript app - no build process needed!
# Option 1: Use Python's built-in server
python -m http.server 8000
# Option 2: Use Node.js serve (if you have it installed)
npx serve .
# Option 3: Use any local server or open index.html directlyThe app will be available at http://localhost:8000
-
Push to GitHub:
git add . git commit -m "Initial fitness tracker PWA" git push origin main
-
Enable GitHub Pages:
- Go to your repo: Settings → Pages
- Source: "Deploy from a branch"
- Branch: "main" (or "master")
- Folder: "/ (root)"
- Click "Save"
-
Your app will be live at: https://huypham612.github.io/fitnessExerciseTrackingPWA
# Update version in sw.js to force update
sed -i '' "s/const VERSION = '[^']*'/const VERSION = '1.0.2'/" sw.js
# Push to main branch
git add . && git commit -m "update" && git push
# GitHub Pages auto-deploys
# PWAs auto-update on next visit