Skip to content

bilginyuksel/pdfgen

Repository files navigation

pdfgen

Simple html to pdf application. Takes the html input converts it to pdf.

Getting Started

Build docker image

docker build -t pdfgen .

Run docker image

docker run -dit -p 3000:3000 pdfgen

Usage

After you run the docker image you can use it easily like.

curl --location --request POST http://localhost:3000 --header 'Content-Type: application/json' --data-raw '{"html": "<h1>Hello world</h1>"}' -o sample.pdf

open sample.pdf

About

Simple fast service to convert html's to pdf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published