Recipe Roulette: How We Built a Wheel for "What's for Dinner?"

Every family knows the question. It's 5:30, everyone's hungry, and somebody asks, "What's for dinner?" Then comes the long pause, the shrug, and somehow we end up making the same five meals again. So I built a little app to answer that question for us. It's called Recipe Roulette, and here's how it came together.
Picking the idea
I've been experimenting with using Claude to build small apps for this site. I asked for a list of app ideas that each mix two free online data sources, and one jumped out right away: spin a wheel, get a recipe from somewhere in the world, and learn a little about the country it comes from. Dinner and a geography lesson in one spin.
I had two rules. First, only great recipes. Nobody wants to spin and land on something sad. Second, people should be able to vote recipes up or down, so the family favorites come up more often and the flops fade away.
Where the recipes come from
The recipes come from TheMealDB, a free recipe database. The catch was that TheMealDB doesn't have ratings, so "only top-rated recipes" needed a different plan. Instead of guessing, we hand-picked 58 well-loved classics from around the world, and checked that each one has a full recipe, a photo and a how-to video. Think spaghetti carbonara, Beef Wellington, pad thai, pho, beef rendang, coq au vin and, of course, poutine.
From there, your votes are the ratings.
The country facts (plan B)
The second data source was supposed to be a free country-facts service. It turned out that service had shut down its free version and now needs an account. So we went old school: every country on the wheel got its facts written right into the app. When you land on a recipe, you see the country's flag, capital, population, languages, money, and a fun food fact. For example, did you know carbonara as we know it only shows up in print after World War II?
How the voting works

Every recipe has a thumbs up and a thumbs down. The scores are shared by everyone who visits, and nobody has to sign in. Here's the fun part:
Every net +4 votes doubles a recipe's chance of coming up, up to 16 times as likely.
A recipe that sinks to −5 drops off the wheel entirely.
You get one vote per recipe, and clicking your vote again takes it back.
A little "Crowd favorites" board shows which recipes are winning. The first votes are already in, so the race is on.
Adding our own family recipes
Once the wheel was spinning, I realized the meals I actually wanted on it were ours. So the same night, we added a way for me to type in my own recipes, with ingredients, steps, a photo and an optional video.
To get a head start, I had another AI, Gemini, gather 36 of our favorite recipes into one file. Claude checked every one before loading them, which turned out to be a good idea. Eight of the photos were broken or showed the wrong dish. My favorite mix-up: the "Chick-fil-A sandwich" photo was actually a BBQ beef sandwich. Those eight show the country's flag for now until we can snap our own pictures. We also added South Korea to the map so our three Korean dishes would have a home.
Our recipes span the United States, Italy, Mexico, China, South Korea, Japan, Greece and Thailand, from Sarah's Favorite Ritz Chicken to Mongolian Beef to homemade chicken gyros. And yes, Easy Fluffy Pancakes made the list, so if you spin for dinner you might just get breakfast. We're calling that a feature.
That brings the wheel to 94 recipes: 58 world classics plus our 36 family favorites.
A few bumps along the way
Not everything went smoothly. My code changes tripped over each other once and had to be merged by hand, and I ran the app on my own laptop to try it out while the live site updated. It was a good reminder that even small projects need a little patience.
Give it a spin
Recipe Roulette is app number 6 of 30 on FunAwesome. Head over to Recipe Roulette, spin the wheel, and vote for the dishes your family loves. If it lands on something new, try it! Then come back and tell us what you made. Our next job is cooking those eight photo-less recipes and taking pictures, which sounds like a pretty good homework assignment.


