curses
ombre
curses | ombre | |
---|---|---|
4 | 1 | |
285 | 0 | |
0.0% | - | |
2.8 | 10.0 | |
8 days ago | about 2 years 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.
ombre
-
CLI tools at Aha!
Finally, here is a nice little gem created by Aha! director of software engineering, Justin Paulson. Ombre provides a fun way to spice up your output by rendering text with a gradient. Here's an example that prints zombie ipsum with a red, white, and blue tint:
What are some alternatives?
cpaint - https://briancallahan.net/blog/20220220.html
cli-ui - CLI tooling framework with simple interactive widgets
posix - POSIX/C bindings generator for the Crystal programming language
Terminal Table - Ruby ASCII Table Generator, simple and feature rich.
PDCurses - A curses library for environments that don't fit the termcap/terminfo model.
aws-codedeploy-agent - Host Agent for AWS CodeDeploy
newt - Mirror of https://pagure.io/newt.git
Thor - Thor is a toolkit for building powerful command-line interfaces.
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.
reline - The compatible library with the API of Ruby's stdlib 'readline'
stackprof - a sampling call-stack profiler for ruby 2.2+
Selene - Automation tool based on MQTT data. Optionnal backends to create "DRM/Cairo" "DirectFB" or "Curses" graphical applications.