ChefAI — AI Recipe Generator, Meal Planner & Calorie Tracker
ChefAI is a complete Flutter mobile app that uses AI to generate personalized recipes from ingredients you already have, build 7-day meal plans, track daily calories & macros, and guide you through cooking with a beautiful step-by-step cooking mode. Powered by OpenAI and Google Gemini — switchable without an app update.
Built for developers and entrepreneurs who want to launch a polished, monetizable AI food app on the App Store and Google Play under their own brand.
Live Demo
⬇️ Download Demo APK (Android)
iOS: Build from source using Xcode — see documentation for instructions.
✨ Key Features
- Dual AI Providers — OpenAI & Google Gemini. Switch providers and models instantly via Firebase Remote Config — no app update needed.
- AI Recipe Generator — Enter pantry ingredients and get complete, realistic recipes with full nutrition data, chef tips, and ingredient substitutions.
- 7-Day AI Meal Planner — Auto-generate a full weekly meal plan balanced to your calorie goal, dietary preference, and cuisine variety rules.
- Smart Shopping List — Turn your weekly meal plan into a grocery list in one tap. Duplicate ingredients are merged across recipes with quantities added up, everything is grouped by supermarket aisle, and tick-off progress syncs and survives plan changes. Add your own items and share the list as text.
- Nutrition Tracker — Daily calorie ring (fl_chart), macro bars (protein / carbs / fat / fiber), one-tap food logging to any meal, water tracker, and weekly history.
- AI Nutrition Lookup — Log any food or meal with a tap and instantly get accurate calories & macros from AI — type the food, preview the nutrition, and add it to breakfast, lunch, dinner, or snack. No barcode scanning required.
- Step-by-Step Cooking Mode — Full-screen immersive view, wakelock (screen stays on), auto countdown timers, voice navigation, and an ingredients side panel.
- Serving Adjuster — Scale any recipe from 1 to 12+ servings. All ingredient quantities recalculate automatically with fraction formatting.
- Ingredient Substitutions — AI-powered substitution suggestions that respect your dietary preferences and allergies.
- ️ Voice Input — Speak your ingredients instead of typing using the built-in speech-to-text.
- Dark Mode — Full dark mode support on every screen. Toggled from Settings.
- Authentication — Email/Password, Google Sign-In, and Sign in with Apple via Firebase Auth.
- Recipe Library — Save, favorite, search, and filter your generated recipes. Grid & list toggle.
- Explore Screen — Curated recipe sections, trending dishes, and quick cuisine filters.
- Monetization Ready — RevenueCat subscription IAP + AdMob banner & interstitial ads built in. Free tier limits controlled from Remote Config.
- Push Notifications — Firebase Cloud Messaging (FCM) + local notifications for cooking timers and meal reminders.
- ⚙️ Remote Config — All API keys, free tier limits, and ad unit IDs are managed server-side. No app update required to change them.
What’s Included
- ✅ Complete Flutter source code (Android + iOS)
- ✅ All screens, widgets, providers, and services
- ✅ OpenAI & Gemini AI service implementations
- ✅ Firebase Auth, Firestore, Remote Config, FCM integration
- ✅ RevenueCat IAP subscription integration
- ✅ AdMob banner & interstitial ad integration
- ✅ Full documentation (HTML, offline-ready)
- ✅ Quick Start Guide
- ✅ Firestore Security Rules
- ✅ Free tier & premium tier logic
️ Tech Stack
- Framework: Flutter 3.24 / Dart 3.5
- State Management: Riverpod 2 + code generation
- Navigation: GoRouter
- AI — Primary: OpenAI (model set via Remote Config)
- AI — Secondary: Google Gemini (model set via Remote Config)
- Backend: Firebase Auth, Cloud Firestore, Remote Config, FCM
- Models: freezed + json_serializable
- HTTP: Dio
- Charts: fl_chart
- Calendar: table_calendar
- Fonts: Google Fonts — Montserrat
- Animations: Lottie, flutter_animate, shimmer
- IAP: RevenueCat (purchases_flutter)
- Ads: Google Mobile Ads (AdMob)
- Notifications: flutter_local_notifications + FCM
- Storage: Hive + SharedPreferences
- Voice: speech_to_text
- Wakelock: wakelock_plus
- Min iOS: iOS 15.6
- Min Android: API 21 (Android 5.0)
Design System
- Warm off-white palette — Whisk / Paprika inspired
- Primary accent: Saffron Orange (#F97316)
- Montserrat font throughout
- 8-level spacing system (AppSizes)
- Fully customizable — change brand color in one file
Free vs Premium
- AI Recipe Generation — Free: 5 per day · Premium: unlimited
- Recipes per session — Free: 1 · Premium: up to 5
- Save Recipes — Free: up to 20 · Premium: unlimited
- Meal Planner — Free: view only · Premium: AI auto-fill
- Nutrition History — Free: today only · Premium: full history
- Smart Shopping List — Free ✅ · Premium ✅
- Food Logging (AI Nutrition Lookup) — Free ✅ · Premium ✅
- Cooking Mode — Free ✅ · Premium ✅
- AdMob Ads — Free: shown · Premium: hidden
All free tier limits are adjustable in Firebase Remote Config — no code change needed.
Requirements
- Flutter 3.24.x (stable channel)
- Firebase project (free Spark plan works)
- OpenAI API key (or Google Gemini API key)
- Android Studio / Xcode for building
- RevenueCat account (optional — for paid subscriptions)
- AdMob account (optional — for ads)
Screens Included (28 total)
Splash · Onboarding (4 slides) · Dietary Setup · Goals Setup · Login · Register · Forgot Password · Home · Ingredient Input · Generation Progress · Generated Recipes · Recipe Detail · Cooking Mode · Cooking Complete · Meal Planner · Shopping List · Nutrition Tracker · Nutrition History · Recipe Library · Explore · Paywall · Profile · Edit Profile · Settings
Changelog
v1.2.0 — August 2026
- Smart Shopping List — build a grocery list from your weekly meal plan, automatically merged and grouped by supermarket aisle, with tick-off state, manual items, and one-tap sharing
- AI model IDs moved to Firebase Remote Config — switch models without an app update when a provider retires one
- Updated default Gemini models to the current generation
- Editable profile — change diet, allergies, cuisines, calorie and macro goals, household size, and units after onboarding, with a built-in BMR/TDEE calorie calculator
- Real subscription packages and pricing pulled from RevenueCat offerings
- Fixes: cooking timer notifications now fire, recipe ratings and cook counts persist reliably, logging streak tracks correctly, fiber is counted per meal, and scaled servings carry into cooking mode
v1.1.0 — July 2026
- Manual meal logging — log any food to breakfast, lunch, dinner, or snack with a single tap
- AI nutrition lookup surfaced in the tracker — type a food, preview calories & macros, then add
- Shared AI service provider used by both recipe generation and nutrition lookup
- Documentation & project guide refresh
v1.0.0 — March 2026 — Initial release
- All 26 screens fully implemented
- OpenAI & Gemini dual provider support
- RevenueCat + AdMob monetization
- Complete dark mode
- Step-by-step cooking mode with wakelock & timers
- Offline-ready HTML documentation
Support
We provide dedicated support for all buyers. Please include your CodeCanyon purchase code, your Flutter version (flutter --version), and a description of your issue when contacting us.
Typical response time: within 24 hours on business days.