Skip to content

kritsii/Flavor-ai

 
 

Repository files navigation

GSSoC'25


Flavor AI

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.

🎥 Demo

YouTube

🚀 Features

  • 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.

🎯 Key Functionalities

  1. 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
  2. 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
  3. Recipe Search

    • Quick search functionality
    • Category-based browsing
    • Random recipe discovery
    • Detailed recipe views
  4. Accessibility Features

    • Voice input for hands-free operation
    • Text-to-speech for recipe instructions
    • Responsive design for all devices
    • Clear, readable typography

Screenshots

Here are some screenshots of the project in action:

Screenshot 1 Screenshot 2
Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4
Screenshot 3 Screenshot 4

🖥️ Tech Stack

  • Frontend: Next.js
  • Backend: Fetches data from a custom API
  • Styling: Tailwind CSS, DaisyUI
  • AI Integration: OpenAI/Groq API
  • Hosting: Vercel

📦 Installation

  1. Clone the repository:

    git clone https://github.com/Ayushjhawar8/flavor-ai.git
  2. Add Your Groq and Gemini Api key in .env.sample file 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
  3. Install dependencies:

    cd Flavor-ai && npm install
  4. Run the development server:

    npm run dev
  5. Open http://localhost:3000 in your browser.

🎨 Project Structure

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

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

🔗 Links

👥 Contributors

Thanks to all the amazing people who have contributed to this project! 🎉

🔝 Back to Top

--- Built with CodeBuff 🚀

About

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.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 90.3%
  • TypeScript 9.4%
  • CSS 0.3%