Live data from Hacker News

Ratatui – App Showcase

ratatui.rs

21–30 of 238 posts

Re: Ratatui – App Showcase

#21
Ratatui is neat but the way it's architected, you need to take on third party dependencies for each individual widget. And we're talking basic things like spinners, checkboxes, text areas, etc. -- there aren't too many widgets built into ratatui itself. I didn't like the idea of taking all that on so instead I went with something more handrolled.

Re: Ratatui – App Showcase

#22
post #10
post #2

the title of this post is odd? it’s a showcase of TUI applications built with this Rust crate — which I am hearing about for the first time, and am interested in. I was expecting a blog post on why Rust is experiencing a TUI revolution or something

I think they're saying this crate is why Rust is experiencing a TUI revolution. Charm would probably say the same for Go.

Charm was my introduction into the world of ssh apps which prompted me to create https://pico.sh

SSH apps serve a similar UX to web apps which I just think is a great idea for many use cases. Needing to install a cli tool just to upload some files is tedious when you can just use rsync, sftp, piping, or even sshfs

Re: Ratatui – App Showcase

#23

I've seen lots of TUIs lately, why is that? What is the renewed interest? The only places I know of is Awesome TUIs [0] and terminaltrove [1] I can also see that Ratatui has an awesome list too [2]. [0] https://github.com/rothgar/awesome-tuis [1] https://terminaltrove.com/ [2] https://github.com/ratatui-org/awesome-ratatui

> What is the renewed interest?

We just don’t have good desktop GUI platforms anymore. Qt and GTK are massive beasts, Windows changes theirs every 4 years (and no one wants to be tied to a single platform anyway), we don’t want to deal with Electron, and writing your own GUI from scratch is hard.

Terminals just got good lately and it’s way easier to make something higher quality in them than as a GUI. It’s just too hard to make a good small desktop app.

It’s the same reason why it’s easier to make something look great with LEGO than if you want to mold clay. I’d also wager that devs today on average know more about good UX than devs did back in the 80s when clunky terminal apps used to be made.

Re: Ratatui – App Showcase

#24

I've seen lots of TUIs lately, why is that? What is the renewed interest? The only places I know of is Awesome TUIs [0] and terminaltrove [1] I can also see that Ratatui has an awesome list too [2]. [0] https://github.com/rothgar/awesome-tuis [1] https://terminaltrove.com/ [2] https://github.com/ratatui-org/awesome-ratatui

They're easier to program and seamlessly integrate into the terminal. That's basically it, other than that they're worse than normal GUIs. Also, GUI frameworks aren't that mature in Rust in particular.

Re: Ratatui – App Showcase

#25

I've seen lots of TUIs lately, why is that? What is the renewed interest? The only places I know of is Awesome TUIs [0] and terminaltrove [1] I can also see that Ratatui has an awesome list too [2]. [0] https://github.com/rothgar/awesome-tuis [1] https://terminaltrove.com/ [2] https://github.com/ratatui-org/awesome-ratatui

In addition to other comments, it's the only real way to make a usable GUI-like experience over SSH.

I've generally had good experiences with the various compressed X11-like tools. One example is x2go, but there are a few.

Re: Ratatui – App Showcase

#26

I've seen lots of TUIs lately, why is that? What is the renewed interest? The only places I know of is Awesome TUIs [0] and terminaltrove [1] I can also see that Ratatui has an awesome list too [2]. [0] https://github.com/rothgar/awesome-tuis [1] https://terminaltrove.com/ [2] https://github.com/ratatui-org/awesome-ratatui

In addition to other comments, it's the only real way to make a usable GUI-like experience over SSH.

You can also serve a window server over ssh

Re: Ratatui – App Showcase

#27

I've seen lots of TUIs lately, why is that? What is the renewed interest? The only places I know of is Awesome TUIs [0] and terminaltrove [1] I can also see that Ratatui has an awesome list too [2]. [0] https://github.com/rothgar/awesome-tuis [1] https://terminaltrove.com/ [2] https://github.com/ratatui-org/awesome-ratatui

I don't care much about forms and windows in the command line (I've had enough of turbo vision back in the 90s), but I don't think I am alone in wanting to see some progress bars and stats for long running processes. So 2% of these libraries is actually pretty useful.

Re: Ratatui – App Showcase

#28

I've seen lots of TUIs lately, why is that? What is the renewed interest? The only places I know of is Awesome TUIs [0] and terminaltrove [1] I can also see that Ratatui has an awesome list too [2]. [0] https://github.com/rothgar/awesome-tuis [1] https://terminaltrove.com/ [2] https://github.com/ratatui-org/awesome-ratatui

High-level languages that compile to single binaries, and very good TUI frameworks (maybe inspired by Python Textual?) for them.

Re: Ratatui – App Showcase

#29
post #25

Earlier quoted context omitted.

In addition to other comments, it's the only real way to make a usable GUI-like experience over SSH.

I've generally had good experiences with the various compressed X11-like tools. One example is x2go, but there are a few.

oh man, I haven't thought about xpra in a while! Xpra was a layer of indirection between X clients and X server so you could ssh in, run eg firefox, disconnect, and then reconnect and pick up Firefox where you left it.
Post reply on HN