Skip to content
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.
/ warmup-reps Public archive
forked from nmunson/warmup-reps

Calculate warmup sets, reps and weights for strength training programs like Starting Strength.

Notifications You must be signed in to change notification settings

jfussion/warmup-reps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WarmupReps

This application is a warmup sets and reps calculator for various strength training programs. You choose your working weight for each exercise in the program and the warmup sets and reps are automatically calculated, along with the weights you need to place on the bar. As you use it, it remembers preferences such as bar size, unit system, and the weights for each exercise when you come back for the next workout.

Programs

Programs are defined in JSON and placed in the programs folder. An example program:

{
  "title" : "My Program",
  "exercises" : [{
    "name" : "Squats",
    "max" : 500,
    "workouts" : [{
        "sets" : "2",
        "reps" : "5",
        "multiplier" : 0.5
      }, {
        "sets" : "1",
        "reps" : "5",
        "multiplier" : 1.0
      }
    ]
  }]
}

Each exercise is defined with a name, a max weight, and an array of workouts that include sets, reps, and the multiplier for the working weight. For a more complete example, view starting_strength.json in the programs folder.

Contribute

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit.
  • Send me a pull request.

New programs are welcome in pull requests. Add them to the programs folder, then push them into the programs array after loading it with an Ajax call synchronously. All of the links and pages will be automatically added for the new program, and no other changes are needed.

$.ajax({
    url: 'programs/new_program.json',
    dataType: 'json',
    success: function(data) {
        warmupApp.programs.push(data);
    },
    async: false
});

Copyright

Copyright 2012 Nicholas Munson All rights reserved.

License

GPLv3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see: http://www.gnu.org/licenses/

About

Calculate warmup sets, reps and weights for strength training programs like Starting Strength.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 86.1%
  • JavaScript 11.4%
  • Ruby 2.5%