Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

docs: catalogue size in the README and the worker, demo redeploys on catalogue changes

Duarte Santose1a8c2c93847
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index ca23cd917..5e4fde0ad 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -15,6 +15,8 @@ on:
branches: [main]
paths:
- 'frontend/**'
+ - 'catalogue/**'
+ - 'scripts/catalogue/**'
- '.github/workflows/pages.yml'
workflow_dispatch:
diff --git a/README.md b/README.md
index 5c1e7eb87..6ef3130ab 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ if you want to try it before installing anything.
**Planning**
-- A routine per weekday over a library of **1,324 exercises** with animated demos, searchable and
+- A routine per weekday over a library of **over 5,600 exercises** with animated demos, searchable and
browsable by muscle on a body map. Filter by the equipment you own.
- Four starter plans (Push/Pull/Legs, Upper/Lower, Full Body, 5×5) that load as ordinary,
editable routines.
diff --git a/frontend/public/sw.js b/frontend/public/sw.js
index bab7ff423..f96fccd42 100644
--- a/frontend/public/sw.js
+++ b/frontend/public/sw.js
@@ -20,7 +20,7 @@ const DEVICE_URL = '/opengym-device-id'
Content-Length) the least recently used entries go first. The Cache API keeps entries in the
order they were written, so a hit is written back once per worker lifetime to move it to the
end: least recently used as far as this worker has seen, which is what "LRU-ish" means here.
- The whole catalogue is about 140 MB, so the cap only bites for someone who has browsed most of
+ The whole catalogue is about 100 MB of stills and clips, so the cap only bites for someone who has browsed most of
it. lib/media-prefetch.js fills this cache ahead for the exercises in the plan — in the app
installed on the home screen only; a browser tab gets what it has shown and nothing more — and
names it too, so a new name has to change there as well (sw-media.test.js pins the two