NourishAI — AI Calorie Counter and Nutrition Tracker (Flutter App)

Bluehost Shared Hosting

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 (370+ foods, 35+ 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/1GjgXpvRR4UrcJkoCdkGF6y-Mbhrf2I2P/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
  • Insights — 7/30/90-day averages, calorie chart, macro split, logging consistency & streaks
  • 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 (banner & frequency-capped interstitial); full free/premium gating from one config class
  • “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 (370+ foods, 35+ recipes, 5 diet plans) + one-tap demo seeder
  • SETUP.md in the zip root — setup + reskin guide with a pre-release checklist
  • 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

  1. flutter pub get & run build_runner
  2. flutterfire configure against your Firebase project
  3. Enable Auth (Email/Password + Anonymous), Firestore, Remote Config, Functions (Blaze)
  4. firebase deploy --only firestore:rules
  5. Set the OpenAI/Gemini secrets, then firebase deploy --only functions
  6. Add RevenueCat + AdMob keys (optional)
  7. 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.1.0 (2026-07-28) — New: premium Insights screen (7/30/90-day averages, calorie chart, macro split, consistency, weight change) and logging streaks; AdMob interstitials (frequency-capped); remote ads_enabled kill switch; SETUP.md setup + reskin guide in the zip. Improved: full free/premium gating across diet plans, recipes and insights, all tunable from one FreeTier class; seed data grown to 376 foods and 37 recipes. Fixed: diary edits made offline are now retried instead of being stranded on-device.

1.0.0 — Initial release.

0 average based on 0 ratings.

DevSnack

DevSnack

Visit Author's Portfolio

View Portfolio
Last Update 2026-07-28
Created 2026-06-19
Sales 2
Discussion Comments
Software Version Flutter 3.x Flutter 2.x Flutter 1.x Other
Files Included Dart .java .kotlin .h .storyboard .plist .swift
Video Preview Resolution