A smart nutrition tracking app with AI-powered food analysis and personalized meal suggestions.
- πΈ Image & Text Analysis - Upload food photos or describe meals
- π€ AI Integration - OpenAI GPT-4 Vision for accurate nutrition data
- π Smart Tracking - Monitor calories, protein, carbs, and fats
- π‘ Meal Suggestions - Get personalized recommendations based on your needs
- π± Mobile Responsive - Works great on all devices
- π Privacy First - Data stored locally in your browser
- Frontend: React + TypeScript + Vite
- Styling: Tailwind CSS + shadcn/ui
- AI: OpenAI GPT-4 Vision API
- Storage: LocalStorage (Supabase-ready)
- Node.js 18+ and pnpm
# Install dependencies
pnpm install
# Start dev server
pnpm run dev
# Build for production
pnpm run build- Go to Settings in the app
- Select OpenAI (Real Analysis)
- Enter your OpenAI API key from platform.openai.com/api-keys
# Deploy to production
pnpm run deploy
# Deploy preview
pnpm run preview-deployOr connect your GitHub repo to Cloudflare Pages:
- Build command:
pnpm run build - Build output:
dist
src/
βββ features/ # Feature modules
β βββ dashboard/ # Main dashboard
β βββ food-entry/ # Food logging
β βββ onboarding/ # User setup
β βββ settings/ # App settings
β βββ suggestions/ # Meal recommendations
βββ services/ # Service layer
β βββ ai/ # AI providers (Mock, OpenAI)
β βββ storage/ # Storage providers (LocalStorage)
βββ components/ # Reusable UI components
- Supabase integration for cloud sync
- Weekly/monthly analytics
- Food database for quick-add
- Export data (JSON/CSV)
- Water intake tracking
- Meal timing labels
MIT