Show HN: orzma – a terminal emulator that renders webviews inside the terminal(github.com)
github.com
Show HN: orzma – a terminal emulator that renders webviews inside the terminal
https://github.com/not-elm/orzma
I made this because I thought it would be useful to be able to use a webview in the terminal. I also provide an SDK called ratatui_orzma.
For example, I think it could be used to render rich UI components such as charts with a webview as part of a TUI application, port web tools to ratatui, or embed games built with Wasm inside the terminal.
9 comments
I've been wanting this for a long time, however, it would be really great to have some kind of standard so that multiple terminals might eventually implement the functionality. Even more awesome would be great if the api was a bit more generic so that any window could be embedded within the context of a terminal in much the same way that images are embedded with the kitty graphics protocol¹. With appropriate alpha channel support it could even enable seamless/borderless objects, potentially with non-rectangular shapes.
1. https://sw.kovidgoyal.net/kitty/graphics-protocol/
edit: I see the protocol² is very well documented. Better yet, it looks like a really powerful and well thought out interface. Well done! It would be really awesome if this catches on.
2. https://github.com/not-elm/orzma/blob/main/docs/orzma_webvie...
1. https://sw.kovidgoyal.net/kitty/graphics-protocol/
edit: I see the protocol² is very well documented. Better yet, it looks like a really powerful and well thought out interface. Well done! It would be really awesome if this catches on.
2. https://github.com/not-elm/orzma/blob/main/docs/orzma_webvie...
Embedding webviews in a terminal is something I didn't know I wanted until now!
Thanks. I feel like there’s more demand for this than you might think!
Great work!
go!!!!