Personal warehouse management system
Go to file
Přemysl Eric Janouch 9734cdd16e
bdf: make it possible to set the drawing colour
Intended for red and black tapes.
2021-06-09 23:18:06 +02:00
bdf bdf: make it possible to set the drawing colour 2021-06-09 23:18:06 +02:00
cmd bdf: make it possible to set the drawing colour 2021-06-09 23:18:06 +02:00
imgutil Split out imgutil 2019-04-13 00:34:40 +02:00
label bdf: make it possible to set the drawing colour 2021-06-09 23:18:06 +02:00
ql Flush input buffers on printer initialization 2019-04-14 21:34:56 +02:00
LICENSE bdf: make it possible to set the drawing colour 2021-06-09 23:18:06 +02:00
README.adoc README.adoc: add a representative picture 2019-04-16 00:09:01 +02:00
go.mod Update dependencies 2021-06-08 03:44:07 +02:00
go.sum Update dependencies 2021-06-08 03:44:07 +02:00
sklad.png README.adoc: add a representative picture 2019-04-16 00:09:01 +02:00

README.adoc

sklad

sklad is a simple personal warehouse management system or, lets rather say, "stuff management system", employing a web UI for easy mobile access from a smartphone. The templates are currently localised only in the Czech language.

The project also contains reusable Go packages with a Brother QL-series USB printer driver and a simple BDF bitmap font renderer, as well as a few related utilities for previewing, printing and debugging.

sklad

Building and Running

Build dependencies: Go
Runtime dependencies: Linux, a Brother QL label printer connected over USB

You will need to bootstrap the database by writing a minimal db.json:

{
	"Password": "login-password",
	"Prefix": "A",
	"BDPPath": "font.bdf",
	"BDFScale": 3
}

Decent Unicode fonts in the BDF format can be obtained from https://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html though they will need some upscaling because of the printers high DPI.

After placing the templates and the BDF font file in the current working directory, run the application as follows:

$ sklad :8000 db.json

Contributing and Support

Use https://git.janouch.name/p/sklad to report any bugs, request features, or submit pull requests. git send-email is tolerated. If you want to discuss the project, feel free to join me at ircs://irc.janouch.name, channel #dev.

Bitcoin donations are accepted at: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9

License

This software is released under the terms of the 0BSD license, the text of which is included within the package along with the list of authors.