A Progressive Web App for converting barbell weights into plate combinations.
- Calculate plate combinations for 45lb and 55lb barbells
- Shows total plates and per-side breakdown
- Visual representation with proportionally-sized circles
- Works offline after installation
- Installable on iPhone as a standalone app
- Open
create-icons.htmlin your browser - Download both
icon-192.pngandicon-512.png - Save them in this folder
git init
git add .
git commit -m "Initial commit"- Go to https://github.com/new
- Name your repository (e.g., "weight-converter")
- Don't initialize with README (we already have files)
- Click "Create repository"
Replace YOUR-USERNAME and YOUR-REPO with your actual GitHub username and repository name:
git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPO.git
git branch -M main
git push -u origin main- Go to your repository on GitHub
- Click "Settings" tab
- Click "Pages" in the left sidebar
- Under "Source", select "main" branch
- Click "Save"
- Wait 1-2 minutes for deployment
Your app will be available at:
https://YOUR-USERNAME.github.io/YOUR-REPO/
- Open Safari on your iPhone
- Go to your GitHub Pages URL
- Tap the Share button (square with arrow)
- Scroll down and tap "Add to Home Screen"
- Tap "Add"
- The app icon will appear on your home screen
index.html- Main app filemanifest.json- PWA manifestservice-worker.js- Offline functionalityicon-192.png- App icon (192x192)icon-512.png- App icon (512x512)
To test locally:
python -m http.server 8000Then open http://localhost:8000 in your browser.
After making changes:
git add .
git commit -m "Description of changes"
git pushGitHub Pages will automatically update in 1-2 minutes.