NourishAI — AI Calorie Counter and Nutrition Tracker (Flutter App)
NourishAI — AI Calorie & Nutrition Tracker (Flutter + Firebase) NourishAI is a polished, production-ready Flutter app for tracking calories and macros — with a
NourishAI — AI Calorie & Nutrition Tracker (Flutter + Firebase)
NourishAI is a polished, production-ready Flutter app for tracking calories and macros — with a functional AI food scanner (not a UI mockup), keyless food data, and monetization built in. One Flutter app + a single Firebase Cloud Function. Single-user, iOS & Android.
Why it’s different
- Real AI, server-side. Snap a photo or describe a meal and get calorie + macro estimates from OpenAI or Gemini (switchable). All AI runs in a Cloud Function — your API keys never ship in the app.
- Keyless food data. Barcode + search via Open Food Facts — no paid food API, plus a bundled seed database (125 foods, ~22 recipes).
- Responsible-use guardrails. Safe calorie floors & weight-pace caps, neutral BMI context, a persistent “estimates only” disclaimer, and an always-available eating-disorder support link — reviewers and stores favor these.
- Offline-first diary. Drift/SQLite on-device; Firestore in the cloud.
Demo
Demo APK: https://drive.google.com/file/d/1Uhuoo5-RtMTxR6ayQ2sPFmijqoD6oaO6/view?usp=sharing There is no seeded login — the app uses live Firebase sign-up; tap “Continue as guest” to explore, and use Profile → Load demo data to fill ~2 weeks of sample logs.
Features
- Functional AI food scan — photo + describe modes, editable results, 3/day free cap
- Barcode scanner + Open Food Facts search (+ bundled seed DB)
- ️ Offline-first diary — calorie ring, macro bars, meal sections, water, day navigation
- Weight & BMI trend, fasting timer + history, activity logging + step counter
- Diet plans (activate to adjust targets), recipe library, weekly meal planner
- Email, Google, Apple (iOS) & guest sign-in; forgot password; account deletion
- Local reminders — meal / water / fasting / weigh-in
- RevenueCat subscriptions + AdMob (free-tier ads); free/premium gating
- “Ocean & Mint” Material 3 design — light / dark / system
- Responsible-use guardrails baked in
Tech stack
- Flutter 3.x, Dart 3.11
- Riverpod 3, GoRouter, Drift (SQLite), freezed/json_serializable, fl_chart, google_fonts (Plus Jakarta Sans)
- Firebase Auth, Firestore, Functions, Remote Config
- One Cloud Function (Node 20 + TypeScript) — OpenAI + Gemini
- Open Food Facts (keyless), RevenueCat, Google Mobile Ads
What’s included
- Full Flutter source + the Cloud Function source
- Drift offline cache + Firestore data model + strict per-uid security rules
- Ocean & Mint design system (light/dark/system)
- RevenueCat + AdMob integration; local-notification reminders
- Seed data (125 foods, ~22 recipes, 5 diet plans) + one-tap demo seeder
- Full buyer documentation. 6 months email support, lifetime updates
Requirements
- Flutter 3.x
- A Firebase project on the Blaze plan (required for Cloud Functions)
- An OpenAI or Gemini API key (your spend)
- Optional: RevenueCat + AdMob accounts (free tiers)
- Apple Developer + Google Play Console for store distribution
Quick setup
flutter pub get& run build_runnerflutterfire configureagainst your Firebase project- Enable Auth (Email/Password + Anonymous), Firestore, Remote Config, Functions (Blaze)
firebase deploy --only firestore:rules- Set the OpenAI/Gemini secrets, then
firebase deploy --only functions - Add RevenueCat + AdMob keys (optional)
flutter run— sign up and onboard
Support
Email devsnack26@gmail.com · WhatsApp +855 96 741 3911. 6 months bundled. You bring your own Firebase project, AI keys, and store accounts.
Changelog
1.0.0 — Initial release.
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0

