Druida is a simple command line utility to help you manage your favorite quotations, it's very simple to use and comes with nearly 20 000 quotations by famous people.
Druida is written in ruby and it is released under the MIT licence (free software).

Obligatory screenshot.

Druida's screenshot


Download the latest version(and its database) from here.

Ruby >= 1.8.6 (it migth work on lesser versions too)
It should work on all *nix plataforms, Mac OS X, *BSD and Linux.


# extract the database tarball
tar -xvzf database.tgz
# move database files to the proper directory
mkdir ~/.druida && mv database/db* ~/.druida/
# move program to proper location
mkdir ~/bin
mv druida ~/bin/
# add it to your $PATH, Linux and *BSD use .bash_profile
echo "export PATH=~/bin:$PATH" >> ~/.profile
# done, test it on a new terminal window


Yet another fortune clone... why did you reinvent the wheel?
Honestly, I don't know, but it doesn't matter now because I already wrote this damn program
and I like to pretend it's actually useful to justify the time I spent writing it. :)

What's a druida?
It is spanish for druid, you know, those wise ass celt's magicians.

What about performance?
It is slow, but it's acceptable when printing random quotations(in human time).

fmac:~ feza$ time druida
Most people are good. They may not be saints, but they are good.
-- Jimmy Wales

real 0m0.150s
user 0m0.126s
sys 0m0.023s


Random quote every time you open the terminal application.

# Linux or *BSD use .bash_profile
echo "druida" >> ~/.profile
# you might want to clear your /etc/motd too


Print a random quote.

fmac:~ feza$ druida
Science is a wonderful thing if one does not have to earn one's living at it.
-- Albert Eintsein

Print a random quote from Seneca.
fmac:~ feza$ druida -t author -s Seneca -p
No one can wear a mask for very long.
-- Seneca

Print one of your favorite quotations.
fmac:~ feza$ druida -t rating -s 'x >= 4' -p
Though force can protect in emergency, only justice, fairness, consideration and co-operation can finally lead men to the dawn of eternal peace.
-- Dwight D. Eisenhower

Run druida -? for more examples.


rubycocoa gui
better search functions
make it faster
This is just a wishlist, it doesn't mean it is going to get implemented any time soon(probably never).
You are welcomed to contribute, though.


Federico Zagarzazú email address

Last but not least, since the entire database was shamelessly stolen from the web, special thanks goes to the people who spent a lot of time compiling these quotations.