Welcome to the Healthy Snack Ideas Generator!
This Flask-based web app helps users generate healthy snack ideas based on the ingredients they have at home. It uses the Groq API to power the AI-driven snack suggestions. Users can save their favorite snacks to a personalized diet plan.
Live Demo: https://hackathon-39uq.onrender.com/
- 🧠 AI-Powered Snack Ideas: Generate healthy snack ideas based on ingredients and optional goals (e.g., lose weight, high protein).
- 📋 Save to Diet Plan: Save your favorite snacks to a personalized list.
- 🗑️ Remove Snacks: Easily remove snacks from your plan.
- 💻 Simple and Intuitive UI: Built with Tailwind CSS for a clean, modern experience.
Make sure you have the following installed:
- ✅ Python 3.8+
- ✅ pip (Python package manager)
- ✅ Groq API Key (Get it here)
git clone https://github.com/medmahmoudhdaya/hackathon.git
cd hackathon
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
- Copy the
.env.example
file to.env
:
cp .env.example .env
- Open the
.env
file and add your Groq API Key:
GROQ_API_KEY=your_groq_api_key_here
💡 Replace
your_groq_api_key_here
with your actual key from Groq
flask run
# Rename this file to .env and add your API key below
GROQ_API_KEY=your_groq_api_key_here