
我的储藏室
Expiring Soon
You have items that need to be used up!
你的储藏柜是空的。我们来加点食物吧!
扫描小票
上传一张购物小票,可立即将物品添加到你的储藏室。
AI 正在读取你的小票…
读取小票失败
请确保照片光线充足、不模糊,文字完全清晰可见。拍照前可先将小票摊平。
检查物品
菜谱生成器
不知道做什么菜?AI 厨师会根据你储物柜里的食材和你拥有的厨房电器来设计一份菜谱。
AI 厨师正在思考……
选择一个创意
选择其中一个创意来生成完整菜谱。
Recipe Title
🛒 所需食材:
👨🍳 做法:
每周餐单
点按某一天以查看当天的计划餐食。
这一天还没有保存任何食谱。前往“主厨”标签页生成并保存一些吧!
你的食谱书
你已保存和喜爱的食谱。
还没有保存任何食谱。在「Chef」标签页里生成一些吧!
欢迎使用 Pantry Chef
以下是充分利用你的智能厨房的方法:
储藏室
储物柜:将食物整理为杂货、调味品和香料。跟踪保质期,并在食物将要变质前显示提醒横幅!添加你的常备食材,让 AI 更聪明。
补货
扫描小票:让 AI 读取你的购物小票并记录食材。如果扫描失败,我们会给出重试技巧,或引导你手动录入。
Chef
AI 厨师:根据你的储物柜、厨房电器和饮食偏好生成定制菜谱。它会记住你最近的 15 顿饭,让你不再感到乏味!
计划
每周计划:让自动计划向导帮你安排一周餐单!选择“全新开始”获取多样菜单,或选择“使用当前”清空冰箱。内含带地区价格的智能购物清单,你可以分享或复制!使用垃圾桶图标即可一键清空计划。
收藏库
食谱书:保存你最喜爱的作品,并在准备下厨时生成分步烹饪指引。
设置
自定义:更新所在位置以获得准确价格,并设置饮食方式、过敏源、卡路里等。
家庭档案
你的厨房电器
计量系统
应用语言
👨🍳 Pantry Chef
设置你的个人资料
告诉我们你的家庭情况和厨电设备,以便我们为你定制食谱。
你想如何添加食材?
加入储藏柜
餐单向导
让 AI 为你生成每周日程。
选择一天
购物清单
你为生成的餐单所需的食材。
快速添加基础食材
点选你已经有的食材,为你的 AI 大厨充能。
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.