#tui #animation #extensible #shader #text #post-processing #content

tuigui

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

24 releases (breaking)

0.18.1 Oct 22, 2024
0.17.0 Oct 16, 2024

#342 in Graphics APIs

Download history 265/week @ 2024-08-18 811/week @ 2024-08-25 278/week @ 2024-09-01 31/week @ 2024-09-08 758/week @ 2024-09-15 219/week @ 2024-09-22 47/week @ 2024-09-29 425/week @ 2024-10-06 726/week @ 2024-10-13 172/week @ 2024-10-20 16/week @ 2024-10-27

1,010 downloads per month
Used in 2 crates

MIT license

105KB
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

~1.6–10MB
~105K SLoC