A command-line recipe assistant that:
- Generates recipes using a local AI model (Ollama)
- Searches real recipes using Google Custom Search
- Uses keyword-based input with smart preprocessing
This project works fully offline for AI generation and online for Google search.
- 🧠 Local AI recipe generation (no OpenAI API needed)
- 🔍 Google recipe search option
- 🧺 Ingredient & taste preference detection
⚠️ Warnings for unclear inputs- 🔐 Secure API key handling using
.env - 🖥️ Interactive CLI with exit support
- Python 3.9+
- Ollama installed and running
llama3model pulled- Google Custom Search API (for search mode)
(If downloading from GitHub website, extract the files)
ollama pull llama3
Option 1: Generate Recipe (AI)
Enter at least 5 ingredients (comma-separated)
Add optional taste preferences like sweet, tangy, spicy
Wait while the recipe is generated
Choose option 2
Enter ingredients
View real recipe links from Google
Type bye anytime to exit the program