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.

npm run pdf:check: render the sample printouts and run the page-break check

Duarte Santos17529eb86cd1
diff --git a/.gitignore b/.gitignore
index 57b5fd121..0bd52dadf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,5 @@ frontend/bundle-size.json
# Local planning notes
docs/superpowers/plans/
+# scripts/pdf/render-samples.mjs output (npm run pdf:check)
+frontend/pdf-samples/
diff --git a/frontend/package.json b/frontend/package.json
index b9f80662f..a40767bdd 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -10,7 +10,8 @@
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
- "test:fatigue-probe": "node scripts/fatigue-monotonic-probe.mjs"
+ "test:fatigue-probe": "node scripts/fatigue-monotonic-probe.mjs",
+ "pdf:check": "node scripts/pdf/render-samples.mjs --out pdf-samples --langs en,de,ar --paper A4,Letter --check"
},
"license": "AGPL-3.0-or-later",
"dependencies": {