Sign inSign up

fehmer/rest-pdf-playwright-adapter

By fehmer

Updated over 5 years ago

converts posted html into pdf using remote playwright

Image
0

2.7K

fehmer/rest-pdf-playwright-adapter repository overview

rest pdf playwright adapter

Note: Experimental, don't use this in production.

Provides a REST endpoint taking a HTML from the POST-body, call Playwright to create a PDF and returns it back.

Running

Start the docker image fehmer/rest-pdf-playwright-adapter:latest. Pass the PLAYWRIGHT_URL as environment variable.

You can use e.g. browserless/chrome and set the PLAYWRIGHT_URL to ws://localhost:3000.

Tag summary

Content type

Image

Digest

Size

628.5 MB

Last updated

over 5 years ago

docker pull fehmer/rest-pdf-playwright-adapter