How koimiyovo/cents works
Centimes is an offline-first Android personal budget manager. Users record transactions against local accounts; the application layer applies business workflows and stores data locally, while screens present balances, history, budgets, projects, and analysis. Supporting workflows include recurring transaction generation and budget alerts, currency conversion, backup/import/export, and settings for subcategories and budget cycles. The README documents the hexagonal module boundaries and the principal capabilities; several connections below reflect those documented boundaries because their specific wiring was not sampled.
Main entry points: TransactionRepository.kt Repository ports · RecordTransferService.kt Transaction services · HomeScreen.kt App screens · TransactionFormViewModel.kt Transaction forms
Components 22
Android app
- App screens
app/src/main/kotlin/com/kyovo/cents/ui/home/HomeScreen.kt - Transaction forms
app/src/main/kotlin/com/kyovo/cents/ui/transaction/TransactionFormViewModel.kt - Recurring views
app/src/main/kotlin/com/kyovo/cents/ui/recurring/RecurringTransactionsViewModel.kt - Backup screens
app/src/main/kotlin/com/kyovo/cents/ui/backup/DataBackupViewModel.kt - System notifications
app/src/main/kotlin/com/kyovo/cents/notification/SystemBudgetAlertNotifier.kt - Onboarding
app/src/main/kotlin/com/kyovo/cents/ui/onboarding/OnboardingScreen.kt
Application workflows
- Account services
application/src/main/kotlin/com/kyovo/cents/application/usecase/OpenAccountService.kt - Transaction services
application/src/main/kotlin/com/kyovo/cents/application/usecase/RecordTransferService.kt - Budget services
application/src/main/kotlin/com/kyovo/cents/application/usecase/GetBudgetProgressService.kt - Recurring generation
application/src/main/kotlin/com/kyovo/cents/application/usecase/GenerateRecurringTransactionsService.kt - Backup services
application/src/main/kotlin/com/kyovo/cents/application/usecase/ExportDataService.kt - CSV export
application/src/main/kotlin/com/kyovo/cents/application/usecase/ExportTransactionsCsvService.kt
Domain rules
- Money and transactions
domain/src/main/kotlin/com/kyovo/cents/domain/model/Transaction.kt - Repository ports
domain/src/main/kotlin/com/kyovo/cents/domain/port/output/TransactionRepository.kt
Local and external adapters
- Room database
infrastructure/src/main/kotlin/com/kyovo/cents/infrastructure/persistence/room/CentsDatabase.kt - Room repositories
infrastructure/src/main/kotlin/com/kyovo/cents/infrastructure/persistence/room/RoomAccountRepository.kt - Exchange rates
infrastructure/src/main/kotlin/com/kyovo/cents/infrastructure/exchange/FrankfurterExchangeRateProvider.kt
Budgeting and insights
- Budget views
app/src/main/kotlin/com/kyovo/cents/ui/budget/BudgetScreen.kt - Project views
app/src/main/kotlin/com/kyovo/cents/ui/project/ProjectsViewModel.kt - Budget insights
application/src/main/kotlin/com/kyovo/cents/application/usecase/GetSpendingBreakdownService.kt
Other components
- User
- Frankfurter API
Connections 23
- User → App screens: uses
- App screens → Transaction forms: opens forms
- Transaction forms → Transaction services: records transactions
- App screens → Account services: manages accounts
- Budget views → Budget services: shows progress
- Project views → Budget insights: shows analysis
- Recurring views → Recurring generation: manages rules
- Backup screens → Backup services: imports and exports
- Transaction forms → CSV export: exports CSV
- Transaction services → Money and transactions: creates movements
application/src/main/kotlin/com/kyovo/cents/application/usecase/RecordTransferService.kt - Transaction services → Repository ports: saves movements
application/src/main/kotlin/com/kyovo/cents/application/usecase/RecordTransferService.kt - Transaction services → Exchange rates: reads conversion rates
application/src/main/kotlin/com/kyovo/cents/application/usecase/RecordTransferService.kt - Budget services → Repository ports: observes transactions
application/src/main/kotlin/com/kyovo/cents/application/usecase/GetBudgetProgressService.kt - Recurring generation → Repository ports: stores occurrences
application/src/main/kotlin/com/kyovo/cents/application/usecase/GenerateRecurringTransactionsService.kt - Recurring generation → System notifications: checks alerts
application/src/main/kotlin/com/kyovo/cents/application/usecase/GenerateRecurringTransactionsService.kt - CSV export → Repository ports: reads records
application/src/main/kotlin/com/kyovo/cents/application/usecase/ExportTransactionsCsvService.kt - Repository ports → Room repositories: implemented by
infrastructure/src/main/kotlin/com/kyovo/cents/infrastructure/persistence/room/RoomAccountRepository.kt - Room repositories → Room database: uses DAOs
infrastructure/src/main/kotlin/com/kyovo/cents/infrastructure/persistence/room/CentsDatabase.kt - Exchange rates → Frankfurter API: fetches rates
- User → Budget views: reviews budgets
- User → Project views: tracks projects
- User → Backup screens: backs up data
- User → Onboarding: starts onboarding