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.
Features
-
Basic money tracking, i.e. income, expense and transfer.
-
Simple chart to track total money available.
-
Responsive on mobile.
Installation
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.
Usage
Duit, the simple money manager
Usage:
duit [flags]
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)
Configuration
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 = "127.0.0.1"
dbPassword = ""
Once configuration file created, you can start using duit
.
Attributions
Original logo is created by Freepik in theirs business pack, which can be downloaded from www.flaticon.com.
License
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.