Torwall-ruby is a project mainly written in RUBY and JAVASCRIPT, it's free.
Implementation of torwall in ruby