How mega7306626007/pesaflow works
PesaFlow is an Android personal-finance app for recording and reviewing cash flow, then using the ledger to support budgeting, forecasting, goals, and other financial planning. The main path is transaction capture—by SMS, manual entry, or import—through review and persistence, then analysis and presentation in the app. The tree identifies broad product areas, while sampled code confirms financial calculations, search, recurring and goal analysis, and SMS-pending behavior. With no README and only partial source excerpts, several screen-to-engine connections are not shown where their wiring is uncertain.
Main entry points: FinancialEngine.kt Financial snapshot · FinanceRepository.kt Finance repository · DetectionPipeline.kt SMS detection · FinanceViewModel.kt Finance view model
Components 23
Capture and ledger
- SMS detection
app/src/main/java/com/pesaflow.app/data/notifications/DetectionPipeline.kt - Transaction parsers
app/src/main/java/com/pesaflow.app/data/parsers - Ledger gateway
app/src/main/java/com/pesaflow.app/data/ledger/LedgerGateway.kt - Finance repository
app/src/main/java/com/pesaflow.app/data/repositories/FinanceRepository.kt - Transaction review
app/src/main/java/com/pesaflow.app/ui/review/ReviewScreen.kt
Financial planning
- Financial snapshot
app/src/main/java/com/pesaflow.app/data/finance/FinancialEngine.kt - Smart budgets
app/src/main/java/com/pesaflow.app/ui/budgets/SmartBudgetEngine.kt - Goal projections
- Recurring detection
- Student finances
app/src/main/java/com/pesaflow.app/ui/university/UniversityScreen.kt - Kitchen and belongings
app/src/main/java/com/pesaflow.app/ui/stock/KitchenScreen.kt
Insights and analysis
- Analytics engine
- Transaction search
- Data export
- Finance reminders
App experience
- App entry
app/src/main/java/com/pesaflow.app/MainActivity.kt - Finance view model
app/src/main/java/com/pesaflow.app/viewmodels/FinanceViewModel.kt - App navigation
- Finance dashboard
app/src/main/java/com/pesaflow.app/ui/dashboard/DashboardScreen.kt
Local data
- Room database
app/src/main/java/com/pesaflow.app/data/database/AppDatabase.kt - Financial DAOs
app/src/main/java/com/pesaflow.app/data/database
Other components
- User
- SMS inbox
Connections 21
- User → App entry: opens app
- App entry → App navigation: starts navigation
- SMS inbox → SMS detection: delivers messages
- SMS detection → Transaction parsers: parses message
- SMS detection → Finance repository: saves pending item
- User → Transaction review: reviews entries
- Transaction review → Finance repository: confirms or edits
- Finance repository → Room database: persists records
- Room database → Financial DAOs: provides storage
- Finance view model → Finance repository: accesses finance data
- Finance view model → Financial snapshot: builds financial snapshot
- Financial snapshot → Smart budgets: informs budget planning
- Financial snapshot → Goal projections: supports goal planning
- Financial snapshot → Recurring detection: analyzes transaction history
- App navigation → Finance dashboard: opens dashboard
- App navigation → Student finances: opens student tools
- App navigation → Kitchen and belongings: opens inventory
- User → Transaction search: searches ledger
- User → Data export: requests export
- Financial snapshot → Analytics engine: provides financial data
- Financial snapshot → Finance reminders: provides financial data