PantryPilot is a local-first MVP. The backend and frontend run on local development servers, and durable app data lives in a local SQLite database.
- The Next.js dashboard calls the local FastAPI backend.
- Receipt uploads go through the receipt import API.
- Text receipts are decoded locally.
- Image receipts are sent to the configured AI provider for OCR text extraction.
- Extracted receipt text is parsed into structured grocery items through the
AIProviderboundary. - Parsed groceries are converted into inventory rows with deterministic expiration estimates.
- Dinner suggestions use the current inventory and prioritize expiring items.
frontend/: dashboard, receipt upload, inventory table, dinner suggestion UI.backend/src/pantry_pilot/api/: FastAPI routes and error handling.backend/src/pantry_pilot/receipts/: receipt extraction and parser workflow.backend/src/pantry_pilot/inventory/: normalization, conversion, and freshness logic.backend/src/pantry_pilot/meal_suggestions/: meal suggestion prompt and response contract.backend/src/pantry_pilot/ai.py: provider-specific OpenAI calls behind a narrow interface.- SQLite: local persistence for inventory and receipt import records.
- No production hosting.
- No authentication.
- No cloud sync.
- No shared household accounts.
- No grocery ordering or external shopping integrations.