Generates a screenshot of any web page - as API or command line. Powered by Puppeteer.
Made by the team at Weld (www.weld.io), the code-free app and web creation tool:
- Install dependencies:
yarn
- Start Screenshooter with
yarn start
Browser: Open your favorite browser and take a screenshot like this: http://localhost:1337/http://ljugare.com
Embed a screenshot directly into an HTML img
tag:
<img src="http://localhost:1337/http://www.google.com" alt="Google’s website">
E.g. http://localhost:1337/http://ljugare.com?imageFormat=png
imageFormat
: (default: 'jpg')imageWidth
: (default: 240)imageHeight
: (default: 240)browserWidth
: (default: 1024)browserHeight
: (default: 1024)
node shoot.js http://ljugare.com myimage.jpg imageWidth=500 imageHeight=400