chessdgm.rb converts a standard chess postion file (in the "fen" format) into a word processor diagram. This is a rewrite in Ruby of a C program (chessdgm), with support for more fonts. The fonts have been included in the tarball with their documentation, and are free for non-commercial use, but not GPL.
acoc is a regular-expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream. Optionally, stderr can be redirected to stdout, so that it, too, can be manipulated. acoc then applies matching rules to patterns in the output and applies colours to those matches.