HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Show HN: orzma – a terminal emulator that renders webviews inside the terminal(github.com)

9 points·by notelm·5 ngày trước·9 comments
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

20after4·5 ngày trước
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...
20after4·5 ngày trước
At one point there was an attempt to form a new terminal emulator extensions working group, however, last time I checked it seemed to have been abandoned a few years ago.
notelm·5 ngày trước
Thanks! I plan to keep improving the api. Suggestions and issues are very welcome.
danteocualesjr·5 ngày trước
Embedding webviews in a terminal is something I didn't know I wanted until now!
notelm·5 ngày trước
Thanks. I feel like there’s more demand for this than you might think!
gap_fanatic·5 ngày trước
building the browser from scratch too is sick. great work!
notelm·5 ngày trước
Thanks.
vishalkundar·5 ngày trước
Great work!
hahooh·5 ngày trước
go!!!!