ClarioAI is an AI-powered product analysis tool that helps users make informed decisions about food and products. Leveraging Google's Gemini models, it provides real-time insights, deep product analysis, and an interactive chat interface to answer your questions.
- 📸 Smart Scanning: Instantly capture product images using your device's camera or upload existing photos.
- 🧠 AI Analysis: Powered by Google Gemini (
gemma-3-27b-it), ClarioAI analyzes product labels to determine health impact, nutritional value, and safety. - 💬 Interactive Chat: Have a conversation about the analyzed product. Ask specific questions like "Is this safe for diabetics?" or "Does it contain gluten?".
- 🗣️ Voice Interaction: Use voice commands to interact with the assistant for a hands-free experience.
- ⚡ Modern UI: sleek, responsive interface built with React, Tailwind CSS, and Framer Motion for smooth animations.
- Frontend: React + Vite
- Styling: Tailwind CSS
- AI: Google Generative AI SDK
- Icons: Lucide React
- Language: TypeScript
Follow these steps to set up the project locally.
- Node.js (v18 or higher recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/ClarioAI.git cd ClarioAI -
Install dependencies:
npm install
-
Configure Environment Variables: Create a
.envfile in the root directory and add your Google Gemini API key. You can find a template in.env.example.VITE_GEMINI_API_KEY=your_api_key_here
Note: You can get an API key from Google AI Studio.
Start the development server:
npm run devThe app will be available at http://localhost:5173.
To build the app for production:
npm run buildThis will generate the static files in the dist directory.
This project is licensed under the MIT License.