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. For example:
curl \
-F template="https://raw.githubusercontent.com/abdollahpour/micro-pdf-generator/main/docs/template.html" \
-F data="https://raw.githubusercontent.com/abdollahpour/micro-pdf-generator/main/docs/data.json" \
https://micro-pdf-generator.abdollahpour.com/pdf/sample.pdf -o sample.pdf
It uses Go template format but you can also use normal standalone html (for template) and don't pass data. You can also use url, file and string for both data and template parameters (check configurations)
- Running using Kubernetes
- Running using Serverless (Knative)
- Running using Docker
- Configuration and parameters
- Add more test
- Complete docs
- Complete templates
- Add system template for HTML errors
- Add JSON schema support