BitBar, Tarsnap, and Ruby

I came across a really cool OSX menu bar library and thought it would be a really good solution to show my Tarsnap backup statuses.

github.com/matryer/bitbar

I love how easy it is to write a plugin for BitBar in Ruby.

It’s as simple as:

#!/usr/bin/ruby
puts "Cool Menubar"
puts "---"
puts "The time is: #{Time.now.strftime('%T')}"

Anyway, I updated my git repo to include a BitBar plugin and also updated the main backup script to output a nice JSON file for it to read: github.com/aaronvb/tarsnap_backup

And here’s a screenshot of it in use:

bitbar_ss.png