tui-rs is a Rust library to build rich terminal user interfaces and dashboards. It is heavily inspired by the Javascript library blessed-contrib and the Go library termui. The library is based on the principle of immediate rendering with intermediate buffers. This means that at each new frame you should build all widgets that are supposed to be part of the UI. While providing a great flexibility for rich and interactive UI, this may introduce overhead for highly dynamic content. So, the implementation try to minimize the number of ansi escapes sequences generated to draw the updated UI. In practice, given the speed of Rust the overhead rather comes from the terminal emulator than the library itself.

Features

  • Since version 0.17.0, tui requires rustc version 1.56.1 or greater
  • Provides documentation and examples
  • The library is based on the principle of immediate rendering with intermediate buffers
  • Build all widgets that are supposed to be part of the UI
  • Minimize the number of ansi escapes sequences generated to draw the updated UI
  • Build terminal user interfaces and dashboards using Rust

Project Samples

Project Activity

See All Activity >

Categories

Terminals, Dashboard

License

MIT License

Follow tui-rs

tui-rs Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tui-rs!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Terminals, Rust Dashboard Software

Registered

2023-04-10