Vibecode Cal AI

track this build4 phases, 12 steps, beginner friendly
KINDA · weekend project
price $9.99/moyou'd save $119.88/yrbuild time one sittingcategory 🧘 wellnessreplaced by 0 people

The core trick, send a food photo to a multimodal model and ask for calories and macros as JSON, is a one-evening build and works surprisingly well. Where it stops being easy is everything around it: a native app that opens fast, a camera flow you actually use three times a day, barcode lookups against a real food database, HealthKit or Google Fit sync, and streaks that keep you logging past day four. Accuracy is also less about your prompt and more about calibration, portion-size guessing is where these apps live or die and you have no correction data. A local PWA is a genuinely useful personal replacement if you are the kind of person who will tolerate a browser bookmark instead of an app icon. You are also renting the vision model, so this is not fully self-contained.

the project pack5 files · written for this build, step by step
README.md
# Cal AI · indie build

A private photo food log whose hard problems are presenting an estimate honestly when the published error is tens of percent, making the correction step the centre of the interface rather than a dialogue nobody opens, and learning a personal calibration from corrections without pretending it is precision.

Estimated effort: **weekend**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Runtime | A small web application installed to the phone home screen, served on your own network | the camera flow has to be one tap and a native app is not worth building for one user |
| Storage | SQLite beside the app, with photographs on disk, nothing in anyone else's cloud | a picture of everything you ate is a diary, and it should live where your diary lives |
| Estimation | One call per photograph to a multimodal model, with structured output and validation | the model is rented and is the only part that leaves the machine |
| Presentation | Ranges everywhere, never a single number, with the model and date attached | the published error is tens of percent and the interface has to say so |
| Correction | An edit step that cannot be skipped, storing what you changed | supplying portion and ingredient context is the one thing shown to halve the error |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Runs the application on the machine that serves your phone.
  - Get it: nodejs.org, or your version manager.
  - Verify: node --version prints v22 or higher
- [ ] **An API key for a multimodal model that accepts images** · pay per image; a few meals a day is small change, and the ceiling in this build is what stops it becoming otherwise
  - Why: The estimate is one call per photograph, and this is the only part of the build that leaves your machine or costs money.
  - Get it: Create a key with the provider you prefer and set a spend limit in their console.
  - Verify: One photograph returns valid structured output
- [ ] **A phone on the same network, with the app installed to the home screen** · free
  - Why: The whole design stands or falls on the capture being two taps, and that is only testable on the device you will actually use at dinner.
  - Get it: Open the app on the phone and add it to the home screen.
  - Verify: Two taps from the icon produce a stored photograph
- [ ] **A certificate for the local address** · free
  - Why: The camera will not open on an insecure origin from another device, which is the single most common reason this kind of build stalls on day one.
  - Get it: A local certificate authority for your network, or a hostname with a real certificate pointed at the local address.
  - Verify: The phone opens the app without a certificate warning and the camera works
- [ ] **What the interface is allowed to display** · free
  - Why: The literature is clear that the error is large and directional, and deciding presentation rules afterwards means deciding them from whatever looked nicest.
  - Get it: Write down that ranges are mandatory, that the middle value is never shown alone, and what the minimum correction count for calibration is.
  - Verify: All three rules appear in the README and are asserted in tests

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Anything clinical, including carbohydrate counting for dosing.
- Barcode scanning and a packaged food database.
- Health platform synchronisation.
- Streaks, notifications and coaching copy.
- A native app with widgets, notifications and instant cold start
- Barcode scanning against a maintained packaged-food database
- HealthKit / Google Fit / Apple Watch sync
- Streaks, coaching copy and the habit scaffolding that makes tracking stick
- Whatever portion-size calibration they have learned from millions of corrected logs

If one of those is essential to you, that is the reason to keep paying for Cal AI, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Because calorie tracking only works if the friction is near zero, and a subscription buys an app icon, a camera that opens in half a second, a food database, and a nag notification at 8pm. A self-hosted web version costs you nothing per month but adds three seconds and a mental hurdle to every meal, which is exactly the amount of friction that ends a tracking habit. People are not paying for the vision call, they are paying for the thing that makes them do it on day thirty.

what you lose

xA native app with widgets, notifications and instant cold start

xBarcode scanning against a maintained packaged-food database

xHealthKit / Google Fit / Apple Watch sync

xStreaks, coaching copy and the habit scaffolding that makes tracking stick

xWhatever portion-size calibration they have learned from millions of corrected logs

prior art · use these instead of building, if you'd rather

Nothing worth pointing at. That's why the prompt exists.

share on X ↗"I just replaced Cal AI ($9.99/mo) with one prompt"
questions
Vibecode Cal AI

Kinda. The core of Cal AI is buildable in a weekend with the prompt on this page, but there are real gaps: A native app with widgets, notifications and instant cold start, Barcode scanning against a maintained packaged-food database. Read the honest list above before committing.

How much does Cal AI cost?

Cal AI costs about $9.99/month (Cal AI Unlimited, checked 2026-08-18), which is $119.88 per year.

What do I lose by replacing Cal AI?

Honestly: A native app with widgets, notifications and instant cold start; Barcode scanning against a maintained packaged-food database; HealthKit / Google Fit / Apple Watch sync; Streaks, coaching copy and the habit scaffolding that makes tracking stick; Whatever portion-size calibration they have learned from millions of corrected logs. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Cal AI?

No mature open-source alternative worth pointing at, which is exactly why the one-shot prompt on this page exists.