Skip to content

rithwik1510/FridgeChef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FridgeChef

Version Next.js FastAPI Groq Tailwind CSS

The Intelligent Kitchen Operating System

Turn your fridge into a five-star pantry with the power of generative AI.

Explore the PlatformView API DocsImplementation Plan


The Vision

FridgeChef bridges the gap between available ingredients and culinary inspiration. Using cutting-edge computer vision and generative AI, it acts as a digital sous-chef that understands your kitchen inventory, dietary preferences, and cooking goals. By automating ingredient recognition and recipe engineering, the platform reduces food waste and simplifies daily meal planning.


Platform Interface

Intelligent Dashboard

The central command center for tracking recent scans, browsing personalized recipe suggestions, and managing kitchen inventory at a glance.

FridgeChef Dashboard

AI-Powered Scanning

Snap a photo of your fridge or pantry. The Groq-powered vision pipeline identifies ingredients, estimates quantities, and determines freshness instantly, eliminating the need for manual data entry.

AI Scan Interface

Recipe Discovery

Browse recipes specifically matched to your current inventory. The AI understands flavor profiles and cooking techniques to provide the perfect meal based on what you already have.

Recipe Discovery

System Architecture

1. AI & Computer Vision Pipeline

At the core of FridgeChef is Groq-hosted Llama models.

  • Ingredient Detection: Images are processed via the FastAPI backend and sent to Groq with specialized multimodal prompts for identification and categorization.
  • Generative Recipe Logic: Recipes are generated on-the-fly, considering inventory combinations, dietary restrictions, and difficulty levels.

2. Frontend Architecture

  • Next.js 14 (App Router): Utilizing React Server Components and optimized routing.
  • React Query (TanStack): Manages server-state with automatic caching and background synchronization.
  • Zustand: Handles lightweight client-side state for authentication and UI preferences.
  • PWA Integration: Full Progressive Web App support for mobile installation and offline capabilities.

3. Backend Infrastructure

  • FastAPI: An asynchronous Python framework handling high-concurrency AI requests with minimal latency.
  • SQLAlchemy 2.0 & PostgreSQL: Modern ORM patterns ensuring data integrity for user profiles, inventory, and saved recipes.
  • Security & Rate Limiting: Integrated JWT authentication and SlowAPI rate limiting to protect infrastructure.

Core Capabilities

  • Computer Vision Analysis: Automatic identification of ingredients from smartphone photos.
  • Generative Recipe Engineering: Custom recipes optimized for specific inventory and user preferences.
  • Inventory Intelligence: Real-time matching between recipes and digital pantry contents.
  • Smart Shopping Lists: Automated generation of lists for missing ingredients.
  • Mobile-First Design: Responsive PWA with smooth micro-interactions and high-performance UI.

Deployment & Setup

Quick Start (Docker)

  1. Clone: git clone https://github.com/rithwik1510/FridgeChef.git
  2. Environment: cp .env.example .env and add your Groq API Key.
  3. Launch: docker-compose up -d

Manual Installation

Backend Environment

cd backend
python -m venv venv
# Windows: venv\Scripts\activate | Unix: source venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload

Frontend Environment

cd frontend
npm install
npm run dev

Verification & Testing

FridgeChef includes comprehensive test suites to ensure system reliability and security.

Backend Suite

cd backend
pytest                    # Run all tests
pytest --cov              # Run with coverage report
ruff check .              # Linting
mypy .                    # Type checking

Frontend Suite

cd frontend
npm run test              # Run unit tests
npm run test:coverage     # Run with coverage report
npm run lint              # Run ESLint

Contributing

We welcome contributions to the FridgeChef ecosystem. Please refer to CLAUDE.md for development guidelines and IMPLEMENTATION_PLAN.md for the project roadmap.

Distributed under the MIT License.

Developed by Rithwik

Precision-engineered for the modern kitchen.

About

Ai powered, recipe advisor app

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors