ReFresh is an AI-powered smoothie recipe generator that helps you create delicious shakes based on the ingredients you have at home. Powered by Google's Gemini API, it crafts the perfect recipe tailored to your sweetness and thickness preferences.
Note: The majority of this project's code, design, and documentation was created on Google's Antigravity IDE.
- AI Recipe Generation: Select your ingredients, and let Gemini create a unique smoothie recipe for you.
- Customizable Preferences: Adjust sweetness and thickness levels to your liking.
- Smart Suggestions: The AI suggests missing ingredients to balance flavor and texture.
- Save Favorites: Save your best creations to your personal "Saved Shakes" list.
- Share Recipes: Generate a unique link to share your recipes with friends.
- Ingredient Management: Add custom ingredients or remove unwanted ones.
- Framework: Next.js 15
- Styling: Tailwind CSS
- AI: Google Gemini API
- Icons: Lucide React
- Node.js 18+ installed.
- A Google Gemini API Key.
-
Clone the repository:
git clone https://github.com/yourusername/refresh.git cd refresh -
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.localfile in the root directory and add your Gemini API key:NEXT_PUBLIC_GEMINI_API_KEY=your_api_key_here
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
- Pick Ingredients: Tap on the ingredients you have available. Long-press to delete custom ones.
- Customize: Use the sliders to set your desired sweetness and thickness.
- Shake!: Click "Shake Shake!" to generate your recipe.
- View & Save: See your recipe, including AI suggestions. Click "Save" to keep it for later.
- Share: Click the "Share" button to send the recipe to a friend.
This project is licensed under the MIT License.