iOS food journal with photo recognition, barcode scanning, and nutrition tracking
made with <3 by dbkarashev
- Log meals with photos — camera or photo library
- On-device food recognition via Core ML (Food-101, 101 categories)
- Barcode scanning with Open Food Facts lookup
- USDA FoodData Central search with inline suggestions
- Auto-fill calories, protein, fat, carbs from database
- Portion size input with real-time nutrient recalculation
- Daily nutrition rings (kcal, protein, fat, carbs, water)
- Weekly progress overview with mini-rings
- Water intake tracking with quick-add presets
- Weight tracker with interactive chart and period selector
- Journal with date filters, search, and daily calorie totals
- Offline-first — cached products, local ML, no account needed
- Built-in telemetry with CSV export for input channel analysis
Clone and open in Xcode:
git clone https://github.com/dbkarashev/foon.git
open Foon/Foon.xcodeprojAdd your USDA API key:
echo 'USDA_API_KEY = your_key_here' > Foon/Secrets.xcconfigGet a free key at fdc.nal.usda.gov.
Requirements: iOS 26+, Xcode 26+
- Swift 6.2
- SwiftUI
- SwiftData
- Core ML + Vision
- AVFoundation
- Swift Charts
This project is licensed under the MIT License.