Smart Food Risk Analyzer - AI-powered food ingredient analysis platform supporting the Label Padhega India movement.
IngreScan-AI empowers Indian consumers to make informed, healthy food choices by analyzing packaged food ingredients using AI technology. The platform combines cutting-edge technology with trusted health data from WHO and FSSAI to provide personalized risk assessments and safer alternatives.
Supporting the Label Padhega India Movement ๐ฎ๐ณ - Promoting food literacy and consumer awareness across India.
- Text Input: Manually enter ingredient lists
- Image Upload with OCR: Take photos of ingredient labels for automatic extraction
- AI-Powered Analysis: Comprehensive health risk assessment using LLM technology
- Personalized Health Scores: Based on user profile, medical conditions, and dietary preferences
- Scientific Backing: Data from WHO, FSSAI, and PubMed
- Detailed Insights: Short-term, long-term health impacts, and side effects
- Misleading Claims Detection: Identifies hidden sugars, salts, oils, and harmful additives
- Track medical conditions and medications
- BMI calculation and exercise frequency
- Diet type preferences (veg, non-veg, vegan, keto, etc.)
- Personalized risk assessments
- Food-focused conversational AI
- Context-aware responses based on scan results
- Ingredient explanations and health impact Q&A
- Safer alternative suggestions
- Interactive charts (bar, pie, radar)
- Ingredient breakdown visualization
- Risk level indicators
- Historical trend tracking
- Access all previous scans
- Saved analysis reports
- Track food choices over time
- React 19 - Modern UI library
- TypeScript - Type-safe development
- Tailwind CSS 4 - Utility-first styling
- Wouter - Lightweight routing
- tRPC - End-to-end type-safe APIs
- shadcn/ui - Beautiful component library
- Node.js - Runtime environment
- Express 4 - Web framework
- tRPC 11 - Type-safe API layer
- Drizzle ORM - Database toolkit
- MySQL/TiDB - Database
- LLM Integration - AI-powered analysis and chatbot
- OCR - Image text extraction
- S3 Storage - File storage
- Node.js 22.x or higher
- pnpm package manager
- MySQL/TiDB database
- Clone the repository
git clone https://github.com/shivrajpatare/IngreScan-AI.git
cd IngreScan-AI- Install dependencies
pnpm install- Set up environment variables
cp .env.example .env
# Edit .env with your configuration- Run database migrations
pnpm db:push- Start development server
pnpm devThe application will be available at http://localhost:3000
โโโ client/ # Frontend React application
โ โโโ src/
โ โ โโโ pages/ # Page components
โ โ โโโ components/ # Reusable UI components
โ โ โโโ lib/ # Utilities and tRPC client
โ โ โโโ index.css # Global styles
โ โโโ public/ # Static assets
โโโ server/ # Backend Express + tRPC
โ โโโ routers.ts # API endpoints
โ โโโ db.ts # Database queries
โ โโโ _core/ # Core server functionality
โโโ drizzle/ # Database schema and migrations
โ โโโ schema.ts # Database models
โโโ shared/ # Shared types and constants
The platform uses AI to analyze ingredients against:
- WHO food safety guidelines
- FSSAI regulations
- Scientific research from PubMed
- User's personal health profile
- Educational content about hidden ingredients
- Misleading marketing claims detection
- Special focus on children's products
- Consumer awareness messaging
- Risk scores adjusted for individual health conditions
- Dietary preference considerations
- Medication interaction warnings
- Age and BMI-based recommendations
- Secure authentication with Manus OAuth
- HTTPS encryption for all data transmission
- User data stored securely in database
- No sharing of personal health information
- GDPR-style user rights and data control
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Project Maintainer: Shivraj Patare
- GitHub: @shivrajpatare
- Label Padhega India Movement - Inspiring consumer awareness
- Revant Himatsingka (@foodpharmer) - Food literacy advocacy
- WHO & FSSAI - Trusted health data sources
- Open Source Community - Amazing tools and libraries
- Live Demo: https://foodriskanaly-yjkguatc.manus.space/
- Documentation: [Coming Soon]
- Label Padhega India: Learn more about the movement
Made with โค๏ธ for a healthier India ๐ฎ๐ณ
"Know What You Eat - Make Informed Choices"
