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

bjeanes/grabshot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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