Live data from Hacker News

Ratatui

github.com

11–20 of 63 posts

Re: Ratatui

#11
post #5

I really wish there was a more react/swiftui-esque TUI library. One day I'll get around to fixing the fundamental flaws in my crate [0] [0]: https://docs.rs/intuitive/latest/intuitive/

If you like php, there’s termwind that combines html + tailwind. Combine that with something like the swytch framework, and you’ve got a pretty similar to react workflow (components, still working on hooks, tui, etc).

The things we work on when we are bored…

Re: Ratatui

#13
post #6

Seems like especially for the last year or so, there have been a significant amount of interest in single-language oriented (instead of a single core library w/N language bindings, winking at a particular one) TUI libraries that are getting better and better (potentially because some of them were able to attract VC money). Two of them off top of my head is Textual (by textualize.io) for Python and BubbleTea (by charm…

For me all of them have Turbo Vision for Turbo Pascal 6.0 in MS-DOS, circa 1990, as baseline to beat. Or the various Clipper based TUI for business data entry, as another example. Since they are catching up with the past, they should improve upon it, not just revisit it.

What more is there? It seems like a feature-complete set once there's mouse support. I suppose adding graphics for iTerm and such could be extras.

Re: Ratatui

#14
post #5

I really wish there was a more react/swiftui-esque TUI library. One day I'll get around to fixing the fundamental flaws in my crate [0] [0]: https://docs.rs/intuitive/latest/intuitive/

Love the SwiftUI inspiration. Swift has its warts but after spending a couple months deep in SwiftUI I miss it dearly when I'm writing GUIs anywhere else

Re: Ratatui

#15
I love TUI. Nothing beats its clean UI, focus, speed and the resulting productivity. Learn a few shortcuts and fly. We need more TUI apps.

Re: Ratatui

#16
post #10
post #6

Earlier quoted context omitted.

For me all of them have Turbo Vision for Turbo Pascal 6.0 in MS-DOS, circa 1990, as baseline to beat. Or the various Clipper based TUI for business data entry, as another example. Since they are catching up with the past, they should improve upon it, not just revisit it.

is there a good publicly available video that demonstrates what is good about these user interfaces, or alternatively, something that a non-expert user could run in dosbox to get a feeling? is the notably excellent part the user experience of the things that people built, or the library calling interface, or both? business data entry seems like something that probably requires an experienced user running the applicat…

Why a video? Here's a recent port: https://github.com/magiblot/tvision

Re: Ratatui

#18

I love TUI. Nothing beats its clean UI, focus, speed and the resulting productivity. Learn a few shortcuts and fly. We need more TUI apps.

The worst part is there's absolutely nothing stopping anyone from making the same principles work in the browser. Zero. Nada. It's trivially proven by compiling apps to wasm and running in a terminal emulator but there's nothing stopping anyone from building react-terminal-like or whatever except that... I don't even know what since we've got https://github.com/Textualize/textual-web.

People have thrown out decades of UX research and engineering out of the window because it isn't cool anymore. Makes me sick.

Re: Ratatui

#19
post #18

I love TUI. Nothing beats its clean UI, focus, speed and the resulting productivity. Learn a few shortcuts and fly. We need more TUI apps.

The worst part is there's absolutely nothing stopping anyone from making the same principles work in the browser. Zero. Nada. It's trivially proven by compiling apps to wasm and running in a terminal emulator but there's nothing stopping anyone from building react-terminal-like or whatever except that... I don't even know what since we've got https://github.com/Textualize/textual-web . People have thrown out decades…

> People have thrown out decades of UX research and engineering out of the window because it isn't cool anymore. Makes me sick.

Most people don’t want to browse the web with a keyboard.

Traffic to many websites primarily comes from mobile devices with touchscreens.

It has nothing to do with being “cool”. Terminal interfaces are great for those of us who spend a lot of time attached to the keyboard, but most people don’t operate like that.

Re: Ratatui

#20
post #12

ratatui is very good Rust TUI toolkit right now. But, it doesn't support mouse click events yet[0]. I hope that they implement this feature as i think it's critical to some TUI applications. [0]: https://github.com/ratatui-org/ratatui/issues/273

I think this application uses click events

https://www.github.com/mrjackwills/oxker

Post reply on HN