Simple progressive web app (PWA) for food inventory management with barcode scanner and offline mode.
Clone the repository: git clone https://codeberg.org/ldb/invelwrtiny.git.
Build the assets using ninja. You will need esbuild, rsvg-convert and jq.
Create cert.pem and key.pem, because this PWA uses features available for secure origins only.
Create users.txt via
(echo -n "password" | sha256sum - | cut -d ' ' -f1 | tr -d '\n' && echo -e "\tusername") >> users.txt
Run nginx:
nginx -c nginx.conf -p .
Install and run the Python back-end
virtualenv -p python3 sandbox
source sandbox/bin/activate
pip install -r requirements.txt
python3 server.py
Then navigate to https://localhost:5000 and login with the chosen password.
For production usage it’s also highly recommended to use a separate origin, since same origins share the same localStorage and may use conflicting keys.
A combination of lazyness and curiosity about text to image generators. The input for FLUX.1-schnell was literally “material design logo for an inventory management app” and this is what it came up with:
The actual logo was also generated by the prompt “round material design logo for a food inventory management app” using the same model.
Yes, no translations yet, sorry.
Nope.