A web application that analyzes food product labels and ingredients using AI to provide detailed nutritional insights and health recommendations.
- Extract product information from Blinkit URLs
- Analyze ingredients and nutritional content
- Provide detailed health insights and recommendations
- User-friendly interface with Material UI components
- Real-time analysis results with tabbed view
- React + Vite
- Material UI
- Tailwind CSS
- Radix UI Components
- Flask
- Selenium for web scraping
- Google Gemini Pro AI
- Python 3.10+
- Python 3.10 or higher
- Node.js 18 or higher
- Chrome WebDriver
- Google Gemini API key
-
Clone the repository
-
Setup Backend:
- Install poetry
curl -sSL https://install.python-poetry.org | python3 -
- Install dependencies
poetry install
- Create .env file and add your credentials
GEMINI_API_KEY=your_api_key_here
CHROMEDRIVER_PATH=path_to_chromedriver
- Setup Frontend:
cd frontend
npm install
- Start the backend server:
poetry run flask run
- Start the frontend development server:
cd frontend
npm run dev
- Open http://localhost:5173 in your browser
- Enter a Blinkit product URL in the input field
- Click "Analyze" to process the product
- View the extracted information and nutritional analysis in the tabbed interface
MIT