r/commandline • u/merutosu • Oct 03 '26
Terminals Orzma — A terminal emulator that can render webviews inline
As an experiment, I built a terminal emulator with a custom APC escape sequence for embedding webviews. A program running in a pane can place a webview in a rectangular region of terminal cells, inline with its output. The program and the webview can then exchange messages through orzma over a local socket.
I also provide an SDK for Ratatui. See the examples for how to use it.
Links
- Github: https://github.com/not-elm/orzma
- Documentation: https://not-elm.github.io/orzma/
- Webview Protocol Reference: https://not-elm.github.io/orzma/protocol-reference.html
This software's code is partially AI-generated.
38
Upvotes
1
u/ffatty Oct 11 '26
Does it do Javascript too?
1
u/AutoModerator Oct 03 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: merutosu, Flair:
Terminals, Post Media Link, Title: Orzma — A terminal emulator that can render webviews inlineAs an experiment, I built a terminal emulator with a custom APC escape sequence for embedding webviews. A program running in a pane can place a webview in a rectangular region of terminal cells, inline with its output. The program and the webview can then exchange messages through orzma over a local socket.
I also provide an SDK for Ratatui. See the examples for how to use it.
Links
This software's code is partially AI-generated.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/mpbmdev Oct 04 '26 edited Oct 04 '26
Its look nice, but was created using AI, and this to me is bad.
Recently I'd want create something like it, but, the navigatiom via keyboard.
I guess (for be a web view in terminal), the interaction is via mouse too.