Skip to content

JohannesHoppe/puppeteer-html2pdf

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Packages

No packages published