Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.
/ grabshot Public archive

Mini API to create screenshots of websites and call back with the image data.

License

Notifications You must be signed in to change notification settings

bjeanes/grabshot

Repository files navigation

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

About

Mini API to create screenshots of websites and call back with the image data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published