Develop BitBar plugins faster with Ruby

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@knoopx·
0.000 HBD
Develop BitBar plugins faster with Ruby
I just published `bitbar-ruby`, a ruby gem for faster [BitBar](https://getbitbar.com/) plugin development.
This library will be used as the foundation for the next versions of my two STEEM plugins:

https://steemit.com/steem/@knoopx/get-your-steeem-wallet-details-in-your-os-x-menu-bar-bitbar-plugin
https://steemit.com/steem/@knoopx/get-the-current-steem-value-in-your-os-x-menu-bar-bitbar-plugin

Source code is available at github: 

https://github.com/knoopx/bitbar-ruby

To use it just just install the gem:
`gem install bitbar`

And write some plugin:

```ruby
#!/usr/bin/env ruby
require 'bitbar'
require 'open-uri'
require 'base64'

BitBar::Menu.new do
  item "One", size: 18
  item "Two"
  separator
  item "Dropdown" do
    item "Three"
    item "Four"
  end
  separator
  item image: Base64.strict_encode64(open("https://assets-cdn.github.com/images/modules/logos_page/GitHub-Mark.png").read)
end
```

Happy BitBar hacking!
👍 , , , , ,