A self-hosted, multi-user expenses tracker. Record income, expenses and transfers across wallets in different currencies, file them under categories you manage, and see where the money went on a per-currency overview (which can also show everything converted into one currency at the day's ECB rates). Import and export as CSV or JSON, including Spendee exports and bank statements.
mkdir expenses-tracker && cd expenses-tracker
curl -fsSLO https://raw.githubusercontent.com/xalert/expenses-tracker/main/deploy/compose.yaml
docker compose up -dOpen http://localhost:3000 and create your account. That starts the prebuilt image (amd64 and arm64) and its PostgreSQL database; there is nothing to clone or build.
docs/SELF-HOSTING.md covers running it for real: settings (database password, port,
closing registration), HTTPS behind a reverse proxy, backup and restore, upgrading, building from source and
running without Docker. Take a backup before upgrading (docker compose run --rm backup). Instances from before
the move to PostgreSQL cannot be upgraded in place; carry each account across with its JSON backup
(how).
From a clone, with Node 20.9+ and Docker. make lists every shortcut; details in
docs/DEVELOPMENT.md.
Run the app on demo data at http://localhost:3000 (sign in as demo / demo-password):
make demoRun it on your own data instead (a separate database; register, then import your files):
make personalTypecheck, lint and run the whole test suite:
make checkOne test file, optionally only the tests whose name matches:
make test FILE=tests/users.test.ts NAME=changePasswordRun the browser tests (Playwright, against a production build and a throwaway database):
make test-e2eRe-run the tests on every save:
make watchPut the demo data back to its fresh state:
make demo-resetStop the development database (the data stays):
make downdocs/IMPORTING.md: importing and exporting your data — backups, the CSV, Spendee.docs/DEVELOPMENT.md: running from source with demo data, debugging, npm scripts, releasing, code layout.CHANGELOG.md: what changed in each release.docs/SPEC.md: how everything works, including the import and export formats;docs/DECISIONS.mdhas the reasons and the known gaps.docs/STATEMENT-IMPORTER.md: the companion Statement Importer page on claude.ai that turns bank statements (CSV, text, PDF or a photo) into a CSV this app imports.