fui: A Framebuffer-Based TTY UI Library in C

2025-05-08
fui: A Framebuffer-Based TTY UI Library in C

fui is a lightweight C library for interacting with the framebuffer directly within a tty context. It uses a layered drawing system, supporting pixel drawing, primitive shapes (lines, rectangles, circles), bitmap font rendering, keyboard and mouse event handling (via libevdev), and a basic ALSA-based sound system (currently sine waves and chords). The library is statically linked and includes examples and tests (using cmocka). A simple Asteroids game demonstrates the sound capabilities.

Development Graphics Library