# Abrechenbarkeit v2

A _simpler_ trust based ledger.

The entire application is contained within `abrechenbarkeit.lua`. This script
implements CGI. It was tested against Lua version 5.4.7. Application data is
stored in a number of files in the process working directory (See below).

The repository also contains a configuration file for the
[gnix http server](https://codeberg.org/metamuffin/gnix) (`gnix.yaml`) which is
useful for development or proxyless deployments.

## Data Files

- `log` stores the transaction log as CSV (`time,user,amount,comment`)
- `products` stores the product list as CSV (`barcode,price,name`)
- `config` stores configuration parameters as ESV (`key=value`)
  - `transaction_sound`: URL to sound played when creating a transaction