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.
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.
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/
- url
-
width
default: 800
-
height
default: 600
-
format
default: png
-
render_delay (ms)
default 10000