Open Public Domain Exercise Dataset in JSON format
I'm someone who is quite into their fitness, and have tried using many different fitness apps for building and tracking custom workouts.
Most of the apps l tried had a very small list of in-built exercises, requiring me to add custom ones to their system, or just not track the exercise within the app (defeating the purpose of the app).
My hope is that this repo changes that. l want to create a complete and extensive open dataset of exercises that sits within the public domain, with the idea that eventually all fitness tracking apps can use.
Contributions are wanted, as l know this will be too much to undertake by any one person, so please visit the contributing guidelines
npm run build:json
- creates a JSON file with all exercisesnpm run build:psql
- creates a SQL file for PostgreSQL to load all exercises in
You can use the raw links served by GitHub, example:
$ curl https://raw.githubusercontent.com/wrkout/exercises.json/master/exercises/Barbell_Curl/exercise.json
$ npm run build:json
This builds an exercises.json
file which contains all exercises in a single file.
$ npm run build:psql
$ npm run build:psql -- <table name>
This builds an exercises-psql.sql
file which creates and inserts all exercises into a PostgreSQL database.
- Create a new folder in
/exercises
that is named one number higher than the highest numered folder. - Copy one of the
exercise.json
files from another exercise into the new folder. - Give the new exercise an ID the same as the folder name.
- Fill in the rest of the exercise details.