FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Rust/ratatui TUI example (openui-rust-tui) with a Node OpenUI bridge by ankit-thesys · Pull Request #994 · thesysdev/openui · GitHub

Add Rust/ratatui TUI example (openui-rust-tui) with a Node OpenUI bridge - #994

Open
ankit-thesys wants to merge 1 commit into
thesysdev:mainfrom
ankit-thesys:ankit-c-cloud-rust-tui-poc-a2bc
Open

Add Rust/ratatui TUI example (openui-rust-tui) with a Node OpenUI bridge#994
ankit-thesys wants to merge 1 commit into
thesysdev:mainfrom
ankit-thesys:ankit-c-cloud-rust-tui-poc-a2bc

Conversation

Copy link
Copy Markdown
Contributor

A sibling to the Ink example that renders streamed OpenUI Lang in Rust/ratatui. OpenUI stays canonical in JS: a small Node bridge (bridge/) runs @openuidev/lang-core to parse/evaluate the streamed OpenUI Lang and emits a JSON render tree over stdio; the Rust binary (src/main.rs) is a pure renderer + input handler. Because ratatui is immediate-mode (exact widget rects), this gets the things that were hard in Ink: pixel-perfect mouse (even when scrolled), a real scrollable viewport so long forms never break (with auto-scroll to the focused field), and flicker-free full-screen rendering. Components: Card, CardHeader, TextContent, Callout, TagBlock, Table, BarChart, Form/Input/Select/Button, FollowUp; form submits drive the @ToAssistant action loop back through the bridge.

What

Describe the change and why it is needed.

Changes

Test Plan

Describe how you validated this change.

  • Not applicable (explain why)
  • Verified locally

Checklist

  • I linked a related issue, if applicable
  • I updated docs/README when needed
  • I considered backwards compatibility

A sibling to the Ink example that renders streamed OpenUI Lang in Rust/ratatui.
OpenUI stays canonical in JS: a small Node bridge (bridge/) runs
@openuidev/lang-core to parse/evaluate the streamed OpenUI Lang and emits a JSON
render tree over stdio; the Rust binary (src/main.rs) is a pure renderer + input
handler. Because ratatui is immediate-mode (exact widget rects), this gets the
things that were hard in Ink: pixel-perfect mouse (even when scrolled), a real
scrollable viewport so long forms never break (with auto-scroll to the focused
field), and flicker-free full-screen rendering. Components: Card, CardHeader,
TextContent, Callout, TagBlock, Table, BarChart, Form/Input/Select/Button,
FollowUp; form submits drive the @ToAssistant action loop back through the bridge.

Co-authored-by: Ankit Das <www.das5471@gmail.com>

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

@cursoragent is attempting to deploy a commit to the thesys-devs Team on Vercel.

A member of the Team first needs to authorize it.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL