Analytics/Visualization tool for ledger-cli. Tested on Node v9.11.1.
Make sure npm and ledger-cli is installed (npm --help
and ledger --help
should display some information if its installed).
npm install -g ledger-analytics
ledger-analytics -f <your journal file> [extra arguments for ledger]
# Examples
# ledger-analytics -f main.journal
# ledger-analytics -f main.journal --input-date-format "%d.%m.%y"
Navigate to http://127.0.0.1:3000 in your browser
Don't insert the $
character.
You can query multiple accounts by separating each account with a space (e.g. assets liabilities
), or exclude certain accounts by adding and not <account>
in front of them (e.g. expenses and not expenses:food
).
$ expenses:food expenses:flights
$ assets and not assets:super and not assets:stock
$ expenses and not expenses:travel
$ income,expenses,assets:stocks
$ expenses and not expenses:travel,income
$ assets:stocks assets:bank1
$ assets:stocks and not assets:crypto
extraArgs
bug (thanks to rohieb)
0 || 1
gives 1
?undefined || 0
gives 0
too analyze.js
to ledger-api.js
ledger-api
object composable :)PUBLIC_URL
append on NPM buildindex.html
with weird prefix appendingasset and not asset:pension
npm run start # For frontend
npm run express # For backend
Icon by flaticon.com