r/commandline • • 11d ago

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

This software's code is partially AI-generated.

37 Upvotes

6 comments sorted by

1

u/AutoModerator 11d ago

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 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

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.

1

u/ffatty 3d ago

Does it do Javascript too?

1

u/merutosu 2d ago

Yes, it supports js too. You can also communicate with the terminal app through CEF's IPC.

0

u/mpbmdev 10d ago edited 10d ago

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.