Skip to content

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:

  • Clerk โ€“ authentication and user management
  • Supabase โ€“ backend database and real-time support
  • Cron-job.org โ€“ background jobs and CRON scheduling
  • ShadCN UI โ€“ UI component library
  • Gemini API (Google AI) โ€“ AI for analysis and image analysis
  • Pollination AI - AI for geneartion of receipe image and regeneration of image
  • Vercel โ€“ frontend hosting and CI/CD

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages