Skip to content

peterlandry/unbrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unbrowser

Unbrowser is a small REST API that provides browser-based rendering of web pages. Initially, only a Webkit back-end is supported. Webkit support is provided by PhantomJS.

Installation

The easiest way to get up and running is to use Vagrant. A Vagrantfile based on Ubuntu 10.04 is provided, as is a Puppet manifest.

Use

The only action provided at the moment is /webkit/rasterize/. This action requires a POST. The response will be a redirect to the rendered output. Example:

http://localhost:5000/webkit/rasterize/?url=http://www.google.com/

Required parameters

  • url

Optional Parameters

  • width

    default: 800

  • height

    default: 600

  • format

    default: png

  • render_delay (ms)

    default 10000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published