kbarendrecht / html2pdf

HTTP Service to convert HTML to PDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html2pdf

HTTP Service to convert HTML to PDF.

It was designed to run as a microservice. So make sure that you have a security layer to encrypt the traffic.

Build

docker build -t werkspot/html2pdf .

Run

docker run -it --rm -p 8000:8000 werkspot/html2pdf

How to use it

curl http://localhost:8000 --data @file.html > file.pdf

More examples on /examples.

About

HTTP Service to convert HTML to PDF

License:MIT License


Languages

Language:JavaScript 79.2%Language:Dockerfile 20.8%