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
Make Your Observability Stack Effortless Icon
Make Your Observability Stack Effortless

For Software Engineers, DevOps, Data Architects, and IT Leaders

The progression to modern application stacks and microservices architectures has resulted in orders of magnitude more logs, metrics, events, and traces. Like gravity, data attracts more data, making it increasingly difficult to move and process as it accumulates over time. More than ever, there is a need to be able to stream-process, filter, mask, transform, aggregate, analyze, and route that data to various data tier destinations optimized for specific usage.
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