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

tuigui

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

16 releases (breaking)

0.12.0 Sep 22, 2024
0.10.0 Sep 20, 2024

#222 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 658/week @ 2024-09-20 229/week @ 2024-09-27

1,504 downloads per month
Used in 2 crates

MIT license

82KB
2K 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
~108K SLoC