Pantry Chef AI

AI-powered cooking assistant that generates recipes from available ingredients with dietary and time filters

Pantry Chef AI

Pantry Chef AI

Overview

Pantry Chef AI is an AI-powered cooking assistant that turns the ingredients you already have into recipes. Enter what's in your pantry, apply dietary and time constraints, and let Google AI (via Genkit) generate recipe ideas tailored to what's available.

Key Features

  • Recipe Generation: Generate recipes from a list of available ingredients
  • Dietary Filters: Tailor suggestions to dietary restrictions and preferences
  • Time Filters: Filter recipes by how long they take to prepare
  • AI-Powered: Google AI models orchestrated through Genkit
  • Clean UI: Responsive interface built with Radix UI primitives

Technical Stack

  • Framework: Next.js, TypeScript
  • AI: Genkit, Google AI
  • Data: Prisma ORM
  • Styling: Tailwind CSS, Radix UI
  • Validation: Zod

Architecture

The application follows a modern AI-enhanced Next.js architecture:

  • Frontend: Next.js with React and Radix UI components
  • AI: Genkit flows calling Google AI models for recipe generation
  • Data Layer: Prisma ORM for type-safe data access
  • Validation: Zod schemas validating inputs and AI output

Challenges & Solutions

  • Reliable AI Output: Used Genkit with Zod schemas to keep generated recipes structured
  • Relevant Suggestions: Combined ingredient input with dietary and time filters
  • User Experience: Designed a simple flow from ingredients to recipe ideas
  • Type Safety: End-to-end TypeScript with Prisma and Zod

Impact & Results

  • Food Waste Reduction: Helps users cook with what they already have
  • Cooking Inspiration: Provides creative recipe ideas on demand
  • Personalization: Dietary and time filters make suggestions practical