How ruanpienaarcode/budget-vault works
Budget Vault is an Obsidian budgeting plugin whose principal workflow is to configure a budget book, import and review bank transactions, persist them as user-owned Markdown, then calculate and display budgets and financial summaries. The README documents additional screens, exports, notes, receipts, multilingual support, multiple books, and optional exchange-rate fetching. The source index establishes several module relationships; unsampled capabilities are included where documented, without asserting unverified internal call paths.
Main entry points: io.js Vault file access · main.js Plugin entry · import.js Statement import · figures.js Money and period logic
Components 26
Plugin and setup
- Plugin entry
src/main.js - App controller
src/controller.js - Setup wizard
src/onboarding.js - Settings
src/settings-tab.js - View routing
src/view.js - Translations
src/i18n.js
Vault records
- Budget Markdown
src/markdown.js - Vault file access
src/io.js - Book management
src/books.js
Transactions and budgets
- Transaction history
src/views/transactions.js - Statement import
src/views/import.js - Statement parsing
src/statement.js - Auto-categorisation
src/rules.js - Budget planning
src/views/budgets.js - Future planning
src/views/plan.js
Financial views
- Dashboard
src/views/dashboard.js - Monthly score
src/views/score.js - Accounts and assets
src/views/accounts.js - Financial screens
src/views/debts.js - Money and period logic
src/figures.js
Exports and extensions
- Financial report
src/report.js - Budget export
src/budget-export.js - Food and receipts
src/views/food.js - Exchange rates
src/fx.js
Other components
- Budget user
- ExchangeRate-API
Connections 28
- Budget user → Plugin entry: opens
README.md - Plugin entry → App controller: starts
src/main.js - Plugin entry → Setup wizard: configures
src/main.js - Plugin entry → View routing: registers views
src/main.js - App controller → Settings: opens
src/controller.js - App controller → Book management: manages
src/controller.js - Budget user → Statement import: imports statement
README.md - Statement import → Statement parsing: parses
src/views/import.js - Statement import → Auto-categorisation: categorises with
src/views/import.js - Statement import → Vault file access: commits records
src/views/import.js - Transaction history → Vault file access: reads and writes
src/views/transactions.js - Vault file access → Budget Markdown: reads and writes
src/io.js - Budget planning → Vault file access: loads budget data
- Future planning → Vault file access: loads plan data
- Dashboard → Money and period logic: calculates figures
src/views/dashboard.js - Dashboard → Vault file access: reads data
src/views/dashboard.js - Monthly score → Money and period logic: summarises finances
- Accounts and assets → Vault file access: reads records
src/views/accounts.js - Accounts and assets → Exchange rates: converts currencies
src/views/accounts.js - Financial screens → Money and period logic: calculates measures
- Budget user → Financial report: requests report
README.md - Budget user → Budget export: exports budget
README.md - Budget user → Food and receipts: reviews receipt
README.md - Exchange rates → ExchangeRate-API: fetches rates
README.md - Settings → Exchange rates: enables rates
src/settings-tab.js - Plugin entry → Translations: loads language
src/main.js - Financial report → Money and period logic: uses calculations
src/report.js - Budget user → Budget Markdown: owns data
README.md