Skip to content
master
Switch branches/tags
Go to file
Code

README.md

puppeteer-html2pdf

Screenshot

The worlds most simplest website to PDF converter, based on express and Puppeteer (previously based on nightmare which can't run headless).

Howto

npm i
npm start

Browse to http://localhost:4000/ and start converting websites to PDF files.

Howto Heroku

Fork this repo, adjust some settings. You can also directly auto deploy this repository, if you want. A free dyno is good enough. Required Buildpacks:

  • heroku/nodejs
  • https://github.com/jontewks/puppeteer-heroku-buildpack

That's it. Start converting websites.

Online Demo

You can test this service at https://puppeteer-html2pdf.herokuapp.com/
Don't use this for any productive usage and don't rely on the service!

  • I can and will shut down the demo whenever i want.
  • There is also no warranty of any kind.
  • I might add kitten pictures into the PDF!

License

The MIT License (MIT)

Copyright (c) 2018 Johannes Hoppe

About

The worlds most simplest website to PDF converter, based on express and puppeteer.

Resources

License

Packages

No packages published