Live data from Hacker News

WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

webtui.ironclad.sh

71–80 of 159 posts

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#71
post #22

I don't understand the obsession with 1980s terminals. They're even less powerful than the contemporary 8-bit home computers. It's perfectly OK to be a retro enthusiast, it's another thing to claim that this is the peak tech to power our modern CLIs, or a solid foundation for portable UIs. From the docs: Stop thinking in standard CSS units like px, em, rem, % Start thinking in Character Cells for spacing, sizing, and…

The obsession is because it is still the best. For all its faults, I'm still terminally terminal. The beauty of it is in the utility and how it becomes so natural. It's a language you learn that gives you so much freedom you cannot find anywhere else. I've tried many IDEs but I'll always come back to vim. It might have taken time to learn but this is true for anything else. I didn't learn a tool, I learned a language…

What a lovely sentiment. Fully agree; staying in the terminal for as much as possible makes for far less friction when context-switching.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#72

Earlier quoted context omitted.

The obsession is because it is still the best. For all its faults, I'm still terminally terminal. The beauty of it is in the utility and how it becomes so natural. It's a language you learn that gives you so much freedom you cannot find anywhere else. I've tried many IDEs but I'll always come back to vim. It might have taken time to learn but this is true for anything else. I didn't learn a tool, I learned a language…

What a lovely sentiment. Fully agree; staying in the terminal for as much as possible makes for far less friction when context-switching.

Text-based interfaces can be done with techniques other than simulating a very restricted device from 1978.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#73
post #50

Earlier quoted context omitted.

> TUIs are an abomination of design that poorly mimic actually beautiful UIs My mother used to have an early "digital company" back in the 90s in Argentina. We are from a small town in the "Patagonia region"[0] and there was only 1 programmer in the whole town. The guy was a huge nerd that had spent some time studying in Buenos Aires. Long story short, my mother hired this kid to build software for him. This is aroun…

That's great, but keyboard shortcuts are not exclusive to TUIs. GUIs can be just as powerful in that sense, and most advanced web apps support keyboard navigation. My objection is mainly to the claim that TUIs are beautiful, and to the effort of bringing their design to the web. But this is ultimately down to personal preferences, and others may disagree.

You’re correct that modern web apps support keyboard shortcuts just fine. Unfortunately the reality of it is that the modern web is bogged down by the mess that is npm modules, react etc, and the majority of web apps are slow. Oldschool terminal apps you can just type away, and you know your keystrokes will just happen. The modern web? Urgh.

Don’t get me wrong, you can do it right, but most don’t bother with non- functional requirements “this should take 5ms” etc, so you just end up with pointless animations and transitions that stop useful work being done. This is often simple things like the tab order being wrong, or an AJAX request blocking the next thing you want to do.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#74

Earlier quoted context omitted.

The obsession is because it is still the best. For all its faults, I'm still terminally terminal. The beauty of it is in the utility and how it becomes so natural. It's a language you learn that gives you so much freedom you cannot find anywhere else. I've tried many IDEs but I'll always come back to vim. It might have taken time to learn but this is true for anything else. I didn't learn a tool, I learned a language…

If it is still the best, what's the superior terminal equivalent for Photoshop, Premiere, Audacity, and Figma? Not everyone's work life revolves around text just because yours does.

> Not everyone's work life revolves around GUIs just because yours does.

FTFY

They both have their place, pros and cons, that fit different purposes differently. The mistake is in trying to assign superlatives.

Two things can be true at the same time, TUIs are superior to GUIs, and GUIs are superior to TUIs, but in different contexts.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#75
post #22

I don't understand the obsession with 1980s terminals. They're even less powerful than the contemporary 8-bit home computers. It's perfectly OK to be a retro enthusiast, it's another thing to claim that this is the peak tech to power our modern CLIs, or a solid foundation for portable UIs. From the docs: Stop thinking in standard CSS units like px, em, rem, % Start thinking in Character Cells for spacing, sizing, and…

