Skip to content

tung-programming/nutrigo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

137 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NutriGo Logo

Smart Packaged Food Scanning Made Simple

Stop guessing what's in your packaged foods. Instantly scan packaged products with AI-powered precision to reveal hidden sugars, calories, and ingredients. Make informed choices in seconds.

Live Demo GitHub License

๐Ÿš€ Live Demo ยท ๐Ÿ› Report Bug ยท โœจ Request Feature


๐Ÿ“‹ Table of Contents


๐ŸŽฏ About the Project

NutriGo is India's AI-powered nutrition companion, revolutionizing how people understand packaged foods. In a world where food labels confuse more than they clarify, we bring clarity through intelligent technology.

Our Mission

To democratize nutrition knowledge through AI-powered technology, empowering every Indian to make informed food choices that improve their health and well-being.

Our Vision

A future where food transparency is the norm. Where every Indian has instant access to clear, reliable nutrition information that helps them live healthier lives.

Why NutriGo?

  • 101 million Indians living with diabetes
  • Rising childhood obesity rates across the country
  • Confusing food labels that lack transparency
  • Need for instant, reliable nutrition insights

โœจ Features

๐Ÿ” AI-Powered Scanner

Instantly scan any packaged food product with advanced AI to decode:

  • Scan chips, biscuits, breakfast cereals, snacks, and beverages
  • Identify sugar levels and hidden additives in processed foods
  • Get calorie breakdown and complete nutritional values
  • Analyze all ingredients and detect allergens
  • Works with Indian packaged brands like Lay's, ITC, Britannia, Amul, and more

๐ŸŽฏ Smart Health Score

Every packaged product gets an intelligent Health Score (0-100):

  • Comprehensive analysis of sugar content in snacks and beverages
  • Calorie density assessment for portion planning
  • Additive and preservative detection with warnings
  • Overall healthiness rating for instant comparison
  • Perfect for comparing products like Maggi, Haldiram's, Cadbury, and local brands

๐ŸŒฑ Better Alternatives

Discover healthier packaged food substitutes instantly:

  • Find healthier alternatives for favorite snacks and breakfast items
  • Compare popular products: Lay's vs Baked Chips, Regular Cookies vs Oats Cookies
  • See nutritional differences at a glance
  • Browse curated healthy options from brands like Yoga Bar, Slurrp Farm, Nature's Path
  • Integration with major e-commerce platforms (Blinkit, Zepto, Swiggy, BigBasket)

๐Ÿ“ˆ Progress Tracking

Monitor your nutrition journey with detailed analytics:

  • Track your packaged food consumption patterns
  • Personalized recommendations based on scanning history
  • AI-driven insights from your dietary choices with real products
  • Weekly and monthly nutrition analytics for packaged foods
  • Visual progress charts and statistics showing improvement

โšก Instant Analysis

Get real-time nutrition breakdown in milliseconds:

  • Scan packaged products and get results instantly
  • Lightning-fast AI processing of food labels
  • Complex nutritional data analyzed in seconds
  • Immediate actionable insights for better choices
  • No waiting, instant results for busy lifestyles

๐Ÿค– Smart AI Chatbot

Ask questions about packaged foods, nutrition, and ingredients:

  • Ask "Is Maggi noodles healthy?" - Get instant analysis
  • "What's in this snack?" - AI decodes all ingredients
  • 24/7 instant AI-powered answers and recommendations
  • Voice input support (speech-to-text) for hands-free queries
  • Voice output support (text-to-speech) for audio responses
  • Conversational AI that understands your dietary goals

๐ŸŽจ Beautiful Dashboard

Comprehensive user dashboard featuring:

  • See your recent packaged food scans at a glance
  • Nutrition statistics from all your scanned products
  • Health trends visualization based on packaged foods
  • Quick access to all scanning and comparison features
  • Responsive design that works on all devices

๐Ÿ’พ Scan History

