PROJECT / 2025
Snapgredient
AI Recipe Generator
Flutter + Firebase mobile app that scans ingredient photos, detects items with Gemini, and generates personalized recipes with a pantry, favorites and an in-app cooking chat.
- stack
- Flutter · Firebase Auth · Firestore · Firebase AI · Gemini AI · Riverpod · Hive
How it works
photo
your ingredientsGemini
finds what's thererecipes
fit your profileFirebase
saved history
01 / Overview
AI-powered recipe assistant that captures pantry photos, uses Gemini to detect ingredients, and proposes tailored recipes. Gemini 3 Pro runs through Firebase AI with Google Search grounding, per-user rate limits keep usage in check, and recipes, pantry and preferences are stored in Firebase with Google Sign-In and App Check hardening. Includes extensive setup guides and troubleshooting for first-time Flutter/Firebase developers.
02 / Key features
- –Camera capture and ingredient detection via Gemini AI
- –Recipe generation tailored to available ingredients
- –User profiles with dietary preferences and cooking skill
- –Pantry of detected ingredients and a favorites list for saved recipes
- –Ask Chef chat for cooking questions, with Google Search sources
- –Firebase Auth + Firestore sync with per-user rate limits
03 / Challenges
- –Onboarding developers through Firebase SHA/App Check setup
- –Keeping AI detections reliable across varied lighting and inputs
- –Synchronizing camera, AI, and storage flows on mobile
04 / Solution
Documented Quick Start and troubleshooting guides, Riverpod-driven state management around capture→detect→generate→save, Firebase Auth with Firestore sync of pantry and favorites, and Gemini prompt templates for more stable ingredient detection.
05 / Outcome
A university course project: a mobile app that turns pantry snapshots into recipes, with setup and troubleshooting guides covering the full Firebase + Gemini configuration.