bin | ||
config | ||
data | ||
ledgerbil@02dd7a8438 | ||
.env | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
docker-compose.yaml | ||
README.md |
MetaLedger
MetaLedger makes it easy to setup plain text accounting by configuring several useful utilities and grouping them into a single Docker Compose script.
- hledger for command line interaction and ledger file parsing
- ledgerbil for interactive reconciliation
- Apache Superset for awesome custom dashboarding
- Uses a utility to automatically periodically dump your ledger data into a SQLite database that Superset can query.
Currently it can be run on linux/amd64 and linux/arm64 (except for superset due to this issue). Adding more platforms should be possible, they just need to be added to the underlying hledger-multiarch project.
hledger exposes a web interface (configure the port in the .env
file). There are also utility script in the bin
directory to make regular tasks quick and easy.
Setting Up
-
Initialize the submodules
git submodule init git submodule update
-
Put your ledger files in the data folder.
-
Edit
.env
and fill in your desired values. -
Copy
ledgerbil/ledgerbil/settings.py.example
toledgerbil-settings.py
and fill in the values with your data. -
Start the services with
docker-compose up -d
You can now access the web UI for hledger at your chosen URL (from the .env
file), ledger-analytics, and use the helper scripts in the bin
directory to use the various utilities. All utilities should be pre-configured with your ledger file location.
Usage
If you add the bin
directory to your path, the utility scripts in there will expose various ledger and hledger functionality by mapping into the respective containers. They will be automatically configured to interact with your ledger files as defined in the .env
file.