ChromeSSB

Mild ruby-based Cli app to generate Chrome Site-Specific Browsers on Mac OS X

Installation

Add this line to your application's Gemfile:

gem 'chrome_ssb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install chrome_ssb

Usage

Use via Ruby

require 'chrome_ssb'

# ChromeSSB::new(opts={})
ssb = ChromeSSB.new
# ChromeSSB#<opts>
ssb.name = 'ChromeSSB Github'
ssb.location = 'http://www.github.com/bradynpoulsen/chrome_ssb/'
ssb.path = '~/Desktop'
ssb.overwrite = true
# Generate with options
ssb.create!

# OR EQUIVALENT
# ChromeSSB::create(opts={})
ChromeSSB.create name: 'ChromeSSB Github',
  location: 'http://www.github.com/bradynpoulsen/chrome_ssb/',
  path: '~/Desktop',
  overwrite: true

Use via Command Line

chrome_ssb v0.1.0
  http://www.github.com/bradynpoulsen/chrome_ssb/

Useage:
  chrome_ssb [options...]

Options:
  -c  --chrome-path  Path to Google Chrome Application
  -d  --directory    alias: --path
  -f  --force        alias: --overwrite
  -h  --help         Show this helper message
  -i  --icon         Path to icon
  -l  --location     URL to open
  -n  --name         Application Name
  -o  --overwrite    Overwrite app if already exists
  -p  --path         Directory to create Application in
      --url          alias: --location

Contributing

  1. Fork it (http://github.com/bradynpoulsen/chrome_ssb/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 new Pull Request