Skip to content

Generates a screenshot of any web page - as API or command line.

License

Notifications You must be signed in to change notification settings

weld-io/screenshooter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshooter

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:

Weld

Screenshot

Screenshooter

How to run it

  1. Install dependencies: yarn
  2. Start Screenshooter with yarn start

Codeship build status

How to use it

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">

Parameters

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)

Command line

node shoot.js http://ljugare.com myimage.jpg imageWidth=500 imageHeight=400

About

Generates a screenshot of any web page - as API or command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%