Mini API to create screenshots of websites and call back with the image data.
This was a breakable toy that I hacked together as a proof of concept. It's pretty hacky currently, but still pretty young...
See here for documentation.
Make sure you have PhantomJS (>= 1.9.0) installed.
On OS X, you can use Homebrew to
install Phantomjs with brew install phantomjs
.
Then, to run the application:
bundle install
bundle exec foreman start
Then, just run heroku ps:scale worker=1 -a YOUR-APP-NAME
to boot the workers.
Since, for now, the image capturing is done in Threads, using JRuby or Rubinius is advised.
See here.