Inspiration

Meal Builder was inspired by a common problem: having food at home but not knowing what to make. We wanted to help people reduce food waste, save money, and make everyday meal planning easier.

What it does

Meal Builder tracks the foods and quantities users have in their refrigerator or pantry. AI then recommends personalized recipes based on those ingredients, desired portions, meal type, nutrition goals, dietary preferences, and preparation time. Users can save recipes and see whether they currently have everything needed to make them.

How we built it

We built a responsive, dependency-free web application using HTML, CSS, and JavaScript. A Cloudflare Worker securely connects the app to OpenAI for recipe generation, while D1 stores account-specific pantry items and favorite recipes. Sign in with ChatGPT provides secure user authentication.

Challenges we ran into

Key challenges included working around restricted package downloads, designing reliable structured AI responses, comparing recipe requirements against pantry quantities, protecting the OpenAI API key, and configuring database-backed deployment without a traditional build system.

Accomplishments that we're proud of

We created a polished, responsive application without relying on external frontend packages. Meal Builder supports AI-generated recipes, detailed pantry quantities, flexible filters, portion adjustments, secure accounts, persistent favorites, and live ingredient-readiness checks.

What we learned

We learned how important structured ingredient data is for accurate recipe matching. We also gained experience building secure AI endpoints, managing account-specific data, creating dependency-free interfaces, and deploying a full-stack application with serverless infrastructure.

What's next for Meal Builder

Next, we plan to add expiration-date tracking, shopping lists, allergy controls, recipe substitutions, barcode or receipt scanning, better nutritional analysis, household sharing, cooking history, and improved safeguards for public AI usage.

Built With

  • chatgpt
  • codex
Share this project:

Updates