libfab - Version 0.1.0
A port of the python library fabulous to C
The python library fabulous is as the name implies, fabulous. however it hasn't seen an update in a while. libfab is a port of the core functionality of fabulous to C. Once it is ported wrappers to other languages can be made. I'm working on this to improve my knowledge of C, and to improve upon a library I enjoy using.
You can use either
make or tup to build
To use tup, clone it
git clone https://github.com/gittup/tup and use
bootstrap.sh script to build the tup binary.
Once tup is built, you need to run
tup init the first time, then all
subsequent builds you can use
tup upd or just
tup to rebuild libfab and its
In order to run the unit tests you will need to install CUnit.
- Text formating
- Highlight Colors
- Background Colors
- 256 colors
- Buffer Implementation
- Text Formatting
- Basic Text Coloring
- 256color text Coloring
- Color Complements
- Advanced Color specification
- Images -> ASCII
libfab is designed to be used in conjunction with various language bindings. Currently there are bindings for Python and DLang
The original Fabulous was a huge inspiration, and the existing code was a huge help in writing libfab
The xterm, RGB conversion code, the algorithm for rendering images in the terminal, and the rest of fabulous were created by Justine Tunney.