https://github.com/werkspot/html2pdf
HTTP Service to convert HTML to PDF
https://github.com/werkspot/html2pdf
docker-image html2pdf
Last synced: about 2 months ago
JSON representation
HTTP Service to convert HTML to PDF
- Host: GitHub
- URL: https://github.com/werkspot/html2pdf
- Owner: Werkspot
- License: mit
- Created: 2017-08-25T11:51:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T15:44:10.000Z (over 5 years ago)
- Last Synced: 2025-10-20T00:56:44.213Z (7 months ago)
- Topics: docker-image, html2pdf
- Language: JavaScript
- Homepage:
- Size: 13.7 MB
- Stars: 1
- Watchers: 31
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](/examples).