curses
cli-ui
curses | cli-ui | |
---|---|---|
4 | 3 | |
285 | 963 | |
0.0% | 0.7% | |
2.8 | 8.1 | |
8 days ago | 3 days ago | |
C | Ruby | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
curses
-
CLI tools at Aha!
As we make updates to our ops and similar CLI utilities, we often improve the user experience by taking advantage of various Ruby gems. With little effort compared to low-level coding with curses, our command-line utilities that used to be cryptic and confusing are now interactive, easy to use, and — dare I say — elegant.
-
Ncurses in Ruby style?
https://github.com/ruby/curses is the official ncurses gem for ruby
-
Ok y’all. How can we get this kind of real-time memory profiling in Ruby? Does it already exist? Is anyone working on this?
As a follow up, if anyone is interested in working on something like this, Ruby has an official curses gem supporting the curses family of libraries.
-
Parallel progress output from different threads
First, a word of caution. "Updating" a terminal or console is possible, but it is rife with gotchas and inconsistencies. The go to library/application for this type of interfaces is Curses. There are Ruby bindings, but this injects a system dependency that may or may not be available on a given platform. Also, Curses is way overkill if all you're doing is output.
cli-ui
-
CLI tools at Aha!
I really enjoy using the cli-ui gem. It offers a lot of powerful, intuitive features including:
-
What library can I use to create a TUI
TUI? Terminal UI? If so, check out https://ttytoolkit.org/ and https://github.com/Shopify/cli-ui
- CLI-UI A terminal user interface library for Ruby
What are some alternatives?
cpaint - https://briancallahan.net/blog/20220220.html
ombre
posix - POSIX/C bindings generator for the Crystal programming language
tic-tac-toe - Play tic-tac-toe in your Terminal
PDCurses - A curses library for environments that don't fit the termcap/terminfo model.
Terminal Table - Ruby ASCII Table Generator, simple and feature rich.
newt - Mirror of https://pagure.io/newt.git
aws-codedeploy-agent - Host Agent for AWS CodeDeploy
vifm - Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Thor - Thor is a toolkit for building powerful command-line interfaces.
reline - The compatible library with the API of Ruby's stdlib 'readline'
TTY - Toolkit for developing sleek command line apps.