MealPilot Logo # 🥘 MealPilot: Co-Pilot for your grocery shopping An intelligent grocery comparison platform that helps you find the **best prices** groceries across multiple delivery platforms like **Instacart, Uber Eats, Amazon Groceries**, etc. ## [Youtube Video - Link](https://www.youtube.com/watch?v=Ezjk6Yx-GTk)
## ✨ Features - 🔍 **Smart Recipe Search** - Enter any recipe name and get instant ingredient lists - 📊 **Multi-Platform Price Comparison** - Compare prices across Instacart, Uber Eats, and more - 💰 **Instant Savings Calculator** - See exactly how much you save by choosing the best deal - 📦 **Order History** - Track all your past orders with detailed receipts - 🎨 **Beautiful UI** - Clean, modern design with intuitive navigation - ⚡ **Real-Time Updates** - Live price comparison updates as you shop --- ## 🏗️ System Architecture
System Architecture
### Architecture Overview **Frontend (Next.js)** → **Backend API (FastAPI)** → **Automation Agents (Amazon Nova Act)** → **E-commerce Platforms** 1. **User Interface Layer**: React/Next.js frontend with beautiful MealPilot branding 2. **API Layer**: FastAPI backend handling requests and orchestrating operations 3. **Automation Layer**: Amazon Nova Act browser agents for platform-specific sign-in, search, cart editing, and cart inspection 4. **Data Processing Layer**: Gemini AI for recipe parsing, Knot API for order formatting 5. **Storage Layer**: Supabase for user data, orders, and statistics --- ## 🏗️ Tech Stack ### Frontend - **Next.js 14** - React framework with App Router - **TypeScript** - Type-safe development - **Tailwind CSS** - Utility-first styling - **Custom Design System** - MealPilot brand colors and components ### Backend - **Amazon Nova Act** - Web Automation Agents - **Gemini API** - AI-powered recipe parsing - **Supabase** - Database and authentication - **Knot API** - E-commerce integration - **FastAPI** - Modern Python web framework --- ## 📱 How It Works ### 1️⃣ Search for Recipe Enter any recipe name (e.g., "Spaghetti Carbonara" or "Veggie Pizza") ### 2️⃣ Review Ingredients AI extracts and lists all required ingredients with quantities ### 3️⃣ Compare Prices Our automation searches across platforms and compares prices in real-time ### 4️⃣ Save Money Choose the best deal and save on your grocery shopping! --- ## 🎯 Key Capabilities ### Automated Price Comparison - Searches multiple platforms simultaneously - Extracts accurate pricing data - Calculates totals including tax - Identifies the best deal automatically ### Smart Recipe Processing - Uses Google Gemini AI for intelligent recipe parsing - Extracts ingredients with quantities and units - Handles various recipe formats - Suggests alternatives when items aren't found ### Order Management - Complete order history - Detailed receipts with itemized pricing - Order status tracking - Receipt image generation (Phase 3) --- --- ## 🚀 Running Locally **Backend** ```bash cd backend python3 -m venv venv && source venv/bin/activate pip install -r requirements.txt pip install nova-act ``` `nova-act` is imported by the agents but is not listed in `requirements.txt`, so install it separately as shown. Copy the environment template and fill in your own credentials: ```bash cp .env.example .env ``` You will need a `NOVA_ACT_API_KEY`, a Gemini API key, and Supabase project credentials. ```bash uvicorn app.main:app --reload ``` **Frontend** ```bash cd frontend cp .env.local.example .env.local npm install npm run dev ``` The client runs at `http://localhost:3000`. --- ## 👥 Team Built at HackPrinceton, November 2025, by four students. - **Rohan Gore** - **Devarshi Mehta** - **Sarthak Sonawane** - **Raunak Choudhary** The repository's commit history is preserved in full, so individual authorship of each change is visible in `git log`. The application code was written primarily by Rohan Gore, with contributions from Devarshi Mehta and Sarthak Sonawane. --- **Built with ❤️ for smarter grocery shopping** © 2025 MealPilot. All rights reserved.