A sample Heroku application that cascades NodeJS on CasperJS, suitable for web scraping and automation.
Now that phantomjs and casperjs are both available on npm, it is easier to use Node.JS buildpack to install them.
Example usage:
$ git clone https://github.com/leesei/heroku-casper-node.git
$ cd heroku-casper-node
$ heroku create --stack cedar --buildpack https://github.com/ddollar/heroku-buildpack-multi.git
$ git push heroku master
This application uses buildpack-multi to cascade buildpack-casperjs and buildpack-nodejs.
$ cat .buildpacks
https://github.com/leesei/heroku-buildpack-casperjs.git
https://github.com/heroku/heroku-buildpack-nodejs
Spooky is used for Casper-Node binding, you can replace it with other module of your choice.
PhantomJS is also available from buildpack-casperjs
, you may as well drive it from Node.