imgen

Image Generator written in Go.

Run on Docker

docker run -d --name imgen -p 3000:3000 ctrlaltdev/imgen

You can also customize what port is used in the container:

docker run -d --name imgen -e "PORT=5000" -p 3000:5000 ctrlaltdev/imgen

Usage

There are 3 parameters available:

  • Format (svg, png, jpg), default: svg
  • Width, default: 1920
  • Height, default: 1080

You can specify only the format, or only the dimensions, both or none:

  • /
  • /png/
  • /300/150/
  • /jpg/200/600/