1
0
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
metaledger/README.md

2.0 KiB

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 to ledgerbil-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.