3 ms·
The idea is pretty cool, but I'm unsure of the mix of TUI and animation. Once you start going down the path of animations, layout, fonts, etc, you start just re
by bArray 3y ago
The idea is pretty cool, but I'm unsure of the mix of TUI and animation. Once you start going down the path of animations, layout, fonts, etc, you start just reinventing the web - but with extra steps.
Personally I would cut complex animations (i.e. sub-character) and only have a single size monospace font. I would rip out CSS and go for maximum compatibility. (If something exists like that, please let me know!)
Another feature that could be cool is to have this served (optionally) via telnet. I would also make it be able to produce static content (with a subset of features).
- ilyagr 3y agoRe the telnet idea: You might enjoy various https://charm.sh/ https://charm.sh/ apps, especially https://github.com/charmbracelet/wish https://github.com/charmbracelet/wish. They seem to prefer SSH to telnet though.
- nine_k 3y agoYou can't cut of all the CSS; you likely want to honor things like `display: none`, and also colors, and preferably bold, italic, and underline.
- deleted 3y ago[deleted]
- c0balt 3y agoTbh this can all be covered by ANSI escape codes. They aren't very expressive or compasable, in comparison to CSS but adequate for most TUI programms. And even the DX around them is okay-ish in textual and other TUI frameworks.
- snthpy 3y agoI like the telnet idea. I haven't used that in like 20 years. Do people still use that? I guess it's kinda like running over ssh? Or do you mean you hit an open unprotected port (telnet) and then the app takes care of setting up the SSL connection so you don't have to worry about SSH details?