Add Rust/ratatui TUI example (openui-rust-tui) with a Node OpenUI bridge - #994
Open
ankit-thesys wants to merge 1 commit into
Open
Add Rust/ratatui TUI example (openui-rust-tui) with a Node OpenUI bridge#994ankit-thesys wants to merge 1 commit into
ankit-thesys wants to merge 1 commit into
Conversation
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>
|
@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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Checklist