Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 499 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 499 Bytes

Warning

Not actively maintained. I found and use the API of StirlingPDF with a similar feature as of now.

html-to-pdf

Converts HTML to a PDF file

Build

docker build -t html-to-pdf .

Run

docker run -p 5000:5000 -d html-to-pdf

Usage

WebUI

Website accessible on port 5000 http://localhost:5000/

API

Attach HTML as body to the POST-Request to http://localhost:5000/api/html-to-pdf

Returns the PDF file as response