Website Preview Tool
Get a screenshot of a website from the command line
Made with Puppeteer and Commander.
Index
How to use
- You can install it on your computer globally by doing:
npm install -g website-preview-tool
and then you can run it by doing
website-preview-tool website <link>
- You can run the tool by doing:
npx website-preview-tool website <link>
You need to add https://
or http://
Options
-o <output>
- Set the name of the screenshot output. The default is website_preview.png
-h <number_of_pixels>
- Set the height of the website. The default is 1920
.
-w <number_of_pixels>
- Set the width of the website. The default is 1080
.