Code in a private repository. Screenshots and videos use demo data, not real workouts. Screenshots come from the web view of the app, with the same interface as on the phone. The app’s interface is in Spanish.
The challenge
The challenge
Context
I used Hevy and liked it, but I did not want to keep paying and it did not quite fit the way I train.
I was missing things like RIR, per-exercise notes or copying a set with one tap.
The solution
The solution
So I built my own app. It is a product for a single user, which I keep improving based on my own workouts.
It covers routines, automatic progression, records and achievements, with no analytics and no accounts. Data stays encrypted on the phone, and only what is needed is sent to OpenAI when an AI feature is used.
What it does
01
Training
Routines by day, with sets, reps, weight, RIR, notes and a rest timer with a beep.
Rest countdown in the Android notification bar.
Automatic progression, weekly and within the session, by weight, reps, RIR or sets.
Substitutes when a machine is taken, with the weight estimated from other logs.
Adapts to the available equipment: gym, home or outdoors.
RoutineAdjusting an exercise
02
Exercises and body
Library of 753 exercises in Spanish, with images, muscles worked and links to videos.
Muscle fatigue map, and injuries marked in yellow or red with warnings and alternatives.
Logging of sports (football, running, cycling...) and past workouts.
Exercise pageInjuries
03
Progress
Records per exercise.
Charts and a consistency calendar.
Weight and body measurement tracking.
RecordsStrength and consistency
04
Achievements and summary
170 achievements with badges, ranks, weekly challenges and a daily quote, with plenty of anime.
A summary of each workout as a poster, to share as an image.
AchievementsWorkout poster
05
Optional AI features
Routine review with suggestions you accept or reject.
Weekly review.
Video search.
The app in 50 seconds
A tour of the app, without sound and with demo data.
Technical approach
Mobile app
React Native 0.88, Expo SDK 58 and TypeScript, with Expo Router.
Encrypted data, no server
SQLite encrypted with SQLCipher, with no server of my own.
Custom native module
A Kotlin module for the countdown in notifications.
Distribution without stores
EAS Build to generate the APK and EAS Update to ship updates without reinstalling.
AI with the user’s own key
OpenAI API with the user’s own key, kept in the system’s secure storage.
Automated tests
Jest for the progression, achievements and data logic.
Key decisions
01
Weights from rules, not AI
Weights are calculated with rules (estimated 1RM, RIR and coefficients between exercises), so they are immediate and consistent.
02
AI output is untrusted
It is treated as untrusted: only offered exercises and values within limits are accepted.
03
No analytics, no accounts
Data stays on the phone, and only what is needed is sent to OpenAI when an AI feature is used.
Project gallery
Visual identity
Typefaces
Barlow Condensed for headings and Barlow for text.
Colours
Background#0E0D0C
Text#EFEAE1
Red#E5261F
Amber#E9A83A
Style
Dark and typographic, like a gym poster, with almost square corners.
Current status
The app is in use and in development. It is installed via APK on Android and is not on Google Play or the App Store. I keep improving it based on my own workouts.
Exercise database and images: free-exercise-db (Unlicense).
Explore more of my work
Review more professional and academic projects across business software, web development and system integrations.