How jcig789/ledgr works
Ledgr is an Obsidian personal-finance plugin: users capture transactions and manage obligations, budgets, accounts, and goals; the plugin stores finance records as files in the vault and presents dashboards, statements, forecasts, and reports. The graph preserves the README’s major feature areas while using sampled imports and explicit documentation for wiring; several unsampled modules are represented only by their exact tree paths, so their internal call relationships are omitted.
Main entry points: main.ts Plugin commands and views · DashboardView.ts Dashboard · reader.ts Transaction reading and summaries · networth.ts Accounts and liabilities
Components 28
Plugin entry
- Plugin commands and views
src/main.ts - Settings
src/settings.ts
Capture and obligations
- Transaction capture
src/ui/QuickCaptureModal.ts - Bills and payments
src/ui/BillsModal.ts - Liability payment
src/ui/LiabilityPaymentModal.ts - Bulk obligations
src/ui/BulkObligationsModal.ts
Finance views
- Dashboard
src/ui/DashboardView.ts - Calendar
src/ui/CalendarView.ts - Net worth and goals
src/ui/NetWorthView.ts - Financial statements
src/ui/StatementsView.ts - Standing health
src/ui/StandingView.ts
Analysis and reports
- Monthly review
src/ui/MonthlyReviewModal.ts - Year-end summary
src/ui/WrappedModal.ts - Bearing score engine
src/data/bearing.ts - Cash flow projection
src/data/projection.ts - Debt cost analysis
src/data/debtCost.ts
Finance data
- Transaction reading and summaries
src/data/reader.ts - Transaction records
src/data/transactions.ts - Budget records
src/data/budgets.ts - Accounts and liabilities
src/data/networth.ts - Savings goals
src/data/goals.ts - Recurring bills
src/data/bills.ts - Transfer records
src/data/remittances.ts - Net worth history
src/data/nwHistory.ts - Recurring templates
src/data/templates.ts
Other components
- Obsidian user
- Obsidian host
- Vault finance files
Connections 48
- Obsidian user → Obsidian host: uses plugin
- Obsidian host → Plugin commands and views: loads
- Plugin commands and views → Transaction capture: opens capture
- Plugin commands and views → Dashboard: registers view
- Plugin commands and views → Net worth and goals: registers view
- Plugin commands and views → Financial statements: registers view
- Plugin commands and views → Standing health: registers view
- Plugin commands and views → Calendar: registers view
- Plugin commands and views → Monthly review: opens command
- Plugin commands and views → Year-end summary: opens command
- Plugin commands and views → Settings: loads and saves
- Transaction capture → Transaction records: records transaction
- Dashboard → Transaction reading and summaries: reads and summarizes
- Dashboard → Budget records: loads budgets
- Dashboard → Recurring bills: loads bills
- Dashboard → Accounts and liabilities: loads obligations
- Dashboard → Transfer records: loads transfers
- Dashboard → Bills and payments: opens management
- Calendar → Transaction reading and summaries: reads transactions
- Calendar → Recurring bills: shows due bills
- Calendar → Accounts and liabilities: shows debt payments
- Bills and payments → Recurring bills: manages bills
- Bulk obligations → Recurring bills: adds bills
- Liability payment → Accounts and liabilities: updates payment balance
- Liability payment → Transaction records: records payment
- Net worth and goals → Accounts and liabilities: loads and saves
- Net worth and goals → Savings goals: loads goals
- Net worth and goals → Transaction reading and summaries: reads cash flow
- Net worth and goals → Net worth history: snapshots history
- Financial statements → Transaction reading and summaries: summarizes transactions
- Standing health → Bearing score engine: displays assessment
- Monthly review → Transaction reading and summaries: reads and summarizes
- Monthly review → Budget records: loads budgets
- Monthly review → Transfer records: loads transfers
- Monthly review → Savings goals: loads goals
- Monthly review → Accounts and liabilities: loads accounts
- Bearing score engine → Transaction reading and summaries: reads transactions
- Bearing score engine → Accounts and liabilities: loads balances
- Bearing score engine → Budget records: loads limits
- Bearing score engine → Savings goals: loads targets
- Bearing score engine → Net worth history: loads history
- Cash flow projection → Dashboard: provides forecast
- Debt cost analysis → Net worth and goals: supports debt analysis
- Recurring templates → Transaction records: applies entries
- Transaction reading and summaries → Vault finance files: reads monthly files
- Transaction records → Vault finance files: stores records
- Budget records → Vault finance files: reads and writes
- Accounts and liabilities → Vault finance files: reads and writes