Skip to content

Hawktui is a simple and easy to use TUI (Terminal User Interface) library for Ruby.

License

Notifications You must be signed in to change notification settings

jonmagic/hawktui

Repository files navigation

Hawktui

Hawktui is a simple and easy to use TUI (Terminal User Interface) library for Ruby. It is built on the curses library.

hawktui

So far it includes a StreamingTable API and more APIs are planned.

Installation

Add this line to your application's Gemfile:

gem "hawktui"

Run the following command to install it:

bundle install

StreamingTable

The Hawktui::StreamingTable API can be used to create a full screen table in your terminal that can be updated in real time. This is useful for displaying data that is constantly changing.

git clone https://github.com/jonmagic/hawktui
cd hawktui
bin/setup
bin/demo
CleanShot.2025-01-03.at.10.02.32-converted.mp4

See bin/demo for an example of how to use Hawktui::StreamingTable and the implementation in lib/hawktui/streaming_table.rb for documentation.

Roadmap

  • Add functionality to StreamingTable for selecting and acting on rows.

Contributors

About

Hawktui is a simple and easy to use TUI (Terminal User Interface) library for Ruby.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published