simbody
High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.
- 2.6k
- C++
- Apache-2.0
- 3 d ago
Exercise catalog, media and multilingual instructions for SparkyFitness
Repo CodeWithCJ/SparkyFitnessExerciseLibrary, read from GitHub 4 h ago. CodeWithCJ has not joined Take My Repo.
CodeWithCJ/SparkyFitnessExerciseLibrary is a public repo on GitHub by CodeWithCJ. Exercise catalog, media and multilingual instructions for SparkyFitness. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is written mainly in JavaScript, has 3 stars and last changed on 2026-11-23. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Exercise catalog, media assets, and multilingual instruction database for the SparkyFitness ecosystem.
Contains 1,908 canonical exercises with comprehensive biomechanical metadata, equipment taxonomy, muscle engagement targets, and localized instructions across 9 languages.
Search and filter every exercise by muscle, equipment, level and more, play its video and read its steps in 9 languages: https://codewithcj.github.io/SparkyFitnessExerciseLibrary/. Every exercise has a Suggest an edit button, and the Contribute page builds a new exercise for you. To run the site locally, run pnpm install in docs/, then pnpm docs:dev from the repository root.
Demonstrations generated with the SparkyFitness character and gym. Muscle highlights: red/orange for primary, yellow for secondary, blue for stabilizers. Click a preview to open the full MP4.
![]() Ab Wheel Rollout 9:16 MP4 ยท 16:9 MP4 |
![]() Band Squat MP4 |
exercises/<id>_<slug>/ โ One folder per exercise (for example sf-core-oth-0002_ab_wheel_rollout) containing exercise.json and its media (.mp4, .webp).locales/<lang>/exercises.json โ Translation dictionaries synced with Weblate (en, es, fr, it, tr, zh, hi, pl, ko).taxonomy/ โ Standard muscle (muscles.json), equipment (equipment.json), and modality (modalities.json) lists, plus the catalog ID codes (catalog-codes.json).schema/ โ JSON schema validation rules (exercise.schema.json).dist/exercises.json โ Consolidated catalog (1,908 exercises) compiled by the build script and rebuilt automatically after every merge.Use pnpm exercises to inspect and search the catalog from your terminal:
# 1. Quick overview (lists first 25 exercises) pnpm exercises # 2. Search by name, keyword, or alias pnpm exercises "bench press" pnpm exercises "squat" pnpm exercises "deadlift" # 3. Filter by muscle group pnpm exercises --muscle chest pnpm exercises --muscle biceps pnpm exercises --muscle quadriceps # 4. Filter by equipment pnpm exercises --equipment dumbbell pnpm exercises --equipment kettlebells pnpm exercises --equipment cable # 5. Show catalog statistics & breakdowns pnpm exercises --stats # 6. List all 1,908 exercises without pagination pnpm exercises --all
The Ab Wheel Rollout from the sample videos above:
exercises/sf-core-oth-0002_ab_wheel_rollout/
โโโ exercise.json
โโโ sf-core-oth-0002_ab_wheel_rollout_m_9_16.mp4 # vertical video
โโโ sf-core-oth-0002_ab_wheel_rollout_m_9_16.webp # vertical animated preview
โโโ sf-core-oth-0002_ab_wheel_rollout_m_16_9.mp4 # horizontal video
โโโ sf-core-oth-0002_ab_wheel_rollout_m_16_9.webp # horizontal animated preview
โโโ sf-core-oth-0002_ab_wheel_rollout_m_thumb.webp # static card thumbnail
exercise.json:
{
"$schema": "../../schema/exercise.schema.json",
"id": "sf-core-oth-0002",
"slug": "ab_wheel_rollout",
"name": "Ab Wheel Rollout",
"aliases": [
"Wheel Rollerout",
"Ab Roller Rollout",
"Kneeling Ab Wheel Rollout"
],
"taxonomy": {
"modality": "weight_reps",
"category": "waist",
"body_part": "waist",
"mechanic": "isolation",
"force": null,
"level": "intermediate",
"equipment": "other",
"primary_muscles": [
"abdominals"
],
"secondary_muscles": [
"lower back"
]
},
"biomechanics": {
"laterality": "bilateral",
"movement_plane": "sagittal",
"default_tempo": "2-0-2-0",
"demonstration_reps": 2
},
"steps": [
"Kneel on the floor and place the wheel roller in front of you.",
"Place your hands on the handles of the wheel roller and extend your arms straight out in front of you.",
"Engage your core muscles and slowly roll the wheel forward, keeping your back straight and your abs tight.",
"Continue rolling forward until your body is fully extended and your arms are overhead.",
"Pause for a moment, then slowly roll the wheel back towards your knees, maintaining control and keeping your abs engaged.",
"Repeat for the desired number of repetitions."
],
"coaching_cues": [
"Do not let your lower back sag or hyperextend at full extension",
"Keep tension in your glutes and core throughout the entire range of motion",
"Pull back using your abdominals and lats, not by sitting back onto your heels"
],
"media": {
"thumbnail_timestamp": 3
}
}The media block is optional; here it only picks the thumbnail frame (thumbnail_timestamp, in seconds). The build finds the media files by their names and writes this into dist/exercises.json:
"media": { "video_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.mp4", "video_vertical_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.mp4", "video_horizontal_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_16_9.mp4", "animation_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.webp", "animation_vertical_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.webp", "animation_horizontal_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_16_9.webp", "thumbnail_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_thumb.webp", "image_path": null, "male": { "video_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.mp4", "video_vertical_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.mp4", "video_horizontal_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_16_9.mp4", "animation_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.webp", "animation_vertical_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_9_16.webp", "animation_horizontal_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_16_9.webp", "thumbnail_path": "exercises/sf-core-oth-0002_ab_wheel_rollout/sf-core-oth-0002_ab_wheel_rollout_m_thumb.webp", "image_path": null } }
The flat keys are the default set (male, or female when that is all there is). male and female list each model's own files and are only present when that model has media.
Media files are auto-discovered by filename convention inside each exercise folder:
| Asset Type | File Naming Convention | Description |
|---|---|---|
| Vertical Video (9:16) | <folder>_<m|f>_9_16.mp4 |
720ร1280 portrait loop (ideal for mobile full-screen / tutorial) |
| Horizontal Video (16:9) | <folder>_<m|f>_16_9.mp4 |
1280ร720 widescreen (ideal for web, desktop & compact logger) |
| Animated Preview | <folder>_<m|f>_9_16.webp / <folder>_<m|f>_16_9.webp |
Looping preview of the video with the same name (~160โ460 KB) |
| Thumbnail Image | <folder>_<m|f>_thumb.webp (or .jpg, .png) |
Card thumbnail image (~15โ40 KB) |
<folder> is the exercise's folder name, for example sf-core-oth-0002_ab_wheel_rollout. m or f says whether the male or the female SparkyFitness model demonstrates the exercise. Every file in an exercise folder must follow this pattern; pnpm validate rejects other names.
libx264)-an) for smooth seamless looping+faststartpnpm media writes the exercise ID, name, model and license into each MP4's title, comment and copyright tags, so a video can still be identified if it is renamed or copied out of its folderBesides our own files, an exercise can link one YouTube video in its media block. The link is a single address that carries the whole clip, so nothing else has to be kept in sync:
"media": { "youtube_url": "https://youtu.be/dQw4w9WgXcQ?t=62&end=121" }
t is where the exercise starts and end is where it stops, in seconds, so this plays 1:02 to 2:01 of a longer video. A plain browser only honours the start; the browse site and the apps read both. Only link videos you have the right to link, and the owner must allow embedding. The exercise generator builds the link from a pasted address and start and end times. In dist/exercises.json the link is published as media.youtube_url, with its parts in media.youtube (id, start, end).
Whenever you add or update raw video files, run the automated media optimizer:
# 1. Automatically compress oversized videos, strip audio, and generate missing .webp previews pnpm media # 2. Extract 4 candidate thumbnail frames across the rep cycle to pick the best action frame pnpm media candidates sf-core-oth-0002 # 3. Force re-encoding of all media pnpm media force-all
(To choose the thumbnail frame yourself, add "media": { "thumbnail_timestamp": 3.0 } to exercise.json. It is the only thing the media block can hold. It applies when the thumbnail is created, so to change an existing thumbnail, delete <folder>_<m|f>_thumb.webp and run pnpm media again.)
exercise.json enforces canonical taxonomy values matching the SparkyFitness ecosystem:
taxonomy.modality):weight_reps ยท bodyweight_reps ยท reps_only ยท weight_duration ยท weight_distance ยท duration ยท duration_distancetaxonomy.equipment):barbell ยท dumbbell ยท kettlebells ยท cable ยท machine ยท bands ยท body only ยท medicine ball ยท exercise ball ยท foam roll ยท e-z curl bar ยท otherprimary_muscles / secondary_muscles):abdominals ยท abductors ยท adductors ยท biceps ยท calves ยท chest ยท forearms ยท glutes ยท hamstrings ยท lats ยท lower back ยท middle back ยท neck ยท quadriceps ยท shoulders ยท traps ยท tricepsmechanic: compound ยท isolation (or empty)force: push ยท pull ยท static (or empty)level: beginner ยท intermediate ยท expert(See the taxonomy/ folder for complete schema definitions).
Easiest way: use the exercise generator. It builds exercise.json, works out the ID, folder and media file names, checks them with the same rules as pnpm validate, and opens the file on GitHub so you can send it as a pull request without installing anything.
Or follow these step-by-step instructions to add a new exercise by hand:
Every exercise gets a catalog ID of the form sf-<body>-<equip>-<number>, all lowercase, for example sf-arms-db-0007.
Body code: the first primary muscle decides it (taxonomy.category cardio is always card).
| Code | Muscles |
|---|---|
chest |
chest |
back |
lats, middle back, lower back, traps |
shld |
shoulders, neck |
arms |
biceps, triceps, forearms |
legs |
quadriceps, hamstrings, glutes, calves, abductors, adductors |
core |
abdominals |
card |
cardio / conditioning |
Equipment code: taken from taxonomy.equipment.
| Code | Equipment | Code | Equipment |
|---|---|---|---|
bb |
barbell | bnd |
bands |
db |
dumbbell | bal |
medicine ball, exercise ball |
kb |
kettlebells | ez |
e-z curl bar |
bw |
body only | cbl |
cable |
mch |
machine | oth |
other, foam roll |
Number: the next free 4-digit number in that body/equipment pair. List what exists with pnpm exercises sf-arms-db- and take the next one.
An ID never changes once it is published, even if the exercise is later reclassified. Apps and translations rely on it. The codes in taxonomy/catalog-codes.json are the single source of the rules.
Expected Naming Convention Format:
exercises/<id>_<slug>/ (e.g., exercises/sf-legs-bnd-0035_band_lateral_walk/).id: The catalog ID only ("sf-legs-bnd-0035").slug: Lowercase snake_case, at most 50 characters ("band_lateral_walk").name: Clean Title Case display name ("Band Lateral Walk").Word Order Standards:
[Equipment] [Angle/Grip] [Movement] (e.g. Barbell Bench Press, Dumbbell Incline Bench Press, Cable Triceps Pushdown, Band Squat).[Movement] (e.g. Push-up, Pull-up, Air Bike, Plank).aliases array (e.g. aliases: ["Incline Barbell Bench Press"]).Check whether the exercise already exists with pnpm exercises "<name>".
exercise.jsonexercise.json (like the Ab Wheel Rollout example above).steps (which serve as the source of truth for translations)."media" block โ media files are auto-discovered from the folder..mp4) into the exercise folder following the naming convention:
<folder>_m_9_16.mp4 for vertical video, or <folder>_m_16_9.mp4 for horizontal video (or both!). Use f instead of m for the female model.# Optimize only missing or unoptimized media across all exercises: pnpm media # Force re-encode all exercises: pnpm media force-all # Force re-encode only one specific exercise: pnpm media force sf-core-oth-0002 # Preview candidate thumbnail frames to pick the best action frame timestamp: pnpm media candidates sf-core-oth-0002
-an), adds +faststart, and generates:
<folder>_m_thumb.webp: Lightweight static card thumbnail (360x640 / 640x360, ~15โ25 KB).<folder>_m_9_16.webp / <folder>_m_16_9.webp: Full-duration animated WebP preview loops (~160โ460 KB) with 24-bit true color for smooth mobile & web playback and compact offline caching.Before opening the PR, run:
pnpm validate # Must pass with zero errorsYou do not need to run pnpm build or commit dist/ or locales/: after your PR is merged, a workflow rebuilds and commits them. Run pnpm build only to try the result locally (for example with pnpm exercises or pnpm docs:dev).
Videos live in the exercise folder and are committed like any other file. In your pull request, include:
exercises/<folder>/exercise.json<folder>_m_9_16.mp4 (vertical, recommended) and optionally <folder>_m_16_9.mp4 (horizontal), at most 2.5 MB each. Use f instead of m for a female model.pnpm media creates from them: <folder>_m_thumb.webp, <folder>_m_9_16.webp and <folder>_m_16_9.webp. Editing on github.com? Skip these: after the merge, a workflow creates them from your video.If you are using generative AI to produce new 3D anatomy exercise demonstration videos:
pnpm exercises # Interactive exercise inspector & search CLI (e.g. pnpm exercises "bench press") pnpm validate # Validates catalog IDs, folder and media names, taxonomy, and video codec/sizes pnpm build # Compiles dist/exercises.json with auto-discovered media & syncs Weblate pnpm media # In-place video compression and auto-generation of WebP previews pnpm docs:dev # Runs the browse site locally (run pnpm install in docs/ first) pnpm docs:build # Builds the browse site into docs/.vitepress/dist
SparkyFitness imports dist/exercises.json from a tagged release of this repository. Apps should pin a release tag rather than read main, and key exercises by their id, which never changes. folder gives the exercise's directory, and every media path is relative to the repository root.
Each release carries exercises.json (the catalog), locales.zip (all translations), the LICENSE and NOTICE.md that must travel with them, and SHA256SUMS.txt. Versions follow the effect on apps: major for ID or schema changes, minor for new exercises, media or fields, patch for fixes.
See CONTRIBUTING.md and the Code of Conduct. AI tools and developers: read AGENTS.md first.
If you hold rights to an image, video or text in this library, or you appear in one of the videos, and you want it removed, open an issue titled "Removal request" with the exercise ID and file name, or message the maintainer (@CodeWithCJ) on GitHub. We will take the media out of the repository and the next release. Media from other sources lists its source in sources.media in the exercise's exercise.json, so it can be found and removed quickly.
Free for personal, educational and other non-commercial use; commercial use needs written permission. This covers the exercise data, translations, images and videos as well as the code. The SparkyFitness name, logo and character are not licensed for branding your own work. See LICENSE.
Parts of the exercise data were adapted from open-source datasets under permissive licenses. The notices they require are in NOTICE.md. The only third-party media are the 25 exercise videos by Your Move, used under their free-video terms (commercial use with credit; not for resale or redistribution as a standalone video library). They stay under those terms, not this library's license, and each is credited in its exercise's sources.media and in media.credits of dist/exercises.json. Apps that show them must show the credit "Exercise video by Your Move". No other third-party media is included, and none may be added without a license.
CodeWithCJ/SparkyFitnessExerciseLibrary is a public repo on GitHub by CodeWithCJ. Exercise catalog, media and multilingual instructions for SparkyFitness.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-23. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.

Open-source personal training platform โ client management, workout builder from 800+ illustrated exercises, scheduling, payments & shareable workout links. Preact + Tailwind + Hono + D1.
12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
Tools for the Cleveland State Human Motion and Control Lab
SparkyFitness: Built for Families. Powered by AI. Track food, fitness, water, and health โ together.
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/CodeWithCJ/SparkyFitnessExerciseLibraryTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.
