FoodSight AI is a smart, AI-powered meal planning and pantry management application built with Flutter. It leverages Google's Gemini 1.5 Flash to analyze food items via camera and generate personalized recipes, helping users reduce food waste and cook creative meals.
- Instant Recognition: Point your camera at groceries to automatically identify them.
- Smart Details: Auto-detects item names, categories, and estimates freshness/expiry dates.
- Seamless Integration: Directly adds scanned items to your digital pantry.
- AI Recipe Generation: Creates custom recipes based only on the ingredients you currently have.
- Detailed Instructions: Provides step-by-step cooking guides, nutritional breakdowns, and calorie counts.
- Adaptive Cooking: Suggests meals that fit your dietary preferences (Coming Soon).
- Inventory Tracking: Keep track of what's in your fridge.
- Expiry Alerts: Visual indicators for expiring soon items (Freshness Score).
- Categorization: Organized views for Vegetables, Fruits, Dairy, etc.
- Glassmorphic Design: Premium aesthetic with blur effects and gradients.
- Smooth Animations: Powered by
flutter_animatefor a delightful user experience. - MVVM Architecture: Clean, maintainable code using Riverpod for state management.
- Framework: Flutter
- State Management: Riverpod
- AI Model: Google Gemini 1.5 Flash (
google_generative_ai) - Backend: Firebase (Auth & Firestore)
- Animations:
flutter_animate,lottie - Navigation: Standard Flutter Navigation (moving to GoRouter planned)
- Flutter SDK installed.
- A Gemini API Key from Google AI Studio.
-
Clone the repository
git clone https://github.com/dj2313/foodinsightai.git cd mealplanner -
Install Dependencies
flutter pub get
-
Environment Setup
- Create a
.envfile in the root directory. - Add your API Key:
GEMINI_API_KEY=your_actual_api_key_here
- Note: The
.envfile is git-ignored for security.
- Create a
-
Run the App
flutter run
(Add screenshots of Onboarding, Home, Pantry, and Recipe screens here)
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.