Keep track of everything you've scanned:

  • Complete history of all packaged food products scanned
  • Date, time, and details of each scan
  • Product names, brands (Britannia, ITC, Lay's, etc.), and health scores
  • Quick re-access to previous packaged food analyses
  • Easy search and filter capabilities

โญ Favorites Management

Create your personal collection of packaged foods:

  • Save favorite healthy packaged products you like
  • Save unhealthy products to remember what to avoid
  • Quick access to frequently checked packaged items
  • Organize by category (snacks, cereals, beverages, etc.)
  • Track trending healthy packaged options

๐Ÿ” User Authentication

Secure and easy account management:

  • Sign up and login with email
  • User profile management and preferences
  • Personalized dietary preferences
  • Secure data storage with Supabase
  • Privacy-first approach to your health data

๐Ÿ”„ Product Comparisons

Compare packaged products side-by-side:

  • Compare similar products: Britannia Cookies vs Sunfeast Cookies
  • View nutritional comparison charts instantly
  • See health score differences at a glance
  • Analyze ingredient variations between brands
  • Find the best packaged option for your dietary needs

๐Ÿ“Š Analytics Dashboard

Advanced analytics for premium users:

  • Daily, weekly, monthly nutrition trends from packaged foods
  • Health goal progress tracking based on your scans
  • Detailed nutrient breakdowns (proteins, fats, carbs, sugars)
  • Personalized health insights and recommendations
  • Export reports of your nutrition journey

๐ŸŽฏ Health Goals

Set and track personal health objectives:

  • Customizable health goals
  • Goal progress visualization
  • AI recommendations aligned with goals
  • Success tracking

๐Ÿ“ฑ Responsive Design

Seamless experience across all devices:

  • Mobile-optimized interface
  • Tablet compatibility
  • Desktop full experience
  • Fast loading and smooth animations

๐ŸŒ Multi-Platform Support

Available on multiple platforms:

  • Web application
  • Mobile-responsive design
  • Easy access from any device

๏ฟฝ Supported Packaged Food Categories

NutriGo scans and analyzes products across all major Indian packaged food categories:

  • ๐ŸŸ Snacks & Chips - Lay's, Bingo, Kurkure, Cheetos
  • ๐Ÿช Biscuits & Cookies - Britannia, ITC, Sunfeast, Oreo
  • ๐Ÿฅฃ Breakfast Cereals - Kellogg's, Quaker Oats, Maggi
  • ๐Ÿง‚ Instant Foods - Maggi Noodles, Top Ramen, Haldiram's
  • ๐Ÿซ Chocolates & Candy - Cadbury, Nestlรฉ, Amul
  • ๐Ÿฅ› Beverages - Tropica, Real, Minute Maid, Amul Kool
  • ๐Ÿฏ Spreads & Jams - Amul, Kissan, Britannia
  • ๐Ÿฅœ Nuts & Dry Fruits - Yoga Bar, Slurrp Farm, Nutriorg
  • ๐Ÿ• Ready-to-Eat - Everest, MDH, Rajah Spices
  • ๐Ÿ’Š Protein & Health Products - Yoga Bar, Slurrp Farm, Organa

Each product is analyzed for optimal nutrition and health impact!


๐Ÿ› ๏ธ Tech Stack

Frontend

  • Next.js 14+ - React framework for production
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first styling
  • Radix UI - Accessible component library
  • Recharts - Data visualization
  • React Hook Form - Form management

Backend

  • Express.js - Node.js web framework
  • TypeScript - Type safety
  • Tesseract.js/OCR - Text recognition from images
  • Supabase - PostgreSQL database and auth

AI & ML

  • Google Generative AI - Advanced AI processing
  • LangChain - AI framework integration
  • Google Cloud Text-to-Speech - Voice synthesis

Infrastructure

  • Vercel - Frontend deployment
  • Docker - Containerization
  • Supabase - Backend services

APIs & Services

  • Google Cloud Vision - Image analysis
  • Supabase Auth - Authentication
  • E-commerce APIs - Blinkit, Zepto, Swiggy, BigBasket

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 16+
  • npm or yarn
  • Docker (optional, for backend)
  • Google Cloud credentials
  • Supabase account

Installation

  1. Clone the repository

    git clone https://github.com/tung-programming/nutrigo.git
    cd nutrigo
  2. Install dependencies

    # Frontend
    npm install
    
    # Backend
    cd backend
    npm install
    cd ..
  3. Set up environment variables

    Create .env.local in the root directory:

    NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
    NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
    SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

    Create backend/.env:

    PORT=5000
    GOOGLE_API_KEY=your_google_api_key
    SUPABASE_URL=your_supabase_url
    SUPABASE_SERVICE_KEY=your_service_key
    TTS_PROJECT_ID=your_gcp_project_id
    TTS_API_KEY=your_tts_api_key
  4. Run the application

    Backend (Terminal 1):

    cd backend
    npm run dev

    Frontend (Terminal 2):

    npm run dev
  5. Open your browser Navigate to http://localhost:3000


๐Ÿ’ป Usage

Basic Workflow

  1. Sign Up/Login - Create an account or log in to access all features
  2. Scan Products - Upload an image of any packaged food product
  3. View Analysis - Get instant nutrition breakdown and health score
  4. Track Progress - Monitor your nutrition journey over time
  5. Find Alternatives - Discover healthier substitutes for your favorite products
  6. Ask Chatbot - Get personalized nutrition advice 24/7

For Different Users

Health Conscious Users

  • Track daily nutrition intake
  • Set health goals
  • Get healthier alternative suggestions
  • Monitor progress with analytics

Busy Professionals

  • Quick product scans
  • Instant health scores
  • Fast alternative recommendations
  • No-fuss interface

Parents

  • Check kids' food safety
  • Identify allergens
  • Track family nutrition
  • Get health recommendations

Fitness Enthusiasts

  • Monitor macronutrients
  • Track protein intake
  • Compare supplement options
  • Optimize nutrition for goals

๐Ÿ“ฑ Dashboard Features

Home Dashboard

  • Recent Scans - Quick access to last scanned packaged products
  • Nutrition Stats - Overview of your packaged food metrics
  • Health Trends - Visualize your nutrition journey from scans
  • Quick Actions - Scan new products, Compare brands, Ask Chatbot

Scan History

  • Complete list of all packaged food products scanned
  • Filter by date, category (snacks, cereals, beverages), or health score
  • Re-scan products you've analyzed before
  • See scanning patterns and top products

Favorites

  • Save favorite packaged products (both healthy and unhealthy)
  • Save Britannia biscuits, Lay's chips, Yoga Bar snacks, etc.
  • Organize by category and brand
  • Quick reference for common products

Profile

  • Manage account settings and health preferences
  • Update dietary restrictions (vegan, gluten-free, etc.)
  • View your subscription plan and usage
  • Download your complete scan history

Settings

  • Notification preferences for new features
  • Privacy controls for your scan data
  • Theme preferences (Dark/Light mode)
  • Language settings

Alternatives

  • Browse healthier packaged food options
  • Compare nutritional values of similar products
  • See purchase links to Blinkit, Zepto, Swiggy, BigBasket
  • Save alternative products to favorites

๐Ÿค– AI-Powered Tools

Smart Scanner

  • Advanced OCR technology reads food labels instantly
  • Scan packaged products from brands like Lay's, Britannia, ITC, Amul
  • Instant label reading and automatic data extraction
  • High accuracy recognition of ingredients and nutrition facts
  • Works with both Indian and international brands

Health Score Algorithm

  • Multi-factor analysis of packaged foods
  • Sugar content evaluation - identifies hidden sugars in products
  • Calorie assessment for portion planning
  • Additive detection - warns about artificial preservatives
  • Overall healthiness rating (0-100 scale)
  • Examples: Maggi noodles (score) vs Yoga Bar snacks (score)

AI Chatbot Assistant

  • Natural language processing understands food-related questions
  • Ask about specific products: "Is Britannia Good Day biscuit healthy?"
  • Contextual understanding of your dietary goals
  • 24/7 availability for nutrition queries
  • Voice interaction support for hands-free access
  • Learning from your packaged food preferences

Recommendation Engine

  • Personalized suggestions based on your scan history
  • Recommends healthier alternatives to junk food
  • Based on your packaged food scanning patterns
  • Aligned with your personal health goals
  • Smart alternatives matching for similar products

๐Ÿ‘ฅ Our Team

Meet the dedicated team of innovators building the future of food transparency:

Arjun Bhat
Arjun Bhat
Frontend Developer
Pranav Rao K
Pranav Rao K
Frontend Developer
Tushar P
Tushar P
Backend Developer
Amogha K A
Amogha K A
Backend Developer

๐ŸŒŸ Key Highlights

โœ… AI-Powered - Advanced machine learning algorithms
โœ… Instant Results - Get nutrition insights in milliseconds
โœ… Beautiful UI - Modern, intuitive interface
โœ… Mobile Optimized - Works seamlessly on all devices
โœ… Secure - Enterprise-grade security
โœ… Free to Start - Begin with our free tier
โœ… India-Focused - Built for Indian food products
โœ… Growing Database - Constantly updated product library


๐Ÿ“„ License

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


๐Ÿ“ž Contact & Support


๐ŸŒŸ Made with โค๏ธ by the NutriGo Crew

Decode Your Packaged Foods, Redefine Your Health

Together, we're building a healthier India, one scan at a time. ๐Ÿ‡ฎ๐Ÿ‡ณ

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •