Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Simple money tracker, built with Go and Mithril.js

Duit is a simple money tracker written in Go language and Mithril.js. I created this for me and my wife, so the feature is a bit lacking, just the bare needed features to track where the money goes. However, I hope it will be useful for other families as well. This application is distributed as a single binary, which means it can be installed and used easily.


  • Basic money tracking, i.e. income, expense and transfer.

    Basic money tracking

  • Simple chart to track total money available.

    Simple chart

  • Responsive on mobile.

    Mobile responsive


You can download the latest version of duit from release page. To built from source, make sure you use go >= 1.13 then run following commands :

git clone
cd duit
go build -v -tags prod

After build finished, put it into your $PATH then run it.


Duit, the simple money manager

  duit [flags]

  -c, --config string   path to config file (default "/home/radhi/.config/duit/config.toml")
  -h, --help            help for duit
  -p, --port int        port used by the server (default 8080)


Duit uses MariaDB or MySQL database, so make sure it's installed on your system before you start duit.

As can be seen from usage documentation above, duit needs to be configurated before it started. The configuration file by default is located in user config dir (which is $XDG_CONFIG_HOME in Linux), but can be set manually by user.

The configuration file is a TOML file with following contents (change it depending on your case) :

dbName = "duit"
dbUser = "root"
dbHost = ""
dbPassword = ""

Once configuration file created, you can start using duit.


Original logo is created by Freepik in theirs business pack, which can be downloaded from


Duit is distributed using MIT license, which means you can use and modify it however you want. However, if you make an enhancement for it, if possible, please send a pull request. If you like this project, please consider donating to me either via PayPal or Ko-Fi.