Vincent Angoulvant
Menu
Video demo

Problem

I wanted a simple tool to go through my sessions without thinking: know which exercise to do, how many repetitions, when to rest, then keep a record of my consistency. Almost all existing apps require an account, a subscription or cloud sync, and offer generic programs rather than my own. So I designed an app for personal use, installed as an APK, where all data stays on the phone.

Technical choices

  • No backend, local SQLite with Drizzle. One person, one device: a server would only add maintenance. Drizzle gives me a typed schema in TypeScript and queries checked at compile time. Media (images, videos) are stored as files, and only their path is saved in the database so it stays lightweight.
  • Migration from Flutter to React Native / Expo. I had started with Flutter/Drift to discover a new stack, but setting up the Android SDK locally on Windows cost me more time than the code itself. I switched to Expo, on a TypeScript stack I know well, with EAS Build to generate the APK without a local Android SDK.
  • Deliberate simplicity. No repository layer: screens call DAOs limited to their actual needs. No state management library, just useState/useRef. Every abstraction has to be justified by a concrete need.
  • Frozen session history. At the end of a session, the sequence actually played is copied into a dedicated table (with the program name denormalized). Changing or deleting a program later therefore doesn’t distort the history.

Challenge

I wanted to show exercise demo videos on the app’s dark background, using royalty-free videos shot on a white background. I first tried GIFs: the files were heavy and playback was choppy. Comparing formats, I found that a short looping MP4 (H.264/H.265), played with expo-video, is much lighter thanks to inter-frame compression. I then tried video transparency (HEVC with an alpha channel, WebM VP9), but rendering on Android wasn’t reliable. The solution I kept is to remove the white background with a chroma key using ffmpeg (in batch), then export directly onto the app’s background color (#0a0e12). The video then blends in visually, without relying on alpha support.

Result

The app now covers the whole journey:

  • an exercise library (repetitions or duration, image or video);
  • program creation (steps, sets, rounds, rests);
  • a session player with a countdown for timed steps, and an overall timer hidden during the effort and only shown at the end;
  • a consistency calendar with the details of each session;
  • a profile with BMI calculated on the fly and weight history.

This project helped me master offline mobile development: local data storage, a touch interface designed to be used mid-workout, and distribution of the app on Android. The same know-how applies to a field application used without a connection.