PDF screenshot API based on Puppeteer.
version >= 8.0.0
$ NODE_ENV=production npm install
$ NODE_ENV=production PORT=4005 npm start
$ DEBUG=1 NODE_ENV=production PORT=4005 npm start
Open http://localhost:4005/export?url=http://www.google.com&filename=google.pdf&format=A4&orientation=portrait
Content type
Image
Digest
Size
397.8 MB
Last updated
over 8 years ago
docker pull predicsis/html2pdf