Screenshot as a service: take screenshot of the given URL
A simple web service that takes screenshot of the given URL.
Run with docker run -p 8080:8080 gcr.io/as-a-service-dev/screenshot
url
: The URL of the website to screenshotwidth
): The viewport width (in pixels), defaults to 1280height
): The viewport height (in pixels), defaults to 800Example: /?url=https://steren.fr
docker build . -t screenshot
docker run -p 8080:8080 screenshot
http://localhost:8080/?url=https://steren.fr