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

tuigui

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

25 releases (breaking)

new 0.19.0 Nov 22, 2024
0.17.0 Oct 16, 2024

#418 in Graphics APIs

Download history 783/week @ 2024-08-23 325/week @ 2024-08-30 277/week @ 2024-09-06 340/week @ 2024-09-13 633/week @ 2024-09-20 43/week @ 2024-09-27 151/week @ 2024-10-04 934/week @ 2024-10-11 231/week @ 2024-10-18 28/week @ 2024-10-25 3/week @ 2024-11-01

438 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

~2–10MB
~107K SLoC