You open the fridge to find three random vegetables, half a block of tofu, and no plan. Instead of ordering takeout, you enter those ingredients into a simple interface and receive a complete recipe, wine pairings, and a realistic image of the finished dish. This is What to Eat.
Smart Recipe Generation Input your available pantry items and preferred cuisine, and the AI builds a full recipe. It eliminates the frustration of staring blankly at your kitchen shelves.
Nutrition Analysis Every dish includes a detailed nutritional breakdown and a health score, helping you keep track of exactly what you are consuming.
AI Imagery Generate a photo of the meal with a single click. See how the dish should look before you even begin prep.
Wine Pairing The system acts as a digital sommelier, suggesting a specific drink to complement the flavors of your meal.
Sauce Design Create custom signature sauces or dressings to give any dish a professional, personal touch.
Collection Save your favorite recipes to a personal library that is easy to search, sort, and reuse.
Kitchen Fortune A playful addition to your routine. Get a daily culinary fortune for a bit of extra fun while you cook.
Ready to try it out or tinker with the code? This project is open-source and ready for local setup.
Node.js 18 or newer.
git clone https://github.com/liu-ziting/what-to-eat.git and then cd what-to-eat.npm install to install dependencies.cp .env.example .env. Open .env and add your AI API keys.npm run dev to view and debug the app locally.npm run build for type checking and production bundling.npm run build:netlify.npm run preview to test the production build locally.What to Eat supports one-click deployment on Vercel and Netlify. Simply click the "Deploy" button and follow the prompts.
The application is compatible with OpenAI-style endpoints. Configure these in your .env file:
# Text generation (Lingyiwanwu)
VITE_TEXT_GENERATION_BASE_URL=https://api.lingyiwanwu.com/v1/
VITE_TEXT_GENERATION_API_KEY=your_text_api_key_here
VITE_TEXT_GENERATION_MODEL=yi-lightning
# Image generation (Zhipu AI)
VITE_IMAGE_GENERATION_BASE_URL=https://open.bigmodel.cn/api/paas/v4/
VITE_IMAGE_GENERATION_API_KEY=your_image_api_key_here
VITE_IMAGE_GENERATION_MODEL=cogview-3-flash
You can substitute these with any provider that follows the standard OpenAI specification.
src/config/cuisines.ts.src/views/.src/router/.src/services/aiService.ts.src/services/imageService.ts.
Semlib: Build LLM Pipelines With Map, Filter, and Sort in Python
BitzNet SD-WAN: Secure SD-WAN for Faster, Safer Internet Access
NeuralAgent: An Open-Source AI Agent for Native Desktop Automation
Checkmate: Open-Source Server Monitoring with Uptime Alerts
AI Interactive Fiction Generator Builds Stories You Actually Control
UTCP Explained: A Universal Tool Calling Protocol for APIs, LLMs, and Beyond
Firecrawl API: Converting Any Website Into Clean Markdown for LLMs
Seelen UI Setup: Customizing the Windows Desktop with YAML and Tiling
ChineseBQB: The Ultimate Archive of Chinese Memes—Search, Download, and Win Every Group Chat
SuperCoder: A Terminal-Based Coding Assistant for Searching, Editing, and Debugging
Cnchar: A Lightweight JavaScript Library for Pinyin, Stroke Order & Idioms
Shendeng VPN: Two Modes to Speed Up Games and Chinese Apps