DEV Community

Udhayavani
Udhayavani

Posted on

What's in My Kitchen? – An AI Cooking Friend Powered by Google Gemma

*What's in My Kitchen? – An AI Cooking Friend Powered by Google Gemma

This is my submission for the DEV Community Hacktoberfest Challenge – Build for a Friend.

What I Built

I created the concept of "What's in My Kitchen?", an AI-powered cooking assistant designed to help friends and family decide what to cook using ingredients already available at home.

Sometimes we open our refrigerator or kitchen cupboard and find several ingredients, but we don't know what to prepare with them. Instead of buying more groceries or wasting leftover food, this application helps users discover new recipes using what they already have.

The application uses Google's Gemma AI model to understand available ingredients and generate personalized recipe suggestions.

Main features:

  • Enter available kitchen ingredients.
  • Generate recipes using AI.
  • Get step-by-step cooking instructions.
  • Discover recipes using leftover ingredients.
  • Find alternative ingredients when something is missing.
  • Select vegetarian and non-vegetarian preferences.
  • Get quick and budget-friendly meal suggestions.
  • Ask cooking-related questions through an AI assistant.
  • Save favourite recipes.

The main innovation is using Gemma AI to understand ingredient combinations and generate useful cooking recommendations instead of simply displaying predefined recipes.

Demo

Live Demo: [ADD YOUR DEPLOYED WEBSITE LINK]

Demo Video: [ADD YOUR VIDEO LINK]

The demo will show how users enter available ingredients and receive AI-generated recipes with cooking instructions.

Code

GitHub Repository: [ADD YOUR PUBLIC GITHUB REPOSITORY LINK]

The repository will include the frontend, Python backend, Gemma AI integration, recipe generation system and installation instructions.

How I Built It

I developed this project using open-source technologies.

Technology Stack:

  • Frontend: HTML, CSS and JavaScript.
  • Backend: Python and Flask.
  • AI Model: Google Gemma.
  • AI Framework: Hugging Face Transformers.
  • Database: SQLite.
  • Interface: Responsive web design.

How Gemma AI works:

  1. The user enters the ingredients available in their kitchen.
  2. The backend sends the ingredients and preferences to the Gemma model.
  3. Gemma analyses the ingredients and understands the user's requirements.
  4. The model generates suitable recipe suggestions.
  5. The application displays recipe names, ingredients, preparation time and cooking instructions.
  6. Users can ask additional questions to the AI cooking assistant.

The application uses an open-weight AI model rather than depending on paid commercial AI APIs.

Why Does Open Innovation Matter?

Open innovation makes AI development accessible to students, independent developers and communities.

By using Google's Gemma model, developers can experiment with open-weight AI, customize applications and build useful solutions for everyday problems.

For this project, open innovation makes it possible to:

  • Build an AI-powered cooking assistant.
  • Experiment with open-weight language models.
  • Customize recipe generation.
  • Develop without depending entirely on expensive commercial APIs.
  • Encourage developers to contribute improvements.
  • Share useful technology with the community.

I believe open innovation helps transform simple everyday ideas into practical AI-powered solutions.

My Agent Session

[ADD YOUR DEVRELAY AGENT SESSION LINK IF AVAILABLE]

The Spirit of It

I wanted to create something simple but useful for someone close to me.

Many people face the same everyday question: "What should I cook today?"

Sometimes we have ingredients at home but lack ideas. Sometimes leftover food gets wasted because we don't know how to use it in another meal.

I wanted to build a small digital cooking friend that makes this process easier.

Instead of asking someone to buy more ingredients, this application helps them discover what they can create with what they already have.

My idea is simple:

Less Food Waste. More Creative Cooking. Smarter Everyday Living.

Prize Categories

[ADD ELIGIBLE PARTNER CATEGORIES IF APPLICABLE]

devchallenge #hf26challengeThis is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend*

What I Built

Demo

Code

How I Built It

Why Does Open Innovation Matter?

My Agent Session

Prize Categories

Top comments (0)