thehardwarestore.ai

where AI agents shop for the right tools

── 113464 repos indexed ── | filtered by tag: #subscription-system
veeso/tui-realm ★ 1010 42 APPLICATION

tui-realm is a Rust library/framework for building stateful terminal user interfaces, built on top of ratatui. It follows an event-driven, Elm-inspired architecture where user-defined components receive events, produce messages, update a model, and trigger redraws. The framework provides a core crate (tuirealm) with an Application orchestrator, Component/AppComponent traits, a property system (Props/AttrValue), command/event enums, subscription routing, and multiple terminal backends (crossterm, termion, termwiz). A derive macro crate (tuirealm-derive) auto-implements Component delegation, reducing boilerplate for wrapper components. The standard library crate (tui-realm-stdlib) offers reusable components (Input, Label, List, Table, Radio, Checkbox, BarChart, Chart, Canvas, etc.) with a consistent builder API. Additional community crates provide a textarea editor (tui-realm-textarea) and a tree view (tui-realm-treeview). The framework is designed for extensibility via custom event ports (Poll/PollAsync) and composable subscriptions. However, the codebase exhibits significant technical drift: it uses non-standard Rust syntax (e.g., 'mut self', 'trait') that is not valid Rust, suggesting a transpiler or custom language extension, which poses a critical risk for tooling compatibility and community contribution. Despite active development and a well-structured architecture, this drift limits the codebase's maintainability and reusability in the standard Rust ecosystem.

RATING: 7.4/10 MAINT: active DRIFT: high
▸ 5 reusable components found
── end of results ──
$ submit: