Project

yabbie

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Delicious
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.0
~> 10.3
~> 3.1
 Project Readme

Yabbie

Yabbie is a gem to wrap SlimerJS.

Yabbie

Installation

Add this line to your application's Gemfile:

gem 'yabbie', github: 'net-engine/yabbie'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yabbie

Dependency

It relies on SlimerJS, and a script that contains what you want to achieve. For the script, you can check our default.js. It does nothing but takes a png snapshot. It is just so that Yabbie does not fail if you don't provide one. Please don't rely on it.

Usage

Yabbie::Slimer.new(html_file, options).to_file(file)

For more usage, please investigate in the code while we don't build a nice README

Roadmap

  1. Add more tests! :)

And the oscar goes to...

This gem is inspired on Shrimp gem.

A huge thanks to all Shrimp contributors.

Contributing

  1. Fork it (https://github.com/net-engine/yabbie/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

MIT