ref: a396b155400c425ab99e147f2a76023e0d78221b dummy/README.md -rw-r--r-- 722 bytes
a396b155Mendel E Rename main cmd to dummyserver 1 year, 2 months ago


A simple placeholder image generator. Supports specifying width, height, and colors. Soon text, fonts, font size, and patterns.


To install the web service:

go get git.sr.ht/~mendelmaleh/dummy/cmd/dummyserver


The config uses the TOML format. You should define the address:port it runs on, and its pattern root endpoint.

Additionally, a directory with fonts is required, with minimum one font, set as the default. Ensure the fonts value has a trailing slash.

addr = "localhost:port"
pattern = "/"
fonts = "fonts/"
font = "Open Sans"


The API is documented here.