My workouts, my data
Why I wrote GymLogPWA instead of using a commercial app, how it works under the hood, and what happened when my gym started using it.
For a while I logged my workouts with the apps everybody uses. They worked, but the data wasn’t really mine: subscriptions, ads, no full export, no public API. I wanted to understand how I responded to volume and recovery, and there was no way to do it.
So I wrote my own tool.
From script to final-year project
It started as a simple personal script and became a full Progressive Web App, which I presented at my final state exam:
- workouts with sets, reps and loads;
- reusable templates for training programmes;
- daily metrics: sleep, body weight, steps, stress, nutrition;
- estimated 1RM trends and progress charts;
- sharing a workout through a unique token link;
- installable on your phone like a native app.
Under the hood
- React, TypeScript and Vite for the interface; Tailwind and shadcn/ui for components.
- vite-plugin-pwa and Workbox: the app is offline-first, the service worker handles caching and syncs when the network comes back. Signal at the gym is never guaranteed.
- Supabase as the backend: managed PostgreSQL, OAuth 2.0 with PKCE authentication and Row Level Security, so every user only sees their own rows.
- React Query for caching and server state; continuous deployment on Netlify.
- Infrastructure cost: zero euros.
What happened next
Over time it spread to my gym too, and today about ten people use it. With more athletes the data gets genuinely interesting: the volume needed to progress, the most effective recovery times, how fast people improve over time. That is where I want to take it.
You can try the demo at latmachine.netlify.app, or read the full case.