A simple web app for capturing live screenshots of other web sites.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
public/captures
.gitignore
Gemfile
Gemfile.lock
README.md
config.ru

README.md

CapyCapt

Simple web app for capturing live screenshots of another web site. Uses Capybara-webkit's headless browser running server-side and Sinatra for basic request handling.

Dependencies

All capybara-webkit's dependencies must be met (ie. Xvfb and QT development libraries). Therefore, it must run on a full-featured server and will not work on Heroku.

Usage

  • Deploy CapyCapt as a normal Sinatra app.
  • Get snapshot by specifying URL (uri-encoded) in the query string:

Example Installation

  • Platform: Ubuntu Server 11.04 (ex: EC2 ami-06ad526f)
  • Install dependencies
$ apt-get install ruby git
$ apt-get install build-essential libqt4-dev libxml2-dev libxslt1-dev
  • Clone & test run
$ cd your-www-dir
$ git clone git://github.com/micahyoung/capycapt.git
$ cd capycapt
$ gem install bundler
$ bundle install
$ thin start
  • Deploy

License

MIT http://www.opensource.org/licenses/mit-license.php