Skip to content

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

Notifications You must be signed in to change notification settings

thorro/snapshooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published