CrxUnpack
Unpack Chrome extension (crx) file
Installation
Add this line to your application's Gemfile:
gem 'crx_unpack'
And then execute:
$ bundle
Or install it yourself as:
$ gem install crx_unpack
Usage
require 'crx_unpack'
data = open('extension.crx', 'rb').read
crx = CrxUnpack.unpack(data)
crx.zip #=> zip data of extension contents
# unzip extension contents into `./extension' directory
CrxUnpack.unpack_contents_from_file('extension.crx', './extension')
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request