
Web & phone apps
gymday
A phone-first training app that says what weight and reps to do today, worked out from last time.
- When
- Jul – Nov 2026
- Status
- Web app live; Android app in testing
- Built with
- ReactViteIndexedDBvite-plugin-pwaReact Native (Expo)Node.js
gymday is an installable, offline-first web app for resistance training. For every exercise it shows today's target weight and reps, last session's numbers and the reason for the target, and each set is ticked off as it is done. It was built for two people, each with a profile of their own, and a native Android version with accounts, sync and a coach is being prepared for the Play Store.
The need
Double progression means arithmetic between sets: hold the weight until every set reaches the top of the rep range, then add the increment. gymday does that arithmetic so nobody has to, mid-set and out of breath.
What was built
- A pure, heavily tested progression engine: automatic weight increases, a weight per set, and deload flags only when an exercise genuinely stops moving for two sessions.
- A Today screen with warm-up ramps already calculated and one card per exercise; every change is written straight to IndexedDB, with no Save button and no connection needed.
- A rest timer that keeps time across a locked screen and holds back app updates until the rest is over.
- Sync across phones that stays offline-first: the device copy is written first, and a stale copy merges set by set, never overwriting a logged set.
- A 142-exercise library, workouts edited in the app, history charts drawn as plain SVG, and JSON export and import.
- A native Android app (Expo) that reuses the same engine: accounts, workout sharing with suggestion notes, a rule-based coach that proposes plans from 40+ templates without AI, a lock-screen rest alarm, a home-screen widget and Strong and Hevy CSV import.
What was hard
- Timers on a locked phone: a locked screen freezes a decrementing countdown, so a rest is stored as two absolute timestamps; and because a service-worker update could reload the app mid-rest, a running rest now postpones the reload.
- Getting the deload rule right: read literally, the brief flagged every session after a weight increase, when a drop in reps is expected. The rule was redefined as no progress at the same weight, and regression tests guard it.
- One engine, two apps: the progression and coach logic contains no React, storage or clock, so the native app imports it unchanged and the same suite of over 1,600 checks guards both.