#tui #animation #extensible #shader #highly #speedy #content

tuigui

An easy-to-use, highly extensible, and speedy TUI library

22 releases (breaking)

new 0.17.0 Oct 16, 2024
0.15.0 Oct 13, 2024

#257 in Graphics APIs

Download history 498/week @ 2024-08-20 610/week @ 2024-08-27 277/week @ 2024-09-03 247/week @ 2024-09-10 710/week @ 2024-09-17 41/week @ 2024-09-24 147/week @ 2024-10-01 456/week @ 2024-10-08

1,601 downloads per month
Used in 2 crates

MIT license

100KB
2.5K SLoC

About

TuiGui is a very easy-to-use, highly extensible, and speedy TUI library. It has some pretty epic features like time-based animation support, so you can implement animations like a linear animation using a lerp function! Or maybe you want to use a shader to apply post-processing? (Shaders are not run on the GPU. A shader in TuiGui is essentially a function that takes in a position, some content, and returns content.)

Why!?

Well... a life-long (as in since the time I started using Linux) dream of mine has been to make and use my own terminal-based text editor. This library is a step towards that and any other future projects that use TUIs. I have never been satisfied by libraries like Ratatui, I always found them kinda clunky and annoying to use. This is why I created TuiGui. Also, can other libraries do animations that are time-based and stuff? Yeah... didn't think so. 😉

Closing

Anyway, enjoy! There is a link for some examples to help you start going down at the bottom of the README, so go ahead and click the link! Also, in the README for the examples, there is a short little video showing off the examples.

For TuiGui examples, click me.

Dependencies

~2–10MB
~107K SLoC