2026 · Frontend, backend, deployment
FitTrainer
An installable workout coach that walks you through each set, speaks the cues out loud and keeps your history on a server you control.
- React
- Vite
- SQLite
- PWA

A closer look
FitTrainer
Commits in the last year
5
Language bytes
- JavaScript231k
- CSS32k
- Shell4k
- HTML2k
- Dockerfile1k
The problem
Most fitness apps want an account before they will count a single rep, and they keep your training history on someone else's database. A coach you have to sign up for is a coach you have to trust with everything.
What I built
- 01
A workout engine walks each set through prep, tension, reset and rest timers, with a progress ring and spoken cues through the browser's SpeechSynthesis API.
- 02
Every session is written to localStorage first and pushed to a small Node API second, so the app stays usable with the server down or the phone offline, and queued writes replay later.
- 03
Writes are row-level upserts guarded by a timestamp, so two devices used the same day cannot overwrite each other.
- 04
Progressive overload carries rep and hold offsets forward from the last time you ran the routine.
- 05
The server is Node's built-in http and node:sqlite with zero npm dependencies, fronted by nginx with a single shared password as the whole access-control story.
What it changed
No accounts, no login screen, no third-party backend.
Clearing your browser no longer loses your history, and two devices see the same log.
Forty-nine checks cover the API, the sync rules and the pure logic.