Personal project · Mobile app · React Native

Morales Gym

A custom gym app built for my own use: routines, automatic progression, records and achievements, with data encrypted on the phone and no server.

Role
My own project: app design and development
Status
In use and in development. Installed via APK on Android; not on Google Play or the App Store.
Technologies
React NativeExpoTypeScriptExpo RouterSQLiteSQLCipherKotlinEASOpenAI APIJest

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

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

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

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.
Routine
Adjusting an exercise

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 page
Injuries

Progress

  • Records per exercise.
  • Charts and a consistency calendar.
  • Weight and body measurement tracking.
Records
Strength and consistency

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.
Achievements
Workout poster

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

Weights from rules, not AI

Weights are calculated with rules (estimated 1RM, RIR and coefficients between exercises), so they are immediate and consistent.

AI output is untrusted

It is treated as untrusted: only offered exercises and values within limits are accepted.

No analytics, no accounts

Data stays on the phone, and only what is needed is sent to OpenAI when an AI feature is used.

Visual identity

Morales Gym cover with the logo and three app screens, with demo data
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.