Home > capycapt

capycapt

Capycapt is a project mainly written in Ruby, it's free.

A simple web app for capturing live screenshots of other web sites.

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:
    • http://mysite/?url=http://m.meetup.com
    • height and width can be optionally be set: &width=1024&height=1024

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

Previous:Web-Analz