- Flutter Android app on CookIT's stack (provider, shared_preferences, gen-l10n) - tools/exercise-import turns free-exercise-db into 876 bundled Exercises with 1,746 WebP images (20 MB); stretching -> Stretching, rest -> Workout - ZenStyle tokens per Mode: calm rounded sage/teal with breath ripples vs. dark ember-to-red with floor-tape slashes; the theme morphs at each Mode's own pace - Remembered global Mode switch, Plans / Library / History tabs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
728 B
728 B
Exercise import
Builds the bundled Exercise Library in assets/exercises/ from
free-exercise-db (Unlicense).
git clone --depth 1 https://github.com/yuhonas/free-exercise-db.git <somewhere outside the repo>
python -m venv .venv
.venv/Scripts/python -m pip install -r requirements.txt
.venv/Scripts/python convert.py <somewhere outside the repo>/free-exercise-db
.venv/Scripts/python -m pytest
The script slims dist/exercises.json, assigns each Exercise its Mode (stretching category →
Stretching, everything else → Workout) and converts every image to a WebP of at most 480 px,
flattened to images/<id>_<n>.webp. Rerunning it replaces the previous output.