Too much of tech, tired huh, lets do fun with bud Algolia :)
π³ Auto-Yum: AI-Powered Recipe Discovery with Intelligent Search
Turn pantry chaos into gourmet meals β instantly.
Link - https://nutra-blond.vercel.app/
Auto-Yum is an AI-powered recipe platform that generates personalized meals based on the ingredients you already have, your dietary needs, and the time you can spare. Every recipe the AI creates becomes searchable for the entire community through lightning-fast intelligent search.
This isnβt just recipe generation.
Itβs AI creation + smart discovery infrastructure working together.
π© The Problem
Home cooks struggle with three everyday challenges:
π΅ Decision Fatigue
βWhat can I make with these random ingredients?β
π§© Discovery Gap
Existing recipe sites rarely match your exact ingredients, diet, and time limit.
π Search Limitations
Traditional search canβt understand:
Ingredient substitutions
Dietary nuances
Fuzzy matches like βpastaβ β spaghetti or penne
π‘ Our Solution: AI Generation + Intelligent Indexing
Auto-Yum combines AI creativity with powerful search infrastructure so every generated recipe becomes part of a growing, searchable ecosystem.
Algolia Capabilites
Auto Sync - Synchronize all recipes from MongoDB to Algolia search index
Link - https://nutra-blond.vercel.app/admin/sync
π€ How the AI Works
Technology: Google Gemini 2.5-flash via Genkit
Generation Flow
User inputs:
Available ingredients
Dietary preferences
Time constraints
AI produces a complete, structured, nutritionally analyzed recipe.
π§ AI Capabilities
β Ingredient Intelligence β Suggests substitutions and flavor pairings
β Nutritional Precision β Calculates macros per serving
β Food Safety Awareness β Cooking warnings & storage tips
β Professional Quality β Equipment lists and pro techniques
β Flavor Profiling β Describes taste and texture experience
Example Input:
"chicken, spinach, garlic, rice" + high-protein + 30 minutes
AI Output:
A full recipe with:
15 structured steps
35g protein per serving
Equipment list
Variations
Storage instructions
π How We Use Algolia (The Brain of Discovery)
Algolia powers instant, intelligent discovery across all AI-generated recipes.
1οΈβ£ Automatic Indexing Pipeline
Every recipe is indexed with rich searchable attributes:
title, description
mainIngredients
ingredients.item (nested search)
searchKeywords (from original user input)
category, difficulty, source
2οΈβ£ Faceted Navigation
Users can filter recipes by:
π₯ Dietary Tags (Vegan, Keto, Gluten-Free, High-Protein)
π§βπ³ Difficulty (Easy / Medium / Hard)
β± Time Range (Quick meals vs slow-cooked)
π₯ Nutritional Goals (Calorie-conscious)
Each filter shows live result counts.
3οΈβ£ Smart Ranking
Popular and highly viewed recipes rise to the top using:
customRanking: ['desc(views)']
This creates a community feedback loop where the best AI recipes get discovered more often.
4οΈβ£ InstantSearch Experience
Using react-instantsearch, users get:
π Real-time search results
π― Multi-select filters
π Live stats ("Showing 12 of 47 recipes")
πΌ Beautiful recipe cards
β‘ Sub-50ms search response time
5οΈβ£ Smart Searchable Attributes
Searching for βpastaβ can return recipes containing:
Spaghetti
Penne
Fusilli
β¦even if βpastaβ isnβt in the title.
Thatβs ingredient-level intelligence, not keyword matching.
π Technical Architecture
Layer Technology
Frontend Next.js 15, React 19, TypeScript, Tailwind CSS
AI Engine Google Gemini 2.5-flash via Genkit
Search Algolia InstantSearch
Database MongoDB (source of truth)
Images Pexels API (auto-fetch per recipe keywords)
Sync Strategy
βοΈ Config Sync: Index settings applied on every batch sync
π What Makes Auto-Yum Original
π€ Dual Intelligence System
AI generates recipes β Algolia organizes and makes them discoverable.
Most recipe apps are static databases.
Auto-Yum is an ever-growing AI-powered food ecosystem.
π― Constraint-Based Discovery
βI have only vegetables and 20 minutes.β
β AI creates the recipe
β It gets indexed
β Others can find it using filters later
π Community Learning Loop
Great AI recipes get more views β Ranked higher β Discovered more often.
The system learns from user engagement, not just data.
π Proactive (Non-Chatbot) Intelligence
No chat conversation needed.
Input constraints β Get solution β Discover similar recipes instantly.
π¨ Usability Highlights
β
3-Step Flow: Enter ingredients β AI generates β Recipe instantly searchable
β
<50ms Search: Instant results with live filters
β
Mobile-First Design
β
Accessible (keyboard + screen reader friendly)
β
Real-time visual feedback for filters and results
π Impact
For Users:
Never waste ingredients again. Always have dinner ideas.
For the Community:
Every generated recipe improves discovery for everyone.
For Health:
Accurate nutritional data supports dietary goals.
For Search Innovation:
Demonstrates search as infrastructure for AI-generated content.
π¬ Demo Flow
Visit /discover
Enter: "tomatoes, basil, pasta"
AI generates Classic Margherita Pasta
Recipe is auto-indexed
Go to /search
Search "pasta" β Find it instantly
Apply filters: Easy + Under 30 min β Results refine in milliseconds
π§ Why This Is a βNon-Conversational AI Experienceβ
β Not a chatbot
β
Proactive assistance
β
AI generation embedded in workflow
β
Intelligent retrieval via filters & search
β
Every AI output becomes searchable knowledge
Algolia acts as the memory layer for AI creativity.


Top comments (0)