Project

hawktui

0.0
The project is in a healthy, maintained state
Use this gem to build TUIs in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 1.4.7
 Project Readme

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