The Last Calorie Tracker

The most frictionless food logger, now native on iPhone.

LIVEAI Tool
iOS

What this project demonstrates

  • A web Progressive Web App rebuilt from the ground up as a native SwiftUI app for iPhone
  • Food recognition moved on device with Apple Intelligence, removing the server dependency for typed, spoken, and scanned entries
  • Four input modalities (barcode, voice, text, and nutrition label) unified behind one fast logging flow
  • Barcode and brand lookups resolved against Open Food Facts, the only data that ever leaves the phone
  • A guided setup that derives calorie and macro targets from goal, body metrics, activity, and diet style
  • Optional HealthKit integration for nutrition and weight, with a Face ID app lock
  • A strict local-first privacy model: no account, no tracking, no analytics

The Last Calorie Tracker is proof that a web app can be reborn as a private, native iOS experience, with the AI moved onto the device instead of the cloud.

Every calorie counter fails the same way: too many taps to log a meal. The Last Calorie Tracker was built around a single idea, that logging food should take a few seconds no matter how you want to do it. Scan a barcode, say what you ate, type it, or point the camera at a nutrition label. The app turns any of those into a clean entry with calories and a full macro breakdown for protein, carbs, and fat.

It began as a Progressive Web App. It is now a native iPhone application, rebuilt from the ground up in Swift. The PWA proved the idea; the native rewrite makes it feel the way a food logger should on iOS, with instant launches, smooth animated rings and charts, the system camera for scanning, and a layout tuned for one-handed logging. The app shipped at version 1.0 and is now live on the Apple App Store.

The intelligence runs on your iPhone. Typed foods, spoken meals, and scanned nutrition labels are read on device with Apple Intelligence, so the recognition that used to need a server now happens locally. The one exception is barcode scanning and brand search, which look the item up in the Open Food Facts database. Only that barcode or search term is ever sent, and that lookup is the only thing that leaves your phone.

The Today screen centers on net calories against your daily goal, with rings for protein, carbs, and fat and a row that folds in exercise and manual adjustments. A short guided setup turns your goal, body details, activity level, and diet style into calorie and macro targets you can fine tune any time. History charts your weight alongside calorie and macro trends over 7, 30, and 90 day windows, so patterns show up without a spreadsheet.

Privacy is the default, not a setting. Your food log, weights, targets, and history live only on your device. There is no account, no tracking, and no analytics, and you can lock the whole app behind Face ID or Touch ID. Apple Health is optional and stays off until you turn it on; once enabled, the app can save nutrition and weigh-ins to Health and import weight you already have there.

What it does

Four Ways to Log

Scan a barcode, speak your meal, type it, or photograph a nutrition label. Pick whichever is fastest in the moment.

On-Device Apple Intelligence

Typed, spoken, and scanned foods are read on your iPhone with Apple Intelligence. The recognition that once needed a server now runs locally.

Net Calories and Full Macros

Track net calories against a daily goal, with separate targets and rings for protein, carbs, and fat, plus exercise and manual adjustments.

Guided Setup

A short wizard turns your goal, body details, activity level, and diet style into calorie and macro targets you can adjust any time.

History and Trends

Chart your weight alongside calorie and macro trends across 7, 30, and 90 day windows to spot patterns at a glance.

Private by Design

All data stays on your device with no account, no tracking, and no analytics. Optional Apple Health sync and a Face ID lock.

Comments

Built with

  • Swift
  • SwiftUI
  • Apple Intelligence
  • HealthKit
  • Open Food Facts
  • Claude Code

A few related projects that share the same design sensibility and build approach.

Browse all products