This simple app will calculate power for serveral watts / kg zones based on your current body weight (in lbs).
The original code was hastily thrown together in this codepen.
Given a time period and expected amount of work, this calculator will suggest a feeding strategy.
To see it in action, visit bradmontgomery.net/w-kg/.
This project uses GitHub Actions for automated building and deployment to GitHub Pages.
npm install # Install dependencies
npm run dev # Start development server
npm run test # Run tests
npm run lint # Run linter
npm run build # Build for production (outputs to docs/)The site is automatically deployed to GitHub Pages when changes are merged into the main branch:
- Automated Build: GitHub Actions runs tests, linting, and builds the production version
- Commit Build: The built files in
docs/directory are automatically committed back to the repository - Deploy: The
docs/directory is deployed to GitHub Pages
The workflow is defined in .github/workflows/build-and-deploy.yml and triggers on:
- Direct pushes to
mainbranch - Pull requests merged into
mainbranch
Note: Make sure GitHub Pages is configured to serve from the docs/ directory in your repository settings.
This is freely available under the terms of the MIT license.