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 screenshot- (
width
): The viewport width (in pixels), defaults to 1280 - (
height
): The viewport height (in pixels), defaults to 800
Example: /?url=https://steren.fr
- Build with
docker build . -t screenshot
- Start with
docker run -p 8080:8080 screenshot
- Open in your browser at
http://localhost:8080/?url=https://steren.fr