Skip to content

A fully responsive, AI-powered web app that helps users generate recipes, create meal plans, analyze nutritional values, and explore a global recipe library — all with AI-generated images and sharing capabilities.

Notifications You must be signed in to change notification settings

DivyangP2003/CookSmartAI

Repository files navigation

🍳 CookSmartAI – AI Powered Recipe & Meal Planner

A fully responsive, AI-powered web app that helps users generate recipes, create meal plans, analyze nutritional values, and explore a global recipe library — all with AI-generated images and sharing capabilities.

Landing


📝 About the Project

CookSmartAI is a modern, AI culinary platform that combines powerful machine learning with an elegant UI to transform the way people cook, plan meals, and track nutrition.

  • Effortlessly generate personalized recipes from ingredients or descriptions.
  • Get suggestions based on your local cuisine, dietary habits, and time zone to match your region's food preferences and eating schedules.
  • Create custom meal plans based on dietary preferences, allergies, budget, and serving size.
  • Perform deep nutritional analysis with detailed macro & micro nutrient breakdowns.
  • Explore a global recipe hub with user-generated content and advanced filtering.
  • Save your favorite recipes & meal plans, or share them instantly on social platforms.
  • Enjoy AI-generated dish images with the ability to regenerate in one click.

All features are integrated into a fully responsive, cross-device compatible web application powered by cutting-edge AI and cloud technologies.

🔗 Live Demo (Vercel)

Next.jsTailwind CSSSupabasePrismaClerkGemini AIHugging FacePollination AIcron-job.org


🧠 Features

  • AI Recipe Generator
    Enter one or more ingredients or describe a dish, and get an AI-generated recipe with:

    • Title, description, ingredients, instructions
    • Cooking time, preparation time, calories
    • AI-generated dish image (with regenerate image button)
    • Save to favorites, share via WhatsApp/Twitter/Email
  • 🍽️ AI Meal Plan Generator
    Create customized meal plans by specifying:

    • Number of days, people, budget
    • Dietary preferences & allergies
    • Get AI insights, nutrition details, shopping list
    • Download or save meal plans
  • 🧪 AI Nutritional Calculator

    • Input ingredients or recipe description
    • Get detailed macro & micro nutrient breakdown
    • AI-powered insights & recommendations
    • Download nutrition reports
  • 📷 AI Image Scanner

    • Upload a food image
    • Get AI-generated recipe or nutritional analysis
  • My Favorites

    • Save recipes & meal plans
    • Download or share saved items
  • 🌍 Explore Recipes

    • View all user-submitted recipes
    • Advanced filters, search & global rating system
  • 🕑 Location & Time Zone Aware Suggestions

    • Detects your current location & time zone
    • Recommends local cuisine & diet-specific meals
    • Adjusts meal times based on regional eating patterns
  • 📈 Ratings System

    • Standard Weighted global rating updates daily via CRON job
  • 📄 Additional Pages

    • About, Contact, Careers, Blog, Privacy Policy

🚀 Tech Stack

Area Tech Stack
Frontend Next.js, React, Tailwind CSS
Backend Next.js API Routes
Database Supabase (PostgreSQL), Prisma ORM
Authentication Clerk
AI Models Gemini API, Pollination AI (fallback: Hugging Face)
Image Generation Pollination AI + Hugging Face
Cron Jobs cron-job.org
UI Tailwind CSS
Hosting Vercel

📸 Screenshots

🌟 Full Page & ⭐ MyFavourites

FullPage MyFavourites
FullPage MyFavourites

🔝 TopRecipes_HomePage & 🏠 Landing_page

TopRecipes_HomePage Landing_page
TopRecipes_HomePage landing_page_hero

🍳 Ai_RecipeGenerated & 🧾 Ai_Recipgenerator

Ai Recipe Generated Ai_Recipgenerator
Ai_RecipeGenerated Ai_Recipgenerator

📷 Scanned Nutrition & 📷 Scanned recipe

Scanned Nutrition Scanned recipe
Scanned Nutrition Scanned recipe

📱 AI ImageScanner & 🥗 Recipe Card

AI Image Scanner Recipe Card
AllmageScanner RecipeCard

🌍 Explore World Recipe & 🧪 Nutrition Calculator

Explore World Recipe Nutrition Calculator
ExploreWorldRecipe NutritionCalculator

📊 Detailed NutritionCard & 📈 AI Insights_Nutrition

Detaile dNutritionCard AI Insights_Nutrition
DetailedNutritionCard AllinsightsNutrition

🧮 Calculated Nutrition & 🧾 PDF MealPlan

Calculated Nutrition PDF MealPlan
CalculatedNutrition PDF_MealPlan

🛒 ShoppingList & 🍽️ Generated MealPlan

ShoppingList Generated MealPlan
ShoppingList_Meal GeneratedMealPlan

🧠 MealPlanAllinsights & 🤖 Ai_MealPlannerPage

MealPlan Al Insights AI MealPlanner Page
MealPlanAllinsights Ai_MealPlannerPage

📤 Share Recipe Dialog & 🎨 AI Image Regeneration

Share Recipe Dialog Ai Image Regeneration
ShareRecipeDialog Ai_ImageRegeneration

🤸 Quick Start

Follow these steps to set up the ExpensIQ - AI Powered Personal Finance Manager project locally on your machine.

🔧 Prerequisites

  • Git
  • Node.js (v18+)
  • npm

📁 Cloning the Repository

git clone https://github.com/yourusername/CookSmartAI.git
cd expensiq

📦 Installation

npm install

🧬 Prisma Setup

After installing dependencies and setting up environment variables, initialize your database:

npm i -D prisma
npx prisma init
npx prisma migrate dev --name create-models

🔐 Environment Variables

Make sure to create a .env file in root of your project with the following variables:

DATABASE_URL=
DIRECT_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
GEMINI_API_KEY=
CRON_SECRET=
HUGGING_FACE_API_KEY=

Replace the placeholder values with your actual credentials.

▶️ Running the Project

npm run dev

Open http://localhost:3000 in your browser to view the project.


🆘 Support

If you find this project useful, consider giving it a ⭐


🧑 Authors


🙏 Acknowledgements

Special thanks to the following platforms for their tools:

About

A fully responsive, AI-powered web app that helps users generate recipes, create meal plans, analyze nutritional values, and explore a global recipe library — all with AI-generated images and sharing capabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •