1
0
Fork
You've already forked fingeld
0
Track shared grocery expenses – a holiday-project.
  • HTML 50.8%
  • Lua 49.2%
2025年11月12日 17:37:45 +01:00
cmd cli: Add basic CLI frontend 2025年01月28日 13:21:50 +02:00
web web(history): Pad single decimals with zero 2025年01月28日 12:55:29 +02:00
.gitignore Initial Commit 2025年01月26日 17:55:34 +02:00
backend.lua fix: drop invalid transactions instead of crashing when price is not a number 2025年11月12日 17:37:45 +01:00
fingeld-scm-0.rockspec cli: Add basic CLI frontend 2025年01月28日 13:21:50 +02:00
fingeld.example.cfg Initial Commit 2025年01月26日 17:55:34 +02:00
LICENSE Initial Commit 2025年01月26日 17:55:34 +02:00
readme.md fix: Improve nginx integration 2025年01月28日 12:53:49 +02:00

FinGeld 💸

Track shared grocery expenses – a holiday-project.

Building

The FinGeld-backend is based on Lua and compiles to an nginx-mod-http-lua plugin:

> luarocks make --no-install

Nginx Config

location / {
 root <fingeld-path>/web;
 try_files $uri @fingeld;
}
location @fingeld {
 default_type 'text/html';
 # <fingeld-path>/bin
 content_by_lua_block {
 require 'ngx_fingeld'()
 }
}

Make sure to configure the lua cpath in the http section of your nginx.conf:

http {
 lua_package_cpath '<fingeld-path>/bin/ngx_?.so';
	lua_code_cache off;
 ...
}

Config

Copy the reference configuration file fingeld.example.cfg (Lua syntax) to the runtime directory of your Nginx installation, as fingeld.cfg, and edit it to enter your travel companions names to the nerds array.

Fingeld stores all transactions in a small MessagePack-file (nerdstore.cm), which is created automatically with the first entry.

Attribution


Created in 🇫🇮 by Lesosoftware and friends (2025)