How haiqalharona/receipt-logging-app works
Receipt Logger (SancFund) is an offline-first Flutter app for capturing receipts, extracting transaction data with Gemini vision, and tracking spending. The principal workflow begins with a user scanning a receipt, then processes and stores the structured result locally for history, detail, and analytics views; backend and cloud services provide AI processing and sync. The README also documents authentication, subscriptions, local export, and staging update capabilities. Source excerpts cover platform scaffolding rather than Dart runtime code, so runtime relationships below rely on README statements; unsampled implementation details are not asserted.
Main entry points: isar_service.dart Local Isar store · scanner Receipt scanner · ui Flutter app · edit_receipt Receipt editing
Components 21
App experience
- Flutter app
lib/ui - Navigation
lib/ui/core/router
Receipt workflow
- Receipt scanner
lib/ui/features/scanner - Receipt editing
lib/ui/features/edit_receipt - Receipt detail
lib/ui/features/receipt_detail - Receipt history
lib/ui/features/history - Spending dashboard
lib/ui/features/dashboard - Spending analytics
lib/ui/features/analytics - AI assistant
lib/ui/features/ai_assistant
Cloud services
- FastAPI backend
- Gemini vision AI
- Supabase sync
Local state
- Local Isar store
lib/data/local/isar_service.dart - Data export
lib/data
Account and delivery
- Authentication
lib/ui/features/auth - Cloud auth services
lib/cloud/services/auth_service.dart - Subscriptions
lib/ui/features/subscription - Quota service
lib/cloud/services/quota_service.dart - App update notice
lib/ui/features/settings - APK distribution
deploy/apk-server
Other components
- Mobile user
Connections 28
- Mobile user → Flutter app: uses
README.md - Flutter app → Navigation: routes through
README.md - Mobile user → Receipt scanner: scans receipt
README.md - Receipt scanner → FastAPI backend: submits receipt
README.md - FastAPI backend → Gemini vision AI: extracts data
README.md - Receipt scanner → Local Isar store: stores offline
README.md - Mobile user → Receipt editing: reviews result
README.md - Receipt editing → Local Isar store: saves receipt
README.md - Mobile user → Receipt history: browses receipts
README.md - Receipt history → Local Isar store: reads receipts
README.md - Mobile user → Receipt detail: opens receipt
README.md - Receipt detail → Local Isar store: reads receipt
README.md - Mobile user → Spending dashboard: views spending
README.md - Spending dashboard → Local Isar store: reads spending data
README.md - Mobile user → Spending analytics: views trends
README.md - Spending analytics → Local Isar store: reads spending data
README.md - Mobile user → AI assistant: asks questions
README.md - AI assistant → FastAPI backend: requests AI service
README.md - Local Isar store → Data export: exports local data
README.md - Mobile user → Authentication: signs in
README.md - Authentication → Cloud auth services: authenticates
README.md - Cloud auth services → Supabase sync: uses cloud auth
README.md - Mobile user → Subscriptions: manages plan
README.md - Subscriptions → Quota service: checks quota
README.md - Quota service → FastAPI backend: requests quota
- Local Isar store → Supabase sync: syncs data
README.md - Mobile user → App update notice: checks updates
README.md - App update notice → APK distribution: checks releases
README.md