Code Monkey home page Code Monkey logo

exercises.json's Introduction

Exercises

Open Public Domain Exercise Dataset in JSON format

Motivation

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

Scripts

  1. npm run build:json - creates a JSON file with all exercises
  2. npm run build:psql - creates a SQL file for PostgreSQL to load all exercises in

Public JSON API Service

You can use the raw links served by GitHub, example:

$ curl https://raw.githubusercontent.com/wrkout/exercises.json/master/exercises/Barbell_Curl/exercise.json

Generate exercises.json

$ npm run build:json

This builds an exercises.json file which contains all exercises in a single file.

Generate exercises-psql.sql

$ 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.

Maintainers

@olliejennings

exercises.json's People

Contributors

olliejennings avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.