JohnieLee / screeny

Heroku-hosted screenshot server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

screeny

Heroku-hosted screenshot server

Getting Started

Create a new Heroku application

$ heroku create --stack cedar --buildpack http://github.com/stomita/heroku-buildpack-phantomjs.git

Set secret token (for authentication)

$ heroku config:set SECRET=<mysecret>

Push repository to Heroku

$ git push heroku master

Request screenshot

$ curl http://myscreenshotapp.heroku.com/snap?url=http://www.google.com&auth=<mysecret>&postback=http://...

About

Heroku-hosted screenshot server