Problem
I train for running, football and Hyrox, and the data was scattered: food in one place, Garmin runs in another, sleep somewhere else. Each app described its own slice. None of them joined up.
Opportunity
The useful questions cross those slices. Should today’s run be easy because last night was short? Does late coffee show up in my sleep? Answering them needs one database that holds all of it, which no subscription app was going to give me.
Product
Five tabs: Today, Food, Train, Health and Review. Every screen below is the real app, filled with invented demo data. No record in them is mine or anyone else’s.
Process
I am the only user, so feedback is immediate. New rules go in as small modules with their own tests, and commit messages say whether a change has been deployed yet.
- The day ends at 4 am.
- Food logged at 00:30 belongs to the evening you’re still in. The screen says so, and the rule is tested in three time zones. The first screenshot above is set after 1 am and shows it.
- Advice has to earn its place.
- A sleep insight appears only with enough nights and a difference big enough to matter, and says it can’t prove cause.
- Send the model as little as possible.
- The coach gets numbers and a profile I wrote: no name, email or photos of me. Free-text notes go only if switched on. A meal photo is sent once and not stored.
- Cap the AI.
- Cheapest models first, and at most 20 coaching notes in 24 hours.
- A sync never overwrites me.
- My edits stay. A run I logged by hand gets the watch’s heart rate attached instead of being duplicated.
- Run the sync where it works.
- Scheduled Garmin pulls from GitHub’s servers got “too many requests”, so the job moved to my Mac and the cloud version became manual.
Build
-
Sources
- GarminPython job on my Mac, every 3 hours
- Google Healthsleep, synced in the cloud
- Smart scaleiPhone Shortcut posts weigh-ins
- Metaps, typed meals, meal photos
-
Backend
- Supabase Postgres38 migrations
- Server functionscoach, push, backup, health sync
- Geminimeal estimates and coaching notes
-
On the phone
- Installed web appservice worker, offline queue
- Push remindersend-of-day and proactive nudges
Technology
- No front-end framework
- One person, one user, instant deploys. Logic lives in small pure modules, which is what makes it easy to test.
- Shared rules on both sides
- The same recommendation code runs on the phone and in the coach function, and a test fails if the copies drift.
- A fake database for development
- A stand-in for Supabase with seeded data lets me try changes without touching real records. It’s also how these screenshots were made.
Outcome
The app is in daily use. It is not a product for other people, and I haven’t measured whether it has made me faster or healthier. What it shows is a messy personal data problem taken all the way to a tool I rely on.
Proof
- 178commits since 15 Nov
- 20,244lines of code, SQL and markup
- 38database migrations
- 50test files
Read from the private repository on 28 Nov 2026. The 50 test files in it all passed when run locally on 28 Nov 2026.