command module
Version: v1.0.2 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 10 Imported by: 0



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. You can also build it from source by running :

go get -u -v github.com/RadhiFadlillah/duit

Make sure you have go >= 1.13 before building 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 www.flaticon.com.


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.


The Go Gopher

There is no documentation for this package.

Source Files


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL