A self-hosted personal finance CLI for tracking accounts, balances, budgets, and reports
Cobblepot is a powerful command-line tool written in Rust for managing your personal finances. It provides a simple, self-hosted solution to track accounts, balances, budgets, and generate financial reports—all stored locally in a SQLite database.
- Account Management: Track multiple financial accounts (checking, savings, credit cards, etc.)
- Balance Tracking: Record and monitor account balances over time
- Budget Planning: Create budgets with recurring rules and track budget items across accounts
- Financial Reports: Generate balance sheets and analyze spending patterns
- Self-Hosted: All data stored locally in SQLite—you own your financial data
- Fast & Lightweight: Built with Rust for speed and reliability
- Financial Market Integration: Tiingo API integration for market data (optional)
- Rust 1.70+ (install via rustup)
- SQLite 3.35+
- Diesel CLI
git clone https://github.com/yourusername/cobblepot.git
cd cobblepot
cargo build --releaseThe binary will be available at target/release/cobblepot.
# List all accounts
cobblepot list accounts
# Create a new account
cobblepot create account --name "Checking" --type checking --owner "John Doe"
# Add a balance entry
cobblepot create balance --account-id 1 --amount 5000.00 --memo "Opening balance"
# Generate a balance sheet report
cobblepot report balance-sheetDisplay accounts, balances, budgets, or budget items
cobblepot list accounts
cobblepot list balances
cobblepot list budgets
cobblepot list budget-itemsCreate new accounts, balances, budgets, or budget items
cobblepot create account --name "Savings" --type savings --owner "Jane Doe"
cobblepot create balance --account-id 2 --amount 10000 --memo "Initial deposit"
cobblepot create budget --name "Monthly Budget" --amount 3000Generate financial reports
cobblepot report balance-sheetCobblepot is built with a modular workspace structure:
cli/: Command-line interface and user interaction layercore/: Core business logic and configurationdata_store/: Database schema, migrations, and data access layer (Diesel ORM)financial_markets/: Integration with financial market APIs (Tiingo)
- Accounts: Financial accounts with types (checking, savings, credit, etc.)
- Balances: Historical balance entries linked to accounts
- Budgets: Budget definitions with recurring rules
- Budget Items: Individual line items within budgets
- Budget Item Accounts: Allocation of budget items across accounts
cargo test --workspacecd data_store
diesel migration runThis project is open source. Please refer to the license file for details.
Cesar Diaz
