05 / 07

What Can I Cook

Tell it what is in your kitchen, or show it a dish you want. It finds what you can cook now, and what is one item away.

Problem
Recipe apps start from a dish. People start from a fridge. Searching “chicken” returns recipes that need eight things you do not own.
Solution
Two loops. Add what you have and get meals ranked by how close you are, or upload a photo of a dish and see what you would need next to what you already have.
Prototype
It is live. Open the app or try it just below.
Outcome
Shipped end to end: 74 recipes across 11 cuisines, photo analysis live on a free-tier model, and 69 passing tests on the matching and AI logic. No usage numbers yet, so I am not claiming any.
Role
Design and engineering
Year
2026
Stack
Next.js, React, TypeScript, Tailwind CSS, Zustand, Zod, Gemini vision
Link
try-what-can-i-cook.vercel.app

This is the real app, not a mock-up. Add a few ingredients, tap Find meals, and open a recipe.

Open it full screen for the desktop layout.

Recipe apps are built around dishes. You pick a dish, then find out what you are missing. The moment at home is the reverse: six things in the kitchen and no plan. A search for the one thing you have gives you recipes that need a trip to the shop, which is exactly what you were trying to avoid.

The brief I set was a fast kitchen decision tool, not a recipe database. Tell it what you have, or show it what you want, and help me cook something.

Pantry to meal: add ingredients, see what you can cook, compare, cook.

Meal to ingredients: upload a dish, confirm what it is, see the ingredients next to your pantry, and add the gaps to a shopping list.

Every decision had to strengthen one of those two loops. That is why the app stays small: Home, Pantry, Saved, Shopping, and one Upload button.

The What Can I Cook home screen with Use my ingredients and Upload a meal
Home makes the two jobs obvious in a few seconds.
Meal results grouped into Missing 1 ingredient and Almost there, each card naming what is missing
Seven ingredients in: nothing matches everything, so it shows what is one item away.
A recipe page showing you have 4 of 5 ingredients, with a shopping list shortcut and a substitute
A recipe splits Have and Missing, with a one-tap add to the shopping list and a substitute.

Meal to ingredients is the risky loop, because it leans on a model recognising food. So it follows three rules. It asks you to confirm the dish before showing ingredients. It never invents a result: no key means no analysis, and the app offers manual dish search instead. And any demo output is labelled as a sample, not an analysis.

Getting it running was a constraint puzzle. The Claude vision path was built and tested against a mocked SDK, but I had no API key. I tried free and local first: Ollama with a vision model on my Mac named 7 of 7 clear test photos, from Beef Wellington to a California roll, in 4 to 8 seconds once warm. That does not survive deployment, because Vercel cannot run it. So the hosted app uses Google’s Gemini free tier, with the key kept on the server. If the free quota runs out, the user sees “quota used up” instead of a silent failure. The app tries Claude, then Gemini, then Ollama, so changing provider is a setting, not a rewrite.

The upload screen with a framing guide and a search-by-name option
The upload screen sets expectations and offers a way out: search the dish by name.
The recipe page on a phone
The same recipe on a phone.
Next project FileTask Design Engineering

Hiring for a Bitcoin or fintech product team? Email me or book a call.