Farhang is a dictionary app written in Ruby with Sinatra and Sequel.
It is not a dictionary itself but a nice and simple interface to a dictionary stored in a database.
See it in action with the original German-Persian dictionary at farhang.im
Download the current database with all its entries via farhang.im/app/download/db
Feel free to fork this repository or the dictionary, MIT and CC licensed.