← work

side project · live

WOD Stitch

Snap a workout screenshot or whiteboard and get a structured training log, a body map and a coach. Visitors browse a read-only demo.

→ wod.ljupchop.dev

  • TypeScript
  • React
  • Supabase
  • PostgreSQL
  • Claude vision
  • TanStack
  • visx
WOD Stitch Body Map with fictional demo data: muscle activation figure, upper/lower and front/back balance bars, and the chest detail panel WOD Stitch Body Map with fictional demo data: muscle activation figure, upper/lower and front/back balance bars, and the chest detail panel

My training log, so workouts from my gym app and the whiteboard stop living in my camera roll. Anyone can click through the same app with a fictional athlete’s data.

  • From a picture to data. A vision model reads one or more screenshots, removes the overlap between them and returns a structured session that I confirm before saving. Rep schemes are stored exactly as written, so 21-15-9 stays 21-15-9.
  • Derive, don’t store. The body map, timer plans and the coach’s view of my recovery are all calculated from the log when they’re shown. The log stays the only source of truth, and there is no cache to invalidate.
  • Isolation in the database. Supabase row-level security keeps every account to its own rows. Visitors read the demo through select-only policies pinned to one fictional athlete, and the app blocks writes and AI calls in demo mode as a second layer.
  • Works offline. Reads come from an IndexedDB cache and saves wait in an outbox until the connection is back.
  • Data with the right license. About 800 movements ship with the app from public-domain data plus a hand-written CrossFit set. A larger licensed dataset is imported only into my own account, because its license allows use, not redistribution.

Every design decision is written down as an ADR, and the core logic is covered by unit and render tests.