How sachinsirohi/wealthorbit works
WealthOrbit is a cross-currency personal-finance app that turns emailed or manually supplied statements into a local ledger, then supports reconciliation, financial-health views, and broader asset planning. Its principal workflow discovers statement emails, queues and extracts PDFs, normalizes and classifies transactions, anchors account balances, and refreshes derived views. The README documents this pipeline and major features; most Dart implementation files were not sampled, so the graph shows documented relationships rather than inferred code calls.
Main entry points: app_repository.dart App repository · statement_processor.dart Statement queue · imap_service.dart Email discovery · pdf_extraction_service.dart PDF extraction
Components 23
Statement import
- Email discovery
lib/data/services/imap_service.dart - Statement queue
lib/data/services/statement_processor.dart - PDF extraction
lib/data/services/pdf_extraction_service.dart - Statement routing
lib/data/services/statement_processor.dart - LLM extraction
lib/data/services/llm_router.dart - Background sync
lib/data/services/background_service.dart
Ledger and rules
- Import rules
lib/core/statement_kind.dart - Transfer matching
lib/data/services/reconciliation_service.dart - App repository
lib/data/repositories/app_repository.dart - Local ledger
lib/data/database/database.dart
Finance insights
- Dashboard
lib/features/dashboard/screens/home_screen.dart - Financial coach
lib/features/coach/screens/financial_coach_screen.dart - Data health
lib/features/health/screens/data_health_screen.dart - Reports
lib/features/reports/screens/reports_screen.dart
Assets and planning
- Accounts
lib/features/accounts/screens/accounts_screen.dart - Investments
lib/features/investments/screens/investments_screen.dart - Real estate
lib/features/real_estate/screens/real_estate_screen.dart - Goals
lib/features/goals/screens/goals_screen.dart - Liabilities
lib/features/liabilities/screens/liabilities_screen.dart
App experience
- App navigation
lib/navigation/app_router.dart
Other components
- User
- IMAP mailbox
- Gemini / Qwen
Connections 22
- User → App navigation: uses
README.md - IMAP mailbox → Email discovery: searches
README.md - Email discovery → Statement queue: enqueues
README.md - Statement queue → PDF extraction: fetches PDFs
README.md - PDF extraction → Statement routing: provides document
README.md - Statement routing → LLM extraction: routes statement
README.md - LLM extraction → Gemini / Qwen: extracts with
README.md - Gemini / Qwen → Import rules: returns extracted data
README.md - Import rules → App repository: writes transactions
README.md - App repository → Local ledger: reads and writes
README.md - App repository → Transfer matching: supplies ledger data
README.md - Background sync → Statement queue: drains batches
README.md - User → Background sync: syncs on demand
README.md - App repository → Dashboard: anchors balances
README.md - App repository → Financial coach: provides aggregates
README.md - App repository → Data health: provides coverage
README.md - User → Accounts: manages
README.md - User → Investments: tracks
README.md - User → Real estate: plans
README.md - User → Goals: sets goals
README.md - User → Liabilities: tracks
README.md - User → Reports: views
README.md