MyLevel
Android app · v0.1 in closed testingIn short
MyLevel is an Android app for building discipline. You get three daily commitments, quests, and levels from 1 to 100 that take about two years of steady work and drop when you slack off. I built it for myself first. Version 0.1 runs on my phone and with its first testers.
The problem
Habit apps either forgive everything or punish nothing that matters. I wanted one where progress is earned, can be lost, and can't be faked by changing the phone's clock or tapping while offline.
My role
I designed the product, its rules and the architecture, set the coding conventions and reviewed every change. The code was written through the development pipeline I run in my home lab.
What I built
- A rules engine: daily lifelines locked for seven days, common and rare quests with caps, level loss that grows with inactivity, and a comeback boost.
- A server-side XP ledger: the phone records what you did, the server replays every event and decides the XP, so the score can't be edited on the device.
- An offline-first app: it works without signal, queues events and syncs when it reconnects. A broken event is set aside instead of blocking the rest.
- Device trust: each phone gets a hardware-backed key that signs its sync, and the server checks the phone's clock against its own.
- End-to-end tests that drive the real app on an Android emulator.
How it is built
A Java 25 and Spring Boot 4 backend split into feature modules with enforced boundaries, on PostgreSQL, deployed as containers on a Hetzner server.An Expo React Native app with a small Kotlin module for the device key.GitLab CI runs the tests against a real database.
A hard decision, and what I left out
It runs on the honour system. The app trusts you when you say you trained; there are no proof uploads. It only blocks the cheap cheats, like the clock and offline replay. I left out social features, unlockable characters and earned cosmetics (planned for 1.1), and iOS.
Result
Version 0.1 on Android, in closed testing since November 2026.