Public | Automated Build

Last pushed: a month ago
Short Description
Takes an URL, waits for the page to load and takes a snapshot.
Full Description

Snapshooter

A snapshot utility. Takes an URL, waits for the page to load and takes a snapshot.

Note
Service waits until the page signals that it's ready for a snapshot. See more here: https://www.npmjs.com/package/webshot search for takeShotOnCallback.

Usage

GET http://snapshoterurl/shot?url={URL}

Returns AWS response for uploading or error if it occured.

Optional flags

hashUrl - either true or false. Hashes URL for output file name.
persist - either true or false. Stores in the persistent AWS bucket.

Development

Build
docker build -t snapshooter .

Run:
docker run -p 1437:1437 -it --rm --name snapshooter snapshooter

Or to have files mounted in cotainer:
docker run -p 1437:1437 -it --rm -v /path/to/snapshooter/:/usr/app/ --name snapshooter snapshooter

Authors

Docker Pull Command
Owner
databox
Source Repository