pageshot
pageshot copied to clipboard
Pageshot as a service.
pageshot 
Pageshot as a service.
Usage
- Web UI: https://shot.now.sh
- Endpoint: https://shot.now.sh/shot
Examples:
- https://shot.now.sh/shot?url=https://google.com
- https://shot.now.sh/shot?url=https://github.com&full=true
Query Params:
-
url
: The webpage location. (required) -
width
: Viewport width. (default: 1280) -
height
: Viewport height. (default: 800) -
full
: Full page screenshot. (default: false) -
dpr
: Device pixel ratio. (default: 2)
Deploy
- to now.sh:
now amio/pageshot
- using Dockerfile:
docker pull amio/pageshot
- running locally (require Google Chrome installed):
npm start
License
ISC © Amio