{"repo":"holo-q/Ratatui.cs","free":true,"listed":false,"github":"https://github.com/holo-q/Ratatui.cs","clone":"git clone https://github.com/holo-q/Ratatui.cs.git","description":".NET bindings for Ratatui (Rust TUI) with headless testing, events, batching","language":"C#","stars":12,"topics":["bindings","csharp","dotnet","ratatui","tui","cli","cross-platform","crossterm","dashboard","ffi"],"license":null,"category":"cli-tools","readme_excerpt":"Ratatui.cs — .NET/C# Terminal UI (TUI) Library powered by Rust Ratatui High-performance, cross-platform Terminal UI (TUI) for .NET and C#. Ratatui.cs exposes the battle-tested Rust Ratatui engine over a stable FFI with an idiomatic C# API. Build rich console apps with widgets, layout, keyboard/mouse events, batched frame rendering, and headless snapshot testing. Works on Windows, Linux, and macOS. Performance promise: zero-allocation hot paths. We design the C# layer to honor Rust’s performance standards — span-first APIs, stackalloc/ArrayPool, and batched FFI calls. Most text setters offer ReadOnlySpan (\"u8\") overloads and batched span builders to avoid heap allocations in frame loops. We also ship a build-time coverage guard to keep 100% parity with the native FFI and fail on drift. Features - Rich widgets: Paragraph, List (stateful), Table (stateful), Gauge, Tabs, BarChart, Sparkline, Scrollbar. - Input events: Keyboard and mouse (down/up/drag/move/scroll + modifiers), resize. - Rendering: Draw into rects, batched DrawFrame for multiple widgets. - Testing: Headless renderers for widgets and composite frames; deterministic event injection. - Ergonomics: Vec2i swizzles, Rect aliases (x/y/w/h), simple C# layout helpers. - Cross-platform: Prebuilt native binaries per RID (linux-x64, win-x64, osx-x64, osx-arm64). Why Ratatui.cs? - Performance first: powered by Rust Ratatui engine, efficient rendering + input. Zero-allocation hot paths via ReadOnlySpan (u8) overloads and batchin","default_branch":null,"files":null,"tree":[],"storefront":"/r/holo-q","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/holo-q/Ratatui.cs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}