Pantry Chef
Loading...

My Pantry

⚠️

Expiring Soon

You have items that need to be used up!

🛒 Groceries 🥫 Condiments 🧂 Spices & Staples
🍎

Your pantry is empty. Let's add some food!

Scan a Receipt Add Manually

Scan Receipt

Upload a grocery receipt to instantly add items to your pantry.

Take Photo Upload from Gallery

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.

Try Again Enter Manually

Review Items

Cancel
Add Selected to Pantry
👨‍🍳

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.

Recipe Style
Difficulty
Generate Recipe
🥘

Chef AI is thinking...

Choose a Concept

Select one of these ideas to generate the full recipe.

Cancel

Recipe Title

⏱️ 30 mins Easy

🛒 Ingredients Needed:

👨‍🍳 Instructions:

Save to Planner Save to Library

Weekly Meal Plan

🛒 Shopping List 🪄 Auto-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:

1️⃣

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.

2️⃣

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.

3️⃣

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!

4️⃣

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.

5️⃣

Library

Cookbook: Save your absolute favorite creations and generate step-by-step instructions when you are ready to cook.

6️⃣

Settings

Customize: Update location for accurate pricing, dietary lifestyle, allergies, calories, and more.

Household Profile

Edit
Number of People 2
Appetite Size Standard
Dietary Lifestyle None
Allergies/Dislikes None
Daily Calorie Goal None
Spice Preference Medium
Location & Currency Not set

Your Kitchen Appliances

Measurement System

App Language

👨‍🍳 Pantry Chef

Pantry Restock Chef Planner Library
🤓 Stats for Nerds

Set Up Your Profile

Tell us about your household and appliances so we can tailor recipes for you.

Number of People
Appetite Size
Dietary Lifestyle
Daily Calorie Goal (Optional)
Allergies & Dislikes
Location & Currency
Spice Preference
Your Kitchen Appliances
Save & Continue

How would you like to add food?

Scan a Receipt Add Manually
Cancel

Add to Pantry

Food Name (e.g. Milk)
pantry.tab
pantry.group
\n Best By Date\n \n
Amount Left
Cancel Save Item

Meal Plan Wizard

Let AI build your weekly schedule.

Days to Plan
Meals per Day
Budget & Strategy
Pantry Usage
Cancel Generate Plan

Select a Day

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
Cancel

Shopping List

Ingredients needed for your generated meal plan.

You have everything you need! No groceries required.
Total Est. Cost: $00.00
Clear List Share Copy to Clipboard

Quick-Add Staples

Tap the items you already have to power up your AI Chef.

Add
Add to Pantry

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 \n characters 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.