Fork me on GitHub
chafa /ˈtʃafa/ (adj): cheap, low quality; lame

The future is (still) now

The premier UX of the 21st century just got a little better: With chafa, you can now view very, very reasonable approximations of pictures and animations in the comfort of your favorite terminal emulator. The power of ANSI X3.64 compels you!

Example

You can get fair results by using only U+2580 (upper half block). Pixterm, catimg and a few other terminal graphics printers do this, and so can Chafa with chafa --symbols vhalf. However, Chafa uses more symbols by default, greatly improving quality.

There are more examples in the gallery!

Features

Some of the features are discussed in a series of blog posts:

Documentation

Chafa will print a help text if run without arguments, or with chafa --help. It also comes with a man page displayable with man chafa.

The gallery contains examples of how command-line options can be used to tweak the output.

There is API documentation for application developers.