
micro-pdf-generator
Fast HTTP microservice written in Go for PDF generating. micro-pdf-generator can be used as a private or public HTTP service for massive HTML to pdf conversion. You can use query param, string, and URL as an input and go template engine to update input data as well. Ex
Here are some examples
SERVER=http://micro-pdf-generator.demo.1.1.1.1.xio.io/pdf/sample.pdf
curl -F template="http://to-html-file" $SERVER
curl -F template=@local_html_file $SERVER
curl -F $SERVER?template=<html><body>Some_HTML</body></html>
curl -F template="http://raw.gitttttttttt -F data=@sample.json -F download=true -F waitFor=body $SERVER
More detils in here:
TODO
- Add more test
- Complete docs
- Complete templates
- Add system template for HTML errors
- Add JSON schema support