Omikuji is meant as a replacement for the fortune and strfile programs. Omikuji consists of two programs: omikuji and omifile.

Omifile parses a delimited text file, the same format used by the traditional strfile and fortune, and produces a binary file. This binary file is composed of a header, two indexes, and the textual entries from the input file. For more information on the file formats supported by omikuji and omifile, see format.html.

Omikuji reads the file output by omifile and uses the information in the header and indexes to lookup and display a "fortune."

Omikuji currently depends on Glib-2.0. The binaries will not build unless Glib-2.0 is installed. The Makefile uses pkg-config to find Glib-2.0. If you have installed Glib-2.0 from a package or port, then it should be automatically detected. If not, then you will likely need to install pkg-config as well.

Man Pages:
omikuji | omifile

The omikuji source code is currently available on github.

You can also download distribution tarballs of the versioned releases here.

Quote provided by omikuji:

I have often felt that programming is an art form, whose real
value can only be appreciated by another versed in the same arcane
art; there are lovely gems and brilliant coups hidden from human
view and admiration, sometimes forever, by the very nature of the
process. You can learn a lot about an individual just by reading
through his code, even in hexadecimal.
    --Ed Nather

omikuji is distributed under the terms of the GNU General Public License version 3, or later.

GPL V3 Logo