Hi, thanks for taking the time to read my article. Visit aaronvb.com for more reads, and contact me below if you have questions.

AARON VAN BOKHOVEN

You can find me on GitHub, Twitter, Instagram, Flickr, or email at bokhoven@gmail.com

BitBar, Tarsnap, and Ruby

Written Aaron Van Bokhoven on Feb 27, 2016

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.

https://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: https://github.com/aaronvb/tarsnap_backup

And here’s a screenshot of it in use: