A dockerized webservice written in Go that uses wkhtmltopdf to convert HTML into documents (images or pdf files).
Do a HTTP POST to ip address (port 9090) with the following json:
{
"Url" : "http://sau.no",
"Html" : "<html><head></head><body><p style='color:red;'>example</p></body></html>",
"Output" :"png",
"Options" : {"height" : "800", "width":"600"}
}
The Html field will be used if supplied. Omit it if you want to use the Url instead.
This code is released under the MIT License.