Built with CodeBuff 🚀
Welcome to FlavorAI, your AI-powered culinary companion! This project is designed to make meal planning and recipe exploration effortless and fun. Whether you're looking for AI-curated recipes, diverse food categories, or exciting culinary surprises, FlavorAI has it all.
- AI-Curated Recipes: Generate recipes tailored to your preferences.
- AI Diet Planner: Get personalized daily meal plans based on your health profile and fitness goals.
- Ingredient Image Analysis: Upload photos of available ingredients for smart recipe suggestions.
- Random Recipe Discovery: Discover a surprise recipe at the click of a button.
- Diverse Meal Categories: Browse through various categories like Beef, Chicken, Desserts, and more.
- Responsive Design: Optimized for devices of all sizes.
- Dynamic Search: Quickly find recipes with the integrated search bar.
- Voice Input: Use voice commands to describe your desired recipe.
- Text-to-Speech: Listen to recipe instructions while cooking.
- Smart Filtering: Filter recipes by dietary restrictions and cuisine types.
-
Recipe Generation
- Describe your desired dish
- Upload images of available ingredients
- Set dietary restrictions
- Choose cuisine type
- Adjust spice levels
- Get AI-generated recipes with images
-
AI Diet Planner
- Personalized daily meal plans
- Health-conscious recommendations based on blood sugar and blood pressure
- Fitness goal alignment (bulk, cut, maintain, general health)
- Nutritional breakdown for each meal
- BMR and TDEE calculations
- Dietary restrictions and allergy considerations
- Exercise and hydration recommendations
-
Recipe Search
- Quick search functionality
- Category-based browsing
- Random recipe discovery
- Detailed recipe views
-
Accessibility Features
- Voice input for hands-free operation
- Text-to-speech for recipe instructions
- Responsive design for all devices
- Clear, readable typography
Here are some screenshots of the project in action:
| Screenshot 1 | Screenshot 2 |
|---|---|
![]() |
![]() |
| Screenshot 3 | Screenshot 4 |
|---|---|
![]() |
![]() |
- Frontend: Next.js
- Backend: Fetches data from a custom API
- Styling: Tailwind CSS, DaisyUI
- AI Integration: OpenAI/Groq API
- Hosting: Vercel
-
Clone the repository:
git clone https://github.com/Ayushjhawar8/flavor-ai.git
-
Add Your Groq and Gemini Api key in
.env.samplefile and change file name to.env.local:GROQ_API_KEY=your_api_key_here GOOGLE_GENERATIVE_AI_API_KEY=your_google_gemini_api_key_here
-
Install dependencies:
cd Flavor-ai && npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
flavor-ai/
├── app/ # Next.js app directory
│ ├── ai/ # AI recipe generation
│ ├── category/ # Category pages
│ ├── meal/ # Individual meal pages
│ └── random/ # Random recipe page
├── components/ # Reusable components
├── lib/ # Utility functions
└── public/ # Static assets
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js, CodeBuff
- Styled with Tailwind CSS
- UI components from DaisyUI
- AI powered by Groq
Thanks to all the amazing people who have contributed to this project! 🎉
--- Built with CodeBuff 🚀


