
Develop BitBar plugins faster with Ruby
I just published bitbar-ruby, a ruby gem for faster BitBar 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:
#!/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!
Leave Develop BitBar plugins faster with Ruby to:
Read more #ruby posts
Best Posts From knoopx
We have not curated any of knoopx's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From knoopx
- Introducing Myself: My name is Víctor, hello from Barcelona!
- Develop BitBar plugins faster with Ruby
- DIY WeMo Light Clap-Clap Switch running on C.H.I.P.
- Get your STEEM wallet details in your OS X Menu Bar - BitBar Plugin
- Take a photo of yourself every time you commit
- UPDATE Fri 15: Get the current STEEM value in your OS X Menu Bar - BitBar Plugin
- 48h Weather Forecast Watchface Steem Giveaway