All work

Fitness App

My own fitness app, in development: training plans, a food diary, progress tracking and an AI coach that knows your numbers, for iPhone and Android phones.

The fitness app's home screen with the current plan, today's workout, macros, level and day streak

What it is

This one is mine. It is a fitness app for iPhone and Android that puts training, food and progress in one place, with an AI coach that can see all three.

I started it because I was tired of using separate apps for the gym, for food and for progress that did not talk to each other. A coach who only sees your workouts cannot tell you that a lift has stalled because you are under-eating.

It is in development. It is not in the App Store or on Google Play yet, and the screens here are from the current build.

I am including it because it shows what I can do when there is no client brief to lean on: product thinking, interface design, native mobile features, an API and AI that does real work, all from one person.

The feature tour

Training

  • A weekly schedule built from a plan in blocks, with the day’s session ready to start
  • Fast set logging with last time’s numbers beside each set, warm-ups, supersets and exercise swaps
  • A suggested weight for next time, worked out from whether you hit your rep range. Miss it two sessions running and it backs the weight off
  • A rest timer that carries on when the phone is locked, with a Live Activity on iPhone and a notification on Android
  • An exercise library with start and finish positions, muscle maps and substitutions
  • Personal records picked up automatically and celebrated when they happen
  • Cardio: outdoor sessions recorded with GPS and drawn on a map, plus Bluetooth heart rate straps and gym machines such as rowers that use the standard fitness machine protocol
  • Timers and tools: CrossFit style timers, a plate calculator, a one-rep-max calculator and a set of body and nutrition calculators

Food diary

  • Search across a food database that includes restaurant menus, ranked so the obvious match comes first
  • Barcode scanning with the phone’s camera, backed by Open Food Facts
  • Calories and macros against separate targets for training days and rest days
  • Saved meals, recipes and repeat meals, so a usual breakfast takes a moment
  • A meal planner and grocery list that work from your targets
  • A calorie bank: go over or under on one day and the rest of the week adjusts, within sensible limits
  • Water, supplements and intermittent fasting, with reminders for supplements and fasts

Restaurant items keep a record of the official source they came from, and anything estimated is labelled as an estimate. If a restaurant changes its menu later, what you logged last month stays as it was.

AI that knows your numbers

The AI in the app is Claude, from Anthropic. It is not a chat box bolted on the side.

  • The coach is on every main screen. Before it answers, the app gives it a summary of your plan, recent sessions, food, weight trend and anything you have flagged, such as an injury. Its advice is about you, not about people in general
  • It suggests changes you can apply. New calorie or protein targets, a swapped exercise, a moved session, the next weight for a lift, a lighter week. Each one arrives as a card with the reason. You apply it with a tap and can undo it afterwards
  • A weekly review sets out the week in numbers, what went well, what held you back and what to change next week
  • Food from a photo. Take a picture of a meal, describe it or paste a link, and it estimates the portion and the macros for you to check before saving
  • Label reading. Photograph a nutrition label and it fills in the food for you
  • Recipe import from a link, pasted text or a screenshot
  • Meal ideas that fit the calories and protein you have left today, and a week’s meal plan built around your targets
  • Screenshot reading. A photo of a rowing machine’s display or a screenshot from a smart scale app becomes a logged session or a weigh-in
  • Form check. Film a lift and get feedback on your form. For squats the app also tracks your movement on the phone itself and replays it

Progress

  • Strength trends as an estimated one-rep max for each lift
  • Plateau detection that says when a lift has stalled or gone backwards, for how long, and what to try
  • Body weight, measurements, body composition and progress photos, including readings from a Bluetooth scale
  • A recalculation check that looks at weight, food and strength together before it suggests new targets
  • A progress report you can print
  • Apple Health and Health Connect, so data from a watch or another app can come in

Staying with it

  • Streaks, experience points, levels and badges for showing up, logging food and hitting personal records
  • Time off that does not punish you. Mark a holiday or a week of illness and the streak is kept, supplement reminders go quiet and the plan can move back
  • A recovery score, an injury log and a cycle tracker

Everywhere else

  • It works without a signal. Logs are saved on the phone first and sync when there is a connection, because gyms are often in basements
  • Backup, restore and export of your own data
  • Trainer mode: a personal trainer can invite a client and follow their progress, and the client can stop sharing at any time
  • Units for wherever you are: kilograms, pounds or stone, and carbohydrate figures that follow your country’s food labels

What sets it apart

  • One picture of you. Training, food, body weight and recovery live in the same app, so the advice can join them up
  • AI that acts, with limits. The coach proposes specific changes and you decide. Hard rules sit between it and your plan: it cannot take calories below a floor, move them by more than 250 a day in one change, or raise a lift by more than a tenth in a week. Those rules run on the phone, so no clever wording gets past them
  • The basics do not need AI. Stalled lifts, next session weights and nudges about missed sessions or low protein are worked out on the phone by plain rules. They are instant and they work offline
  • Honest food data. Estimates are labelled as estimates, restaurant figures come from official published sources, and your history does not change behind your back
  • Built for a real gym. Patchy signal and a short rest between sets. Logging a set is quick, and a workout in progress is saved as you go
  • Careful about health. The coach gives general fitness and nutrition guidance and says so. It is not medical advice and the app does not pretend otherwise

How it is built

  • The app is SvelteKit and Svelte 5 with Tailwind CSS, wrapped with Capacitor to run as a native app on iPhone and Android from one codebase. Native plugins handle the camera, barcode scanning, Bluetooth, GPS, local notifications, biometric unlock, Apple Health and Health Connect
  • On the phone, data is stored locally with a queue of changes waiting to sync. That is what makes it work offline
  • The API is Hono on Cloudflare Workers, with a D1 database, R2 for files, Queues for background jobs and scheduled tasks that check restaurant menus for changes
  • Food search is full-text search inside D1, tuned so results come back in a sensible order
  • The AI is Anthropic’s Claude: a small, fast model for chat and a larger one for weekly reviews and proposed changes. The coach’s instructions live on the server, and what the app sends is checked and trimmed before the model sees it
  • Movement tracking for the squat replay is MediaPipe pose tracking, running on the device
  • An admin tool in SvelteKit sits behind it, including a review screen for imported restaurant menus
  • Tests: more than 300 unit test files and a suite of Playwright browser tests, because an app that holds someone’s training history must not lose it

If you have an idea for an app of your own, or want AI built into a product you already have, this is the kind of thing I can build for you.

Want something like this? The service behind it: Mobile App Development (Quoted per project).

Inside the app

Screens from the current build.

  • The fitness app's home screen with the current plan, today's workout, macros, level and day streak

    Today: the plan, the session, the day's macros and the streak.

  • The workout logger showing the week, a warm-up and sets with weights and reps

    Workouts: the week at a glance and quick entry for every set.

  • The food diary with calories and protein against a training day target, and a breakfast log

    Food diary: calories and protein against a training day target.

  • A chart of estimated one-rep max for the back squat, with a plateau warning for another lift

    Progress: strength trends, and a flag when a lift has stalled.

  • A twelve week plan with training day and rest day calorie targets and a recalculation check

    Plan: blocks with their own targets, and a check before they change.

  • An exercise guide for the bench press with start and finish positions and a muscle map

    Exercise guide: start and finish positions and the muscles worked.

  • The intermittent fasting timer set to sixteen hours fasting and eight hours eating

    Fasting: a timer with the common protocols and optional reminders.

  • Workout history with sessions, sets, volume and personal records

    History: every session, with sets, volume and personal records.

Want results like these?

Type in your website and I'll send you a free health check covering speed, SEO, security and mobile, with the fixes that matter most.

Prefer to talk?

Or send a project enquiry

Where should I send your report?

I'll check its speed, SEO, security and mobile setup and email you a plain-English report. Free, with no obligation. I'll only use your email to send the report and follow up once.