A Flutter-based mobile application that helps users discover recipes based on ingredients they have at home. Simply take a photo of your ingredients, and let the app suggest delicious recipes. Save favorites, plan meals, and access nutritional information all in one place.
- Ingredient Analysis: Snap a photo of your ingredients for automatic detection and listing
- Recipe Suggestions: Get personalized recipe recommendations based on detected ingredients
- Recipe Details: Access comprehensive recipe information including ingredients, instructions, and nutritional facts
- Save Recipes: Bookmark your favorite recipes for quick future reference
- Meal Planning: Organize your weekly meals by scheduling recipes for specific days
- Nutritional Information: View detailed nutritional breakdown for each recipe
- Shopping List: Generate shopping lists from your planned meals' ingredients
- Flutter SDK: Required for development. Install Flutter
- Dart SDK: Included with Flutter installation
- API Keys: Required for core functionality:
- Spoonacular API - Recipe and nutritional data
- Groq API - Image analysis capabilities
-
Clone the repository:
git clone https://github.com/6ogo/fridge-recipe-app.git cd fridge-recipe-app -
Configure API keys:
- Create a
.envfile in the project root - Add your API keys:
SPOONACULAR_API_KEY=your_spoonacular_api_key GROQ_API_KEY=your_groq_api_key
- Create a
-
Install dependencies:
flutter pub get
-
Launch the app:
flutter run
Key packages used in this project:
flutter_dotenv: Environment variable managementhttp: API request handlingimage_picker: Camera and gallery image captureshared_preferences: User preferences and recipe storageflutter_cache_manager: API response cachingflutter_slidable: Swipeable list items
For a complete list of dependencies, refer to pubspec.yaml.
lib/
├── main.dart # Application entry point
├── home_page.dart # Main screen with photo capture
├── results_page.dart # Recipe suggestions display
├── recipe_details_page.dart # Detailed recipe information
├── saved_recipes_page.dart # Saved recipes management
├── api_service.dart # API integration handling
└── ingredients_page.dart # Detected ingredients display
- Launch the app
- Tap "Add Photo" on the home screen
- Take a photo of your ingredients
- Wait for automatic ingredient detection
- Browse suggested recipes based on detected ingredients
- Tap any recipe for detailed information
- Save: Tap the bookmark icon on recipe details
- Access Saved: Navigate to "Saved Recipes" tab
- Meal Planning: Swipe left on saved recipes to add to meal plan
- Nutritional Info: Available on recipe details screen
We welcome contributions! To contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Spoonacular API - Recipe and nutritional data
- Groq API - Image analysis capabilities
- Flutter - Development framework
Built with using Flutter