ref: 2a6c9d5c1b6b18b1adf68de7465b0443900dc280 dummy/README.md -rw-r--r-- 672 bytes
2a6c9d5cMendel E Add license 1 year, 4 months ago


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


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


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.