Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tui-realm

> 编程语言
Open source

A ratatui framework to build stateful applications with a React/Elm inspired approach

974 stars0 likes1 views
WebsiteGitHub

About

A ratatui framework to build stateful applications with a React/Elm inspired approach

tui-realm

~ A ratatui framework inspired by Elm and React ~

Get started · Standard Library · Documentation


  • tui-realm
    • About tui-realm
    • Features
    • Get Started
    • Changelogs

About tui-realm

tui-realm is a framework for ratatui to simplify the implementation of terminal user interfaces adding the possibility to work with re-usable components with properties and states, as you'd do in React. But that's not all: the components communicate with the ui engine via a system based on Messages and Events, providing you with the possibility to implement update routines as happens in Elm. In addition, the components are organized inside the View, which manages mounting/umounting, focus and event forwarding for you.

And that also explains the reason of the name: Realm stands for React and Elm.

tui-realm also comes with a standard library of components, which can be added to your dependencies, that you may find very useful.

See tui-realm in action in either the core examples or in the stdlib examples.

Features

  • ⌨️ Event-driven
  • ⚛️ Based on React and Elm
  • Boilerplate code
  • Quick-setup
  • Single focus and states management
  • Easy to learn
  • Adaptable to any use case

Get Started

This is a monorepo of the following crates:

  • tuirealm: The core crate containing all basic functionality
  • tui-realm-stdlib: The standard library, which provides convenience wrappers for standard ratatui widgets
  • tuirealm_derive: A helper derive library to derive Component for components which just pass those functions to a underlying component
  • tui-realm-treeview: A Tree Component implementation
  • tui-realm-textarea: A Text Area Component implementation

Development

This repo uses just as the task runner. All build, lint, format, and test checks should go through the just recipes — they encode the exact flags used by CI.

bash
just                          # list all recipes
just build_all                # build the workspace with all features
just test_all                 # run all tests with all features
just check_code               # rustfmt --check + clippy (CI-equivalent)
just publish_all              # publish all crates in dependency order

See Justfile and just/ for the full set of recipes.

Changelogs

See CHANGELOG.md.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustconsolecrosstermguiratatui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言