hubot-webshot-s3

0.0.1 • Public • Published

hubot-webshot-s3

Take a webshot of a site, upload to s3 and return the url

See src/webshot-s3.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-webshot-s3 --save

Then add hubot-webshot-s3 to your external-scripts.json:

[
  "hubot-webshot-s3"
]

Sample Interaction

Take a webshot

user1>> hubot webshot http://www.google.com default
hubot>> https://your_image_bucket/2015-07-16-abcd1234.png

List Profiles

user1>> hubot webshot list profiles
hubot>> default, mobile 

Describe a Profile

user1>> hubot webshot describe mobile
hubot>> {"screenSize":{"width":320,"height":480},"shotSize":{"width":320,"height":"all"},"userAgent":"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531."} 

Package Sidebar

Install

npm i hubot-webshot-s3

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • dan-sullivan