
Free Exercise Db
Open public-domain exercise dataset in JSON
Replaces Exercisedb, Repdb
Who it's for
A developer building a workout planner or exercise logger can import `dist/exercises.json` directly to seed their app's exercise library, using the structured muscle group and equipment fields to drive filtering and recommendation logic.
The app requires a real-time API with server-side filtering rather than a static dataset.
Someone building a program-design tool for coaches can use the muscle group and equipment metadata to automate push/pull balance checks and equipment-based filtering without manually curating an exercise list.
Researchers building exercise classification models, muscle activation predictors, or workout recommendation systems can use the labelled dataset as training or evaluation data without negotiating data-use agreements.
The project requires video or sensor data rather than text and static images.
A backend team can use `dist/exercises.nd.json` with PostgreSQL's `COPY` command to load the full catalogue into a relational table in one step, then build search and filtering on top of familiar SQL.
The problem
Developers building fitness apps, workout generators, or training tools have no freely usable, structured exercise dataset to build on. Commercial datasets carry licensing restrictions, and ad-hoc collections lack consistent fields, schema validation, or images, forcing every project to assemble and normalise the same data independently.
How it works
Each exercise is a separate JSON document with fields for name, force, level, mechanic, equipment, primaryMuscles, secondaryMuscles, instructions, category, and images. The schema is enforced by a shared `schema.json` and validated with `make lint`.
`dist/exercises.json` bundles every exercise into a single JSON array. `dist/exercises.nd.json` provides the same data in newline-delimited format, enabling direct import into PostgreSQL via `COPY`.
Images are stored under `exercises/<Name>/N.jpg`. Prefixing any relative image path with the repository's raw GitHub URL yields a directly usable link, so applications can reference images without downloading the full dataset.
A Vue.js site deployed to GitHub Pages lets users search and filter the full exercise catalogue without any local setup. The frontend uses imagekit.io for image resizing and is backed by Vitest unit tests and Cypress end-to-end tests.
Released under the Unlicense, the dataset and frontend carry no copyright restrictions. Projects can use, modify, embed, or redistribute the data in commercial or open-source products without attribution requirements.
Features
- 800+ exercises in structured JSON
- Ready-to-consume combined distributions
- Hot-linkable exercise images
- Browsable Vue.js frontend
- Public domain licence
How to install
git clone https://github.com/yuhonas/free-exercise-db.git cd free-exercise-db # Use the combined dataset directly: cat dist/exercises.json # Or load into PostgreSQL: # COPY exercises FROM 'dist/exercises.nd.json' (FORMAT text);
Recommended for this setup
Strengths
- No licence friction: The Unlicense makes this dataset genuinely free for any purpose, including commercial fitness apps and SaaS products, without the attribution or share-alike clauses found in Creative Commons datasets.
- Consistent machine-readable schema: Every exercise file follows the same validated structure. The shared `schema.json` and Makefile lint step mean the data is reliably shaped, reducing the cleaning work typically required before ingesting third-party datasets.
- Multiple consumption paths: The dataset works as individual JSON files for selective use, as a single array for in-memory loading, or as newline-delimited JSON for direct PostgreSQL bulk import, covering the most common ingestion patterns without transformation.
- Active community adoption: With over 2,100 GitHub stars and 528 forks, the project has broad real-world usage, which provides indirect signal about data quality issues and keeps the open-issue and pull-request queues populated with community corrections.
Trade-offs
- Some fields are incomplete: The `force`, `mechanic`, and `equipment` fields are noted in the README as incomplete across a number of exercises. The schema permits `null` for these values, so consumers that depend on them will encounter gaps.
- No API or versioned releases: The project ships as a Git repository, not as a versioned package or hosted API. Applications that need pinned versions or structured update notifications must manage their own snapshotting from the repository.
- Duplicate images present: The README documents approximately 25 duplicate image files across about 22 exercise sets, accounting for roughly 809 KB of redundant data. Projects with strict asset pipelines will need to deduplicate on import.
Tech stack
FAQ
The dataset contains over 800 exercises, each stored as an individual JSON file under the `exercises/` directory.
Yes. The dataset is released under the Unlicense, which places it in the public domain. There are no restrictions on commercial use, redistribution, or modification, and no attribution is required.
Images are stored as relative paths in each exercise's `images` array. To hot-link them, prepend `https://raw.githubusercontent.com/yuhonas/free-exercise-db/main/exercises/` to any relative image path.
`dist/exercises.json` contains every exercise in a single JSON array. For PostgreSQL, `dist/exercises.nd.json` is newline-delimited JSON suited for `COPY` import. Both files are built from the source files using `make` and `jq`.
Not entirely. The `force`, `mechanic`, and `equipment` fields are incomplete for some exercises, and the schema allows `null` for these. The `primaryMuscles`, `instructions`, and `name` fields are consistently populated.