Financial statements of pub.solar n.e.V.
Find a file
2024-01-27 14:57:56 +01:00
.envrc feat: initial flake devshell for hledger 2023-12-15 20:42:56 +01:00
.gitignore feat: initial flake devshell for hledger 2023-12-15 20:42:56 +01:00
finances.hledger Update finances with transactions from 2024-01-26 2024-01-27 11:28:41 +01:00
flake.lock feat: initial flake devshell for hledger 2023-12-15 20:42:56 +01:00
flake.nix feat: initial flake devshell for hledger 2023-12-15 20:42:56 +01:00
README.md Show total column in the README 2024-01-27 14:57:56 +01:00

pub.solar finances

This repository is used to track the finances of pub.solar transparently. We use hledger to create finance report in a minimalistic, terminal friendly way.

Finances report table

Income Statement 2023-01-01..2024-12-31

Commodity20232024Total
 
Revenues
donations:member415.0090.00505.00
donations:non-member87.0010.0097.00
total502.00100.00602.00
 
Expenses
infra:domain52.40052.40
infra:file-storage26.022.2428.26
infra:server124.4744.03168.50
total202.8946.27249.16
 
Net:299.1153.73352.84

Quick start how to use hledger

Installing hledger with nix, the package manager.

git clone gitea@git.pub.solar:pub-solar/finances.git finances && cd $_
nix develop

or with 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 --yearly --row-total >> README.md