Daily
Water
Steps
Sleep
History
Food
History
Workout
History
Body metrics
History
Insights
AI Coach
Answers come from the OptimalFit coach service. Only your question and a compact summary of your tracked data are sent to answer it — processed transiently and never stored; your full logs never leave this device. (The optional Community tab shares only what you explicitly post.)
Community
Settings
Units
Data is always stored in metric — this only changes how it is shown and entered.
How much can your coach change on its own?
Your coach keeps learning from your data — if you eat 2,600 kcal for two weeks and your weight doesn’t move, it knows your real maintenance and can retune your targets. This is how much of that it may do without asking. Whatever it changes, it always tells you why and you can undo it.
Coach preferences
Anything you want the coach to respect that the buttons don't cover — in your own words. The coach reads this with every answer and program change.
Science & sources
Where every calorie, protein and training number in this app comes from — the equations, the safety limits, and links to the research.
Recover lost data
Backup
Your tracking data lives only in this browser (localStorage). Export regularly.
Import from health apps
Apple Health (iPhone): Health app → your picture (top right) →
Export All Health Data → you get export.zip. Extract the zip
(tap it in the Files app, or copy it to this computer and unzip), then choose the
export.xml inside it here.
Samsung Health: Samsung Health → ⋮ Settings →
Download personal data, then choose the
step_daily_trend….csv (steps) or
weight….csv (body weight) file here.
Use on your phone
On this PC, double-click “Start OptimalFit (Phone).bat” in the optimal-fit folder. It starts the server in phone mode and prints the address and a 6-digit pairing code (needed once for the AI coach). Your phone must be on the same WiFi as this PC. If Windows asks about the firewall, allow Python on private networks.
Then on the phone, open the address shown and add it to your home screen:
iPhone: Safari → Share button → Add to Home Screen.
Android / Samsung: Chrome → ⋮ menu → Add to Home screen
(or Install app).
Honest notes: your data lives in each device’s own browser storage — the phone starts empty; use Export on the PC and Import on the phone to move it. The AI coach only works while the PC server is running.
Demo data
Generates ~60 days of realistic, correlated fake data (sleep, meals, workouts, body metrics) so the dashboard and insights have something to chew on.
Intro
See the three-step welcome tour again.
Danger zone
OptimalFit — zero-dependency local app. Your tracking data stays on this device; the optional community only ever receives what you explicitly choose to post.