Skip to content

HTTP Service to convert HTML to PDF

License

Notifications You must be signed in to change notification settings

Werkspot/html2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.