Occasionally when you see someone using a point of sale terminal that is terminal based, the operator usually flies through the interface like it's nothing.

So there's something to be said about those types of interfaces - it may look simple and be text based, but it's the most user friendly for the qualified operator to get things done.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#76
post #22

I don't understand the obsession with 1980s terminals. They're even less powerful than the contemporary 8-bit home computers. It's perfectly OK to be a retro enthusiast, it's another thing to claim that this is the peak tech to power our modern CLIs, or a solid foundation for portable UIs. From the docs: Stop thinking in standard CSS units like px, em, rem, % Start thinking in Character Cells for spacing, sizing, and…

Personally I felt this as a retro hobbyist project. I don't see it being used for serious matters, but I'd snag something like this up for my personal website any day!!

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#77
post #75
post #22

I don't understand the obsession with 1980s terminals. They're even less powerful than the contemporary 8-bit home computers. It's perfectly OK to be a retro enthusiast, it's another thing to claim that this is the peak tech to power our modern CLIs, or a solid foundation for portable UIs. From the docs: Stop thinking in standard CSS units like px, em, rem, % Start thinking in Character Cells for spacing, sizing, and…

Occasionally when you see someone using a point of sale terminal that is terminal based, the operator usually flies through the interface like it's nothing. So there's something to be said about those types of interfaces - it may look simple and be text based, but it's the most user friendly for the qualified operator to get things done.

I see the same on any graphical one on the supermarkets and restaurants.

Maybe it is a matter to actually design for the customers use case.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#78

This looks awesome and we're fans of the TUI aesthetic at terminal trove (1) (we're biased), it's also great that WebTUI has keyboard shortcuts to go with it. Not CSS but similarly ratzilla (2) also comes to mind, that allows you to build terminal-themed web applications with Rust and WebAssembly. Check out the examples (3) they look great! (1) https://terminaltrove.com/ (2) https://github.com/orhun/ratzilla (3) http…

This site is amazing!

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#79
post #53
post #38

Earlier quoted context omitted.

> Something went wrong here, at least once The higher-level view of data-over-time is inherently serial, and I don't think there's anything anyone can do about it: Serial is the correct/best abstraction. That being said, I acknowledge the problem you're referring to, because serial what exactly? Every time we complete the circle, it gets a little smaller, and our collective knowledge of what is actually going on impr…

Yes there is, it is called a REPL, Xerox PARC has plenty of examples across all their workstation variants, followed by Oberon, and some of that work even inspired Plan 9 and Inferno UI and related developers editor, ACME.

I don't understand exactly what you are trying to say.

I think a REPL is the real-eval-print-loop used by lisp systems to talk to a terminal, or something that looks/works like that (but maybe doesn't use lisp). These days I think lots of things have REPLs. Even Python. The only ones to survive 40 years though, have been serial ones, and I don't think that's an accident.

That command box/area that the user uses and re-uses in Oberon and Acme is something else and specifically worse than a REPL because you can't script it: There's no GNU expect for rio, and no DESQview-learn for Oberon and their command language just isn't good enough. This interface has not proven particularly efficient for users either, but terminals are still around.

Emacs is what I'd consider "peak terminal", and it has a REPL and an excellent command language. You can also script Emacs with emacs, by literally running emacs in an emacs terminal.

Re: WebTUI – A CSS Library That Brings the Beauty of Terminal UIs to the Browser

#80
post #77
post #75

Earlier quoted context omitted.

Occasionally when you see someone using a point of sale terminal that is terminal based, the operator usually flies through the interface like it's nothing. So there's something to be said about those types of interfaces - it may look simple and be text based, but it's the most user friendly for the qualified operator to get things done.

I see the same on any graphical one on the supermarkets and restaurants. Maybe it is a matter to actually design for the customers use case.

Modern GUI apps tend not to design for the keyboard-wielding power user.

TUIs can have just as many quirks and bugs, but on the whole they tend to be a little simpler, and the author usually is an end-user :-)

Post reply on HN