Deployn
Blog

Self-Hosted Finance: Your Numbers on Your Server

Budgeting and invoices on your own server: Actual Budget, Sure Finance, Firefly III and Crater compared, plus calculators for budget, net present value, interest and salary.

Account balances, salary and spending are among the data I least want to leave with a cloud provider. For budgeting, a net worth dashboard or invoices there are open-source apps that run on your own server with Docker. This guide introduces the apps there are guides for here and shows which one fits which purpose.

Which app fits?

App Purpose Fits if Guide
Actual Budget budgeting with the envelope method you want to plan deliberately what every euro is for Actual Budget with Docker and Caddy
Sure net worth, cash flow and budgets in one dashboard you want every account in view, down to brokerage and property Self-host Sure Finance
Firefly III finance management with double-entry bookkeeping you want to keep entries the way accounting does Firefly III on a Synology NAS
Crater invoices, expenses and payments you’re self-employed and need to write invoices Crater on a Synology NAS

Actual Budget

Actual Budget works “local-first”: the budget lives as a full copy in the browser and also on your server, and changes sync in the background. The concept is the envelope method. You assign every euro you earn to a category and subtract spending from it. On top of that there are rules for automatic categorisation, schedules for recurring payments, reports and import from bank files.

Actual needs HTTPS, otherwise the browser won’t start the app. That’s why the guide sets up Caddy right away. The envelope method takes some getting used to. If you only want to analyse spending, a spreadsheet is quicker.

Sure

Sure is the community fork of Maybe Finance. It manages bank accounts, investments, crypto, property, vehicles, credit cards and loans and shows net worth, cash flow as a Sankey diagram and spending by category. Transactions come in via CSV, and there are import templates for Mint, Actual Budget, YNAB and Quicken.

Sure is heavier than Actual. In my installation the containers used about 810 MiB together right after start with an empty database, around 360 MiB each for web and worker. PostgreSQL, Valkey and Caddy only need a small part of that. The guide covers installation, backup and updates.

Firefly III and Crater

Firefly III leans more towards accounting, with budgets, credit cards and shared accounts. Crater is an invoicing app for small businesses and freelancers.

Both guides date from 2022 and describe the Docker package under DSM 7.0 on a Synology NAS. The Compose files also run on other devices with Docker. Crater is barely maintained any more. For a new installation, check the state of the project first.

Calculators without installation

Not every question needs its own app. These calculators run in the browser:

  • Budget planner: income and expenses with a cash flow report split into operating, investing and financing cash flow. Entries stay in localStorage, and there is a CSV export.
  • NPV calculator: whether an investment still leaves something over after the cost of capital, for constant returns or individually dated payments. The basics are in the post NPV calculator.
  • Interest calculator: simple and compound interest with day count conventions and crediting from yearly to monthly.
  • Salary calculator: gross to net for Germany with income tax, solidarity surcharge, church tax and social contributions, plus the way back from a target net to the gross it takes.

What you need to run it

  • Server: A small VPS or home server with Docker is enough. How to prepare it is in the guide Docker and reverse proxy.
  • HTTPS: Finance apps belong behind a reverse proxy with HTTPS. The Caddyfile generator has a template for Actual Budget.
  • Login: With Pocket ID you sign in with a passkey, and Actual Budget can connect via OIDC.
  • Backup: Back up the database and data folders to a second device and test the restore. A budget without a backup means years of work lost after a disk failure.

Frequently asked questions (FAQ)

  • Which app should I use for simple budgeting? Actual Budget. It is lean, fast and has a clear concept with the envelope method.
  • Can I connect my bank? Actual Budget and Sure connect to banks through external providers, and not every bank is covered. Importing CSV or bank files always works.
  • Can I switch from Actual Budget to Sure? Sure has an import template for Actual Budget. Check categories and balances after the import.
  • How much power do the apps need? Actual Budget is a single container without its own database. Sure consists of web, worker, PostgreSQL and Valkey and used about 810 MiB of RAM after start on my server.

Related Blog Posts for Self-Hosted Finance: Actual Budget, Sure, Firefly III and Crater Compared