Live data from Hacker News

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

github.com

51–60 of 154 posts

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

#51
post #20

Earlier quoted context omitted.

I think there is an API (that was added with sidecar) to create a virtual display. So at best you could retrieve the framebuffer and then display that. I don't think there is an easy exposed way to get per-window information, aside from doing a screencapture (which likely would not work if you also wanted to hide the window).

Interesting… do you have a link to the docs? The easiest thing prob would be to set the window to be fullscreen, but on that virtual display. That would accomplish per window screen capture.

It's a private API CGVirtualDisplay, but mostly well reverse engineered. Here's one example I found of a wrapper library

https://github.com/enfp-dev-studio/node-mac-virtual-display/...

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

#54

Earlier quoted context omitted.

Yeah, I can’t explain why this project makes me so happy because I struggle to think of any time where I’d need this, but it puts a big, dumb grin on my face.

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.

[dead]

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

#58
post #56

Do I need to be using wayland to try this? I'm still on x11.

No you do not. It works on x11 and Wayland host systems. I built the Wayland compositor from scratch and it does not have any dependencies on libwayland. So, you don’t have to install Wayland at all.

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

#59
post #39

Earlier quoted context omitted.

Yeah, I can’t explain why this project makes me so happy because I struggle to think of any time where I’d need this, but it puts a big, dumb grin on my face.

<3

I came here to make the same comment. I want to try this myself just for the fun of it and the grin it will put on my face. Nice work!
Post reply on HN