Mini API to create screenshots of websites and call back with the image data.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public/js
views
.buildpacks
.env.sample
.foreman
.gitignore
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
app.json
app.rb
config.ru

README.md

Grabshot

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...

Using

See here for documentation.

Running

Make sure you have PhantomJS (>= 1.9.0) installed.

OS X

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

Heroku

Deploy to Heroku

Then, just run heroku ps:scale worker=1 -a YOUR-APP-NAME to boot the workers.

Ruby Engine

Since, for now, the image capturing is done in Threads, using JRuby or Rubinius is advised.

TODO

See here.

License

MIT