MacroMate is a premium, AI-powered macro tracking application built with Flutter. It helps users track their nutrition, weight, and habits with a sleek, dark-mode interface.
- AI Food Logging: Snap a photo or type a description (e.g., "Oatmeal with blueberries") to get instant macro analysis using Google Gemini.
- Smart Dashboard: Real-time tracking of Calories, Protein, Carbs, and Fat against your TDEE targets.
- Weight Tracker: Log your weight and visualize trends over time.
- Meal Planner: Plan your weekly meals (Breakfast, Lunch, Dinner, Snack).
- Shopping List: Automatically generate a checklist of ingredients from your meal plan.
- Habit Tracking: Track daily water intake with quick-add buttons.
- AI Coach: Chat with an AI nutritionist for personalized advice.
- Barcode Scanner: Scan food packages for quick logging (Mobile only).
- Framework: Flutter (Dart)
- State Management: Riverpod
- AI: Google Gemini API (
google_generative_ai) - Charts:
fl_chart - Storage:
shared_preferences(Local persistence) - Navigation:
go_router(Planned/Partial)
- Prerequisites: Ensure you have the Flutter SDK installed.
- Clone/Download: Get the source code.
- Install Dependencies:
flutter pub get
- Run the App:
flutter run
- Supports: Windows, Android, iOS, macOS, Linux, Web.
To enable AI features, you need a Google Gemini API Key.
- Get a key from Google AI Studio.
- Open the app and go to Settings.
- Enter your API Key and save.
(Add screenshots here)
Feel free to fork and submit Pull Requests!
MIT License