Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (22 sloc) 1.08 KB


photograph-service is a minimalist sinatra based web service that allows you to take screenhots of web pages. Most of the code lives in Photograph whereas photograph-service is just the sinatra part that had been extracted.


Add this line to your application's Gemfile:

gem 'photograph-service'

And then execute:

$ bundle

Or install it yourself as:

$ gem install photograph-service



A small Sinatra application is provided. You can launch it with:

$ bundle exec photograph -h -p 4567

Then it can be used as following:


It also supports cropping, waiting for a dom selector to match.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request