Skip to content

📸 Capturing Website Screenshots in PDF, PNG, JPG using Node.js, Puppeteer!

Notifications You must be signed in to change notification settings

thatbeautifuldream/url2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 url2pdf

Puppeteer based project for url to png/jpg/pdf conversion.

Tools

  • NodeJs
  • Puppeteer

Requirements

In order to utilise this project you need to have the following installed locally:

To install the dependencies locally run:

npm install dependencies

Usage

In order for the conversion to pass, you will need to configure the script with the following parameters:

node capture <url> <ext>
  • Add the web addresses in the <url> section of the node command.
  • Add the output file extension in the <ext> section of the node command.
node capture https://www.google.com png

Demo

node capture https://google.com png
Screenshot

About

📸 Capturing Website Screenshots in PDF, PNG, JPG using Node.js, Puppeteer!

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published