# pub.solar finances This repository is used to track the finances of pub.solar transparently. We use [hledger](https://hledger.org/) to create finance report in a minimalistic, terminal friendly way. ### Quick start Installing hledger with [nix](https://nixos.org/download), the package manager. ``` git clone gitea@git.pub.solar:pub-solar/finances.git finances && cd $_ nix develop ``` or with [direnv](https://github.com/nix-community/nix-direnv). ``` git clone gitea@git.pub.solar:pub-solar/finances.git finances && cd $_ direnv allow ``` Creating a report without negative numbers ``` hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 ``` Creating a web report, viewable in a browser ``` hledger-web --file ./finances.hledger ``` Writing a HTML table to the README ``` hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 --output-format html >> README.md ``` ### Finances report table

Income Statement 2023-01-10..2023-12-28

Commodity2023-01-10..2023-12-28
 
Revenues
415.00
87.00
total502.00
 
Expenses
52.40
26.02
124.47
total202.89
 
Net:299.11