curses
Selene
curses | Selene | |
---|---|---|
4 | 2 | |
285 | 15 | |
0.0% | - | |
2.8 | 2.0 | |
8 days ago | 1 day ago | |
C | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
Selene
-
How I wrote my own Smart Home Software using Lua
Everything is built around MQTT messaging and I got several daemons picking, processing and submitting information. - https://github.com/destroyedlolo/Marcel is in charge of low level interface with my 1-wire network, get weather forecast, ISP figures ... Lua user script are doing simple processing and validate data if needed - https://github.com/destroyedlolo/Majordome is the root of the automation. Lua user scripts are launch based on received even and implement the automation. Initially, it was fully a Lua application, but separating the low level (C++) and user part (Lua) makes the code more easily manageable, and simply everything. - https://github.com/destroyedlolo/Selene is a framework helpers to Lua. Thanks to its pluggins, it add some capabilities to Lua to generate graphical or textual interface ... and much more like data management, multi-threading (real threading, not only co-routine that wasn't enough for such massive event driven dashboard).
-
Looking for a tool to extract Lua Interface in C(++) code/comment
I built a framework allowing even based automation, dashboard creation and many other things. It is written in C (and some companion in C++) and is lacking of decent documentation but in source code's comment.
What are some alternatives?
cpaint - https://briancallahan.net/blog/20220220.html
dte - A small, configurable console text editor (mirrored from https://gitlab.com/craigbarnes/dte)
posix - POSIX/C bindings generator for the Crystal programming language
ltui - π A cross-platform terminal ui library based on Lua
PDCurses - A curses library for environments that don't fit the termcap/terminfo model.
Marcel - Very lightweight daemon to publish figures to a MQTT broker (1wire data as temperatures, ISP real time consumption, UPS figures, meteo forecast, ...), check subscribted topics and alerts if out of range or missing. Custom decision scripts can be created in Lua.
newt - Mirror of https://pagure.io/newt.git
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.
mako-smarthome - Mako Lua Server for managing SmartHome devices based on the deCONZ API
reline - The compatible library with the API of Ruby's stdlib 'readline'
Majordome - Events based automation tool : Event can be timers and MQTT messages arrival. Triggers Lua scripts.