PocketLedger · Product and engineering case study

Your money, a little clearer.

A private place to plan a budget, split shared costs, and find a way out of debt. No account, bank connection, or subscription is needed for the current tools.

PocketLedger is available as a free web app. Start a private ledger or explore the synthetic sample before entering your own records.

PocketLedger overview showing sample budget, shared expense, and debt payoff summaries.
Responsive app preview with synthetic sample records: desktop on wide screens, mobile viewport on narrow screens.

Useful finance tools without account overhead.

Budgeting, shared costs, and debt plans often end up in separate spreadsheets or services. PocketLedger brings those tasks into one consistent interface while keeping their records independent: a group repayment does not silently become a budget transaction, and a debt projection does not record a real payment.

Andrew Odom designed and built the product through ODOM Tech, covering the interface, calculation engine, local persistence, recovery workflows, testing, and deployment.

The constraints shaped the solution: work across phones and computers, keep financial records on the device, and avoid a paid backend. A responsive React and TypeScript progressive web app, built with Vite, provides one codebase and a public link without requiring a native app release.

Three everyday questions. One calm workspace.

Where is my money going?

Plan by month and category. Record income, expenses, and refunds, carry unused funds forward, and confirm monthly reminders when they are due.

Who owes whom?

Keep a group ledger, split costs equally or by percentage, shares, or exact amounts, and record repayments against clear settlement suggestions.

What gets me debt-free?

Compare snowball and avalanche plans using the same monthly commitment. Inspect projected interest and a month-by-month path forward.

A small routine that adds up.

Start with an empty ledger or explore an isolated sample. Choose a currency before adding records; the app never relabels existing amounts through conversion.

  1. Give the month a plan. Set category budgets, then track the transactions behind the totals.
  2. Settle shared moments. Add a payer and the people sharing an expense. Record only repayments that actually happened.
  3. Try a payoff plan. Add balances and an extra monthly amount. Compare estimates before saving a scenario.
  4. Keep a recovery copy. Download a complete encrypted backup and test restoring it in a separate browser profile.

The engineering behind the ledger.

Account for every minor unit.

Stored amounts use safe integer minor units, with BigInt intermediates for parsing, weighted allocations, and interest calculations. Equal, percentage, weighted-share, and exact splits allocate rounding remainders deterministically, so participant amounts add up to the original expense. JPY uses zero decimal places; the other supported currencies use two.

Commit the whole save together.

Dexie wraps IndexedDB writes, expected-revision checks, and recovery-copy rotation in one transaction. A stale tab cannot overwrite a newer ledger. The interface reports success only after storage commits and retains form input when a write fails.

Make recovery part of the data format.

Complete JSON and encrypted backups share a versioned schema. Imports validate structure, references, duplicate IDs, calendar dates, and money totals before previewing a complete replacement. Unsupported versions are refused. Three local recovery slots help undo mistakes, but do not replace an independent exported backup. Transaction CSV is a portability option, not a full backup.

Protect exported copies.

Web Crypto encrypts portable backups with AES-256-GCM, a fresh random salt and IV, and PBKDF2-SHA-256 with 600,000 iterations. The passphrase is never retained. Local browser records remain unencrypted; the device lock protects access, and hiding amounts is only a display preference.

Compare debt plans on equal terms.

Snowball and avalanche use the same starting monthly payment budget. Minimums are paid first, extra money follows the chosen priority, and freed payments roll into remaining debts. Projections use rounded monthly APR/12 interest, capped final payments, and a 600-month horizon. Due days are informational; actual lender schedules can differ.

Your records stay on your device.

The offline-capable web app stores records in your browser. There is no financial backend or cloud sync. The current architecture targets $0 ongoing app-backend cost.

Local records are not encrypted. Your device lock protects access; hidden amounts are a display preference. Encrypted portable backups protect exported files with a passphrase you keep.

Browser clearing or device loss can remove the ledger. Each browser and website address has separate data. Offline use requires an initial online visit and completed app caching.

All current tools are free. Native releases and optional paid extras are future possibilities, not current features. Debt projections are planning estimates, not financial advice.

A public link without a financial backend.

The app is served as static files from Cloudflare Pages at its stable pages.dev address. It operates independently of development computers and homelab hardware, with a $0/month platform-cost target within the Free plan limits.

Production builds run from main; preview branch builds are disabled. The release gate installs dependencies, checks types and lint, runs unit tests, and compiles the application. Development browser checks run locally.

A Workbox service worker caches versioned application assets for offline use and prompts before updating. Keeping the app's origin stable matters because browser storage belongs to that origin. Moving to a new address would require an explicit export/import migration; rolling back application files does not restore ledger data.

Live, with a clear validation record.

At the October 23, 2026 verification checkpoint, 67 local unit tests passed, covering allocations, refunds, budget rollover, recurring entries, debt projections, import validation, atomic writes, stale-tab conflicts, and encrypted round trips. Type checking, linting, and the production build also passed.

Hosted Chromium and WebKit smoke checks covered offline use and backup workflows. An actual production rollback and return to the current release preserved the complete synthetic ledger through both service-worker transitions. Additional local checks in Chrome, Firefox, and WebKit covered workflows and keyboard use; automated accessibility scans found zero violations across five views in both themes. Independent backup restores into clean browser profiles and simulated failed writes also passed locally.

These checks do not establish real-phone usability. Physical-device installation, native phone sharing and storage behavior, a full Edge run, human screen-reader review, and unassisted user trials remain open. No native package, bank integration, cloud sync, or billing infrastructure is implemented.

Try PocketLedger, read Andrew Odom’s role and contributions, or contact ODOM Tech about the project.