Smart Food Insights from Your Grocery Cart
CalQulate is an AI-powered nutrition assistant that helps users instantly analyze food label photos. With a simple upload, CalQulate extracts nutritional values, performs a health check, and uses AI to provide personalized dietary recommendations — all with a focus on privacy and simplicity.
- 📸 Upload food label images (snap a photo or drag & drop)
- 🧠 AI-powered extraction and analysis of nutrients
- 📊 Health analysis with nutrient checks (sugar, sodium, fat, fiber, etc.)
- 🤖 LLM-based insights using Groq LLaMA 3
- 🔐 Privacy-first: no data is stored or shared
- 💡 Tailored suggestions and warnings for dietary goals
| Layer | Technology |
|---|---|
| Frontend | Next.js 14 + Tailwind CSS |
| UI Components | Custom + shadcn/ui style system |
| AI Layer | Groq LLaMA 3 (llama3-70b-vision) |
| Styling | CSS Modules, Tailwind |
| Hosting | Vercel (or any Node-compatible environment) |
Coming soon...
🌐 Live URL: https://your-calqulate-app.vercel.app
calqulate/
├── app/
│ ├── page.tsx # Home page
│ ├── upload/page.tsx # Upload interface + AI results
│ ├── about/page.tsx # About and usage details
├── components/
│ ├── Navbar.tsx # Responsive navigation bar
│ ├── ui/button.tsx # Reusable styled button
├── public/ # Static assets
├── styles/
│ └── globals.css # Tailwind + base styles
├── .env.local # Your API keys (excluded from Git)
├── .gitignore
└── README.md
git clone https://github.com/your-username/calqulate.git
cd calqulatenpm install
# or
yarn install# .env.local
NEXT_PUBLIC_API_URL=https://your-backend.com/
NEXT_PUBLIC_GROQ_API_URL=your-groq-api-key
✅ Note: All public client-side env vars must start with
NEXT_PUBLIC_
npm run dev
# or
yarn dev- User uploads a photo of a nutrition label
- The app sends the image to an OCR backend (
API_URL) - Extracted data is:
- Checked for health score (calories, fat, sugar, fiber, etc.)
- Sent to Groq LLM for AI-generated benefits/risks/recommendations
- Results are displayed in a beautiful and easy-to-read UI
- Upload a cereal box label
- CalQulate highlights high sugar and low fiber
- Groq suggests healthier alternatives and reasons to moderate use
This app can be deployed on:
- Vercel (best for Next.js)
- Netlify
- AWS Amplify / S3 + Lambda
- Dockerized container on any cloud
To deploy on Vercel:
vercel login
vercel- 🍎 Add barcode scanning via camera
- 🧠 GPT-4 or Claude 3 integration for deeper insights
- 📊 Trend tracking (history of food uploads)
- 🗃️ Database of scanned items per user (optional account system)
- 🌍 Multilingual support
- Built by [Your Name] with ❤️
- Inspired by the need for accessible and instant food transparency
- Uses:
- Groq for LLaMA 3 models
- Tailwind CSS
- Next.js