Skip to content

PantryChef is an AI-powered kitchen assistant that helps reduce household food waste by matching your available ingredients with personalized recipes. Transform leftovers into delicious meals, learn cooking techniques, and join a community of waste-conscious cooks.

Notifications You must be signed in to change notification settings

busa0019/PantryChef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍳 PantryChef – AI-Powered Food Waste Reduction Platform

React TypeScript Tailwind CSS GitHub

PantryChef Hero

Transform your leftovers into delicious meals with AI-powered recipe matching and smart kitchen management.


✨ Live Demo

https://pantry-chef-brown.vercel.app/


🎯 Features

🧠 Smart AI Integration

  • AI Recipe Matching – Intelligent algorithm finds perfect recipes based on available ingredients
  • Ingredient Scanner – Camera-based ingredient recognition with quantity estimation
  • Expiration Tracking – Smart notifications for ingredients nearing expiration

πŸ‘¨β€πŸ³ Educational Content

  • Master Methods – Step-by-step cooking technique tutorials
  • Interactive Tutorials – Hands-on guides with pro tips and video demonstrations
  • Cooking Fundamentals – Learn essential skills to cook smarter and waste less

πŸ›’ Smart Kitchen Management

  • AI Shopping Lists – Intelligent grocery lists based on meal plans
  • Pantry Inventory – Track ingredients with expiration alerts
  • Meal Planning – Weekly planning to minimize waste from the start

πŸ‘₯ Community Platform

  • Community Q&A – Get answers from both AI and experienced cooks
  • Recipe Sharing – Share your creations and discover community favorites
  • Progress Tracking – Monitor your waste reduction and savings

πŸ” User Experience

  • Secure Authentication – Social login and email/password authentication
  • Personal Dashboard – Track your environmental impact and savings
  • Mobile Responsive – Fully responsive design for all devices
  • WCAG 2.1 Compliant – Accessible to all users

πŸ“Έ Screenshots

Home Page Recipe Finder Shopping List
Master Methods Community Q&A User Dashboard

πŸš€ Quick Start

Prerequisites

  • Node.js 16.x or higher
  • npm or yarn
  • Modern web browser

Installation

# Clone the repository
git clone https://github.com/busa0019/PantryChef.git

# Navigate to project directory
cd PantryChef

# Install dependencies
npm install

# Start development server
npm start

The application will open at http://localhost:3000

Build for Production

# Create production build
npm run build

# Deploy to GitHub Pages
npm run deploy

πŸ› οΈ Tech Stack

Frontend Framework

  • React 18 with TypeScript
  • Tailwind CSS for styling
  • Create React App for build tooling

Key Libraries

  • React Hooks for state management
  • LocalStorage for data persistence
  • React Icons for iconography

Development Tools

  • TypeScript for type safety
  • ESLint for code quality
  • PostCSS for CSS processing

πŸ“ Project Structure

PantryChef/
β”œβ”€β”€ public/                 # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/        # React components
β”‚   β”‚   β”œβ”€β”€ Header.tsx
β”‚   β”‚   β”œβ”€β”€ Hero.tsx
β”‚   β”‚   β”œβ”€β”€ Features.tsx
β”‚   β”‚   β”œβ”€β”€ HowItWorks.tsx
β”‚   β”‚   β”œβ”€β”€ IngredientScanner.tsx
β”‚   β”‚   β”œβ”€β”€ RecipeFinder.tsx
β”‚   β”‚   β”œβ”€β”€ ShoppingList.tsx
β”‚   β”‚   β”œβ”€β”€ MethodsSection.tsx
β”‚   β”‚   β”œβ”€β”€ MethodCard.tsx
β”‚   β”‚   β”œβ”€β”€ CommunityQA.tsx
β”‚   β”‚   β”œβ”€β”€ DashboardPreview.tsx
β”‚   β”‚   β”œβ”€β”€ CommunitySection.tsx
β”‚   β”‚   β”œβ”€β”€ Footer.tsx
β”‚   β”‚   β”œβ”€β”€ LoadingSpinner.tsx
β”‚   β”‚   └── LoginModal.tsx
β”‚   β”œβ”€β”€ App.tsx
β”‚   β”œβ”€β”€ index.tsx
β”‚   └── index.css
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.js
β”œβ”€β”€ tsconfig.json
└── README.md

πŸ”‘ Key Features in Detail

1. AI-Powered Recipe Matching

  • Ingredient-based search
  • Dietary filters (Vegetarian, Vegan, Keto, Gluten-Free)
  • Time-based filtering (under 30 minutes)
  • Match percentage scoring

2. Smart Shopping List

  • AI-generated grocery lists
  • Priority sorting for expiring items
  • Cost estimation
  • Category organization

3. Cooking Techniques Library

  • Step-by-step guides with pro tips
  • Difficulty levels
  • Video tutorials
  • Tool requirements

4. Community Engagement

  • Q&A forum
  • Recipe sharing
  • Waste reduction tracking
  • Expert contributors

β™Ώ Accessibility Features

PantryChef follows WCAG 2.1 AA guidelines:

  • Semantic HTML
  • Full keyboard navigation
  • ARIA labels
  • 4.5:1 minimum color contrast
  • Visible focus indicators
  • Descriptive alt text

πŸ“± Responsive Design

  • Mobile-first approach
  • Breakpoints: sm, md, lg, xl
  • Touch-friendly UI
  • Performance optimized with lazy loading

🌱 Environmental Impact

Statistics Tracked

  • Food waste reduced
  • Money saved
  • COβ‚‚ reduction
  • Recipes created

Sustainability Goals

  • Reduce food waste by 60%
  • Save resources
  • Educate users
  • Build a waste-conscious cooking community

πŸ”§ Development

Available Scripts

npm start
npm test
npm run build
npm run deploy
npm run eject

Code Style

  • TypeScript (strict mode)
  • ESLint (Airbnb style guide)
  • Prettier formatting
  • Functional components with hooks

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License – see the LICENSE file for details.


πŸ™ Acknowledgments

  • Unsplash – Food photography
  • Tailwind CSS
  • React Community

πŸ“ž Support

  • Bugs: GitHub Issues
  • Features: GitHub Discussions
  • Questions: Open an issue

Built with ❀️ for sustainable cooking
Help reduce food waste, one meal at a time

⭐ Star us on GitHub β€’ 🍴 Fork the project β€’ πŸ› Report a bug

About

PantryChef is an AI-powered kitchen assistant that helps reduce household food waste by matching your available ingredients with personalized recipes. Transform leftovers into delicious meals, learn cooking techniques, and join a community of waste-conscious cooks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published