Byte Bites is a web application built with Reflex that generates recipes using AI. It features recipe scaling, ingredient conversion, and an intuitive user interface.
- AI-powered recipe generation
- Dynamic serving size adjustment
- Interactive recipe display
- Responsive design
- Modern UI with animations
- Python 3.8 or higher
- pip (Python package installer)
- Clone the repository
git clone <repository-url>
cd byte-bites- Create and activate a virtual environment
# Windows
python -m venv venv
venv\Scripts\activate
# macOS/Linux
python -m venv venv
source venv/bin/activate- Install dependencies
pip install reflex
pip install -r requirements.txt- Environment Setup
Create a .env file in the root directory with your API keys:
TOGETHER_API_KEY=your_together_api_key_here
GEMINI_API_KEY=your_google_api_key_here
- Start the development server
reflex run- Open your browser and navigate to:
http://localhost:3000
To work on the application:
- Frontend components are in
byte-bites/app/sections/ - Main app configuration is in
byte-bites/app/app.py - State management is handled in
byte-bites/app/sections/state.py
byte-bites/
├── app/
│ ├── sections/
│ │ ├── hero.py
│ │ ├── input.py
│ │ ├── nav.py
│ │ ├── recipe.py
│ │ └── state.py
│ └── app.py
├── assets/
├── requirements.txt
└── .env
- Reflex - Web framework
- Gemini - AI recipe generation
- Flux.1 schnell - Recipe image generation
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.