Live data from Hacker News

Show HN: Term.everything – Run any GUI app in the terminal

github.com

81–90 of 154 posts

Re: Show HN: Term.everything – Run any GUI app in the terminal

#81
post #72

Earlier quoted context omitted.

It reminds me a bit of chindōgu, the Japanese art (?) of useless inventions. There's a particular delight to ingenious, but absurd or useless creations.

Emacs it's full of chindogus. Also, there's geekcode, xroach, megahal/hailo, xneko, aatv and mplayer rendering videos over aalib, aaquake, eforth running in the subleq virtual machine...

I remember watching the World Cup over telnet with one of those aalib libraries years ago. The signal arrived 5 seconds earlier than the TV :)

Re: Show HN: Term.everything – Run any GUI app in the terminal

#82

- Can you run a compositor inside a compositor? I'd love to just ssh to a server and run hyprland - doesTerm.everything run inside tmux with automatic window resizing? I guess not, but it would be cool

1. Yes, but it depends on your compositor because your compositor needs to be able to run as a nested Wayland client. I think there is support for this in wlroots based Wayland compositors, but I'm not sure if hyperland supports it.

2. I think it will work, but I haven't tried. I redraw the terminal window every time the "termed" window updates. So, if you are playing a video for example and you dynamically resize the window, it should update the size automatically. If you are viewing a static window it might not.

Re: Show HN: Term.everything – Run any GUI app in the terminal

#85
post #74

This is pretty cool, I can see this being useful when I need to run a one-off remotely. Not sure about attaching a running program then detaching again, or mirroring... I wouldn't mind being able to SSH to my desktop and manipulate say the running Discord client, or similar. Another similar thing that I'd been meaning to look into is the RDP remote apps stuff.

Just use a CLI discord client, or fire up an IRC client against some Bitlbee server.

It was an example, not the only use case. 99% of what I want to do remote is just fine over SSH (over Wireguard)... Mostly remote VS Code usage since my desktop is much beefier than my laptop when travelling.

Re: Show HN: Term.everything – Run any GUI app in the terminal

#86
post #72

Earlier quoted context omitted.

Emacs it's full of chindogus. Also, there's geekcode, xroach, megahal/hailo, xneko, aatv and mplayer rendering videos over aalib, aaquake, eforth running in the subleq virtual machine...

I’m a fan of `xeyes`

xeyes can be Actually Useful; two eyes always looking at the cursor...

your animal brain hardwired to discern the direction of gaze of the eyes facing you (citations appreciated)...

Helps me find the mouse cursor on a big screen if I lose track, even with small parallax angle.

On macOS, I just wiggle the mouse back and forth, and the cursor gets really big, it pops out at you.

I generally don't keep `xeyes` running. But it's a righteous, venerable hack.

Re: Show HN: Term.everything – Run any GUI app in the terminal

#87
This is interesting, but there was something that was even more impressive many years ago: a GTK theme that rendered all decoration and widgets using text chars and a GDK backend that rendered to text. Combine both and you could run any GTK app on a terminal with legible text and a beautiful TUI.

http://zemljanka.sourceforge.net/cursed/screenshots/

Re: Show HN: Term.everything – Run any GUI app in the terminal

#89
I started working on this with the Kitty image protocol, but unfortunately that protocol is really unsuited to this sort of thing. Performance will be awful.

The protocol is sort of:

1. I'd like you to display this PNG. Here's the data: ...

2. Ok I've got the data.

3. Ok now display it at this position.

4. Ok now remove it from the screen.

We're talking motion-PNG here. Just think about how awful that is.

I wish someone would add some kind of AV1-over-terminal protocol. That would be actually useful.

The other thing I was going to try was a custom GUI that used normal terminal text for the text of widgets, but Kitty images for the rest. It's quite a hard problem though.

Re: Show HN: Term.everything – Run any GUI app in the terminal

#90

This is interesting, but there was something that was even more impressive many years ago: a GTK theme that rendered all decoration and widgets using text chars and a GDK backend that rendered to text. Combine both and you could run any GTK app on a terminal with legible text and a beautiful TUI. http://zemljanka.sourceforge.net/cursed/screenshots/

why did this go away?
Post reply on HN