Back to services

Family Accounting Tool

Web-based finance management tool for partners with partially shared expenses.

View alternatives to Family Accounting Tool
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Family Accounting Tool (project name facto) is a bookkeeping tool that the developer Jens wrote in his spare time for his own family and later open-sourced for others to use. It records every transaction in a household and is mainly used for three things:

  • Extracting statistics: for example, how much is spent on food each month.
  • Calculating internal debts: for example, if Alice buys toilet paper for the whole family with her own money, the system records that the household owes Alice that amount.
  • Spotting unexpected expenses: checking whether money is going to places you didn't expect, such as hidden bank fees.

Core Concepts

Accounts

An account can belong to a single family member or be the household's shared account. For example, a household with two members, Alice and Bob, has three accounts: Alice, Bob and the shared account. Members regularly transfer money to the shared account to cover common household expenses. This kind of transfer is called an endowment.

Categories

Categories are used to sort expenses into groups. Every account has two special categories:

  • Accounting category: used for amounts that are not real income or expenses, such as costs that will later be reimbursed by an employer. This category is ignored when analyzing the monthly surplus or deficit.
  • Endowment category: used for transfers to the shared account.

Entering Transactions

There are a few special fields when entering a transaction:

  • Beneficiary: for an expense, the party that benefits; for income, the party that receives the money.
  • Paid with/to: for an expense, enter how it was paid; for income, enter where the money went.
  • Flow: enter a negative number for an expense and a positive number for income.

Cash Flow Overview (Cash Flow)

This feature helps you find discrepancies. First, use the "set" button to set the current balance of each payment method (cash, bank card, etc.). After that, the balance is updated automatically each time you enter a transaction. When you recount your cash, if it matches the calculated value, you can tick it to mark it as verified. If it doesn't match, there is either an entry error or money has gone missing.

Target Users

  • Families or housemates who want a detailed view of their income and expenses
  • Users who need to split shared expenses among members and keep track of who paid up front
  • Tech enthusiasts who prefer to self-host and keep control of their own financial data

Installation and Deployment

Installing from a Release (recommended)

  1. Install Java 11 (JDK 11) on your server.
  2. Download "Binaries (compiled files) with demo configuration" from GitHub Releases and unzip it.
  3. Edit conf/application.conf to configure the database. The simplest approach is to install MariaDB locally, create an empty database named facto, and connect to it via JDBC (MySQL driver).
  4. Set secret values for play.http.secret.key and app.setup.defaultPassword.
  5. In the unzipped directory, run the following in order:
bin/server -DdropAndCreateNewDb   # 创建数据表
bin/server -DcreateAdminUser      # 创建管理员
bin/server                        # 启动应用
  1. Visit http://localhost:9000/app/useradministration. The default username is admin and the password is changeme.

Using Docker (not recommended for production)

The project provides an official docker-compose.yml that starts the application and database in one step, which is handy for a quick trial. However, the authors state clearly that for long-term use with real data and custom configuration, it's best to install from a Release.

Configuration

  • conf/application.conf: basic settings such as the database.
  • User management: the default admin account can create new users.
  • conf/accounting-config.yml: configure accounts, categories and other preferences to suit your household. The userLoginName must correspond to a user that already exists in the database.

Technical Requirements

  • Java 11 (JDK 11)
  • MariaDB/MySQL database
  • Built with Scala (sbt build) and Play Framework, running on port 9000 by default

Worth Noting

  • It is maintained by an individual developer and was written for his own family, so the community is small.
  • To get the most out of it, you need to understand the concepts of "accounts" and "categories" and enter transactions correctly according to the rules, so there is a certain learning curve.
  • The author mentions some hidden advanced features, such as exchange rates and inflation correction.