Top
Best
New

Posted by mmulet 4 days ago

Show HN: Term.everything – Run any GUI app in the terminal(github.com)
I made a built-from scratch Wayland Compositor to display any GUI app* in the terminal! I think there is a lot of unexplored potential in custom Wayland compositors, a lot of really cool things you can embed existing applications into! So, I started with embedding apps into the terminal because that is the easiest input/output (output is just utf-8 and I use the great `chafa` library for that, and I just read from stdin for the input).

If you have any other ideas for cool Wayland compositors, let me know. I purposedly wrote 80% the app in Typescript to appeal to the most developers and attract cool contributions (I do all drawing with the familiar Canvas2D api, so if there is interest, I can also fork this out into a cool Terminal canvas, let me know!)

I have a blog post here about how I did it, but it’s pretty high level and non technical, so please ask if you have any questions.

[How I Did It](<https://github.com/mmulet/term.everything/blob/main/resource...>)

*technically only Wayland apps and x11 apps with Xwayland. But on Linux that’s mostly everything.

1050 points | 143 commentspage 6
pancsta 2 days ago|
Another custom wayland compositor, this one not written in a scripting language.

https://github.com/wayland-transpositor/wprs

igorhvr 2 days ago||
This is so cool - thank you! I have a very (ahem) useful purpose for this: I use a command line application that calls back to a browser during authentication and that alone prevented me from doing what I needed/wanted from an ssh terminal... I will now happily laugh my ass off as it launches firefox from inside my terminal every time I use it.
rochak 3 days ago||
Wow this is incredible
QuiCasseRien 2 days ago||
insane ! but i still wonder for the use case ^^
toomim 2 days ago|
A replacement for X11 window forwarding which has been lost with wayland.
0points 2 days ago||
Love it!
howyesno 3 days ago||
"I feel like every single day I hear about another terminal file viewer. I say, stop making terminal file viewers because you can just use the file viewer you already have! In your terminal!" LMAO
sreenathmenon 3 days ago||
Love it :)
mmulet 2 days ago|
<3
dartharva 3 days ago||
Love it!
mmulet 2 days ago|
<3
jrcii 2 days ago|
[dead]
More comments...