
My Pantry
Expiring Soon
You have items that need to be used up!
Your pantry is empty. Let's add some food!
Scan Receipt
Upload a grocery receipt to instantly add items to your pantry.
AI is reading your receipt...
Failed to Read Receipt
Make sure the photo is well-lit, not blurry, and the text is fully visible. Try flattening the receipt before snapping.
Review Items
Recipe Generator
Don't know what to make? The AI Chef will design a recipe using the ingredients currently in your pantry and the appliances you own.
Chef AI is thinking...
Choose a Concept
Select one of these ideas to generate the full recipe.
Recipe Title
🛒 Ingredients Needed:
👨🍳 Instructions:
Weekly Meal Plan
Tap a day to view its planned meals.
No recipes saved for this day. Go to the Chef tab to generate and save some!
Your Cookbook
Your saved and favorite recipes.
No recipes saved yet. Generate some in the Chef tab!
Welcome to Pantry Chef
Here is how to get the most out of your smart kitchen:
Pantry
Pantry: Organizes food into Groceries, Condiments, and Spices. Tracks expiration dates and displays an alert banner before food goes bad! Add your staples for a smarter AI.
Restock
Scan Receipts: Let AI read your grocery bills and log items. If a scan fails, we'll give you tips to try again or guide you through manual entry.
Chef
Chef AI: Generates custom recipes based on your pantry, appliances, and dietary settings. It remembers your last 15 meals so you never get bored!
Planner
Weekly Planner: Let the Auto-Plan Wizard build your week! Choose 'Fresh Slate' for a diverse menu or 'Use Current' to clear the fridge. Includes a smart Shopping List with regional prices that you can Share or Copy! Use the trash icon to wipe the slate clean.
Library
Cookbook: Save your absolute favorite creations and generate step-by-step instructions when you are ready to cook.
Settings
Customize: Update location for accurate pricing, dietary lifestyle, allergies, calories, and more.
Household Profile
Your Kitchen Appliances
Measurement System
App Language
👨🍳 Pantry Chef
Set Up Your Profile
Tell us about your household and appliances so we can tailor recipes for you.
How would you like to add food?
Add to Pantry
Meal Plan Wizard
Let AI build your weekly schedule.
Select a Day
Shopping List
Ingredients needed for your generated meal plan.
Quick-Add Staples
Tap the items you already have to power up your AI Chef.
Loading Pantry Chef...
🤓 Stats & Lore for Nerds
Technical Specs
- Architecture: Vanilla JavaScript, HTML5, Tailwind CSS via CDN.
- State Management: In-memory objects synced to persistent isolated
miniappsAI.storage. - AI Engine: Utilizes Grok 4.1 Fast for structured menu planning (JSON Skeletons) and RolePlay v2 for detailed instruction generation.
- I18n: Built-in platform managed localization with dynamic string interpolation.
The Culinary AI Rules Engine
To prevent the AI from generating absolute chaos, strict prompts and firewalls are injected into every request:
- The Culinary Sanity Rule: Prevents potent ingredients (garlic, habaneros) from being measured by weight (e.g., "4 oz of habanero"). Converts them to counts.
- The Protein Form Rule: Forces the AI to respect the physical cut of meat. Prevents "Ground Beef Stir Fry" and forces tacos/chili instead.
- The Sweet vs. Savory Firewall: Implemented after the AI suggested Chicken Broth Oatmeal. Strictly prohibits savory liquids in sweet breakfasts.
- The Flavor Layering Rule: Forces the AI to build complex flavor profiles (Aromatics, Fats, Acids, Umami, Spices) based on authentic cuisines.
- Macro Math Engine: Mathematically divides the user's daily calorie goal across the selected tiers (e.g., 3 meals) and appends estimated calories to titles.
Development Lore & The Hall of Fame
Pantry Chef survived several apocalyptic events during development:
- The Habanero Incident: Early versions of the Chef repeatedly tried to assassinate users by treating habanero peppers as bulk vegetables (requesting 2-4 ounces per serving).
- The Curse of Jason Mendoza: A mischievous entity threw a Molotov cocktail at the regex parser, causing literal
\ncharacters to bleed into the UI and crash the JavaScript compiler. It required a full code scrub to recover. - Derek's Wind Chimes: Derek caused random parser errors by adding invisible characters. Mr. Hat watched silently from the corner, judging us all.
- Billionaire Mode: Added as a joke, but fully functional. The AI is explicitly instructed to create "comically lavish and pretentious" meals using Beluga caviar, edible gold leaf, and 50-year aged balsamic.
- The Smart Shopping List: Born from the realization that forcing users to eat entirely from a depleted pantry resulted in nightmare fusion dishes. Now, the AI designs a normal menu first, then intelligently cross-references inventory to build a shopping list!
Crafted with ❤️, 🌶️, and a lot of debugging.