Trustit is an open-source Flutter and Node.js application for analyzing consumer product labels. Users can scan the front and back of a food, cosmetic, supplement, or household product, then receive an AI-assisted safety breakdown with ingredient-level risk notes, scores, summaries, and scan history.
The project includes a cross-platform Flutter app, an Express backend, OpenAI-powered product analysis, AI chat support, subscription handling, and UI design screenshots.
- Product label scanning with front and back image capture
- AI product analysis for foods, cosmetics, supplements, beverages, and household products
- Ingredient extraction with risk levels and plain-language explanations
- Safety, efficacy, transparency, and overall scoring
- Scan history saved locally with Hive
- AI assistant for ingredient and food-safety questions
- Flutter mobile app with onboarding, paywall, profile, camera, history, and analysis screens
- Express API with image upload, health check, analysis, chat, legal pages, and receipt verification routes
- Local storage, provider-based app state, and route-based app navigation
- Flutter and Dart
- Provider, GoRouter, Hive, Dio, Camera, Image Picker
- Node.js and Express
- OpenAI API for product analysis and chat
- Multer for image uploads
- In-app purchase support
trustlit_app/ Flutter mobile application
trustlit_backend/ Express API and AI analysis backend
ui_designs/ Product and interface screenshots
cd trustlit_backend
npm install
cp .env.example .env
npm run devSet the required environment variables in trustlit_backend/.env.
OPENAI_API_KEY=your_openai_api_key
PORT=3000
NODE_ENV=development
cd trustlit_app
flutter pub get
flutter runThe app expects the backend API to be reachable from the configured API service in trustlit_app/lib/services/api_service.dart.
GET /api/health
POST /api/analyze
POST /api/ai-chat
POST /api/verify-receipt
GET /privacy-policy
GET /terms
Trustit is designed as a consumer-facing product safety companion. AI analysis should be treated as informational support, not as medical, dietary, or professional safety advice.
No license has been selected yet.


