Take a photo of your fridge. Get three recipes back.
FridgeChef sends the photo to Google Cloud Vision for ingredient detection, lets you edit the result as chips, then asks Gemini 2.5 Flash for three complete recipes with ingredients, timings, and steps.
- Python 3.11+
- A Google Cloud project with the Vision API enabled, plus a service-account JSON key
- A Gemini API key from Google AI Studio
- Clone and enter the repo.
- Create a virtualenv and install deps:
python -m venv .venv # macOS/Linux: source .venv/bin/activate # Windows PowerShell: .venv\Scripts\Activate.ps1 pip install -r backend/requirements.txt - Copy
backend/.env.exampletobackend/.envand fill in both credentials. - Run the server:
uvicorn backend.main:app --reload - Open http://localhost:8000.
pytest
17 tests covering the food-filter logic and both API routes (Vision and Gemini clients mocked).
Two are available; pick whichever fits.
- Web (
frontend/) — vanilla HTML/CSS/JS. Served automatically athttp://localhost:8000by the backend. No build step. - Android (
flutter_app/) — native Flutter app with camera + gallery picker. Seeflutter_app/README.mdfor Flutter SDK setup, emulator config, and how to run on a physical device.
Both talk to the same /api/detect and /api/recipes endpoints.
See docs/superpowers/specs/2026-04-23-fridgechef-design.md for the full design.