Remix.run Logo
IshKebab 5 days ago

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.

f33d5173 5 days ago | parent | next [-]

What you're describing is a graphical shell. If you want it over the network, we have a protocol for that, it's called X. Misusing a terminal for this is fundamentally pointless.

IshKebab 5 days ago | parent [-]

Nope. X is too slow to be useful except on local networks, and alternatives like FreeNX or xpra are difficulty and janky to set up. Also X is dying so you really mean something like waypipe or worse (which also jankily failed to run some external command when I last tried it).

But I don't want that anyway. I want something graphical that's actually integrated into the terminal.

ranger_danger 5 days ago | parent | prev [-]

https://www.youtube.com/watch?v=dcjkezf1ARY

IshKebab 5 days ago | parent [-]

Probably not running over a network. Also I'm not seeing anything GUI-like.

ranger_danger 5 days ago | parent [-]

How about this then: https://github.com/saitoha/libsixel

IshKebab 4 days ago | parent [-]

Sixels are hilariously inefficient. Think "motion xpm".

ranger_danger 4 days ago | parent [-]

But it's running over a network. I'm not sure what you're asking for otherwise.