Sign inSign up

jackclub/node-webshot

By jackclub

Updated about 5 hours ago

Image
Internet of things
Developer tools
Web servers
0

10K+

jackclub/node-webshot repository overview

Node-Webshot

Node-Webshot is a simple wrapper around webshot, a node web service that takes a screenshot of a web page.

Installation

git clone [this repo]
cd [path to repo]
npm install

Usage

npm run start

This will start the server on port 3000.
To take a screenshot, send a GET request to / with the following parameters:

  • url: The URL of the page to take a screenshot of.
  • viewport: The viewport of the page to take a screenshot of (optional). The viewport format is [width]x[height]; For example, 1920x1080 for a 1920x1080 viewport.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or pull request if you have any suggestions or improvements.

Tag summary

Content type

Image

Digest

sha256:fd7515a31

Size

739.3 MB

Last updated

about 5 hours ago

docker pull jackclub/node-webshot