events
An event/callback/promise system for bash apps that's fast (10k/s), tiny (<2.2K), and portable (bash 3.2+, builtins-only) (by bashup)
BashLib
A Bash Source file that contains many useful functions. (by DethByte64)
events | BashLib | |
---|---|---|
5 | 5 | |
77 | 19 | |
- | - | |
10.0 | 0.0 | |
about 4 years ago | over 1 year ago | |
Shell | Shell | |
Creative Commons Zero v1.0 Universal | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
events
Posts with mentions or reviews of events.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-11.
-
bash-annotations: A bash framework for creating custom injection and function hook style annotations
You might find bashup.events interesting. Here's a section in a blog post where I ~explained it using an example similar to your timer. (I simplified it for the example, but I use a more complete version of this approach to calculate command duration in https://github.com/abathur/shellswain)
- Bashkit V1
-
modular bash profile scripting with shellswain
Author here. To give credit where it's due, the event system is from https://github.com/bashup/events, and it's just as useful for writing modular bash in other contexts.
- BashLib a helpful source file for any script
-
Donald Knuth Was Framed
A near non-sequitur per your aside (I agree with the rest...): https://github.com/bashup/events is one of my favorite little things. I even blogged about it in January!
BashLib
Posts with mentions or reviews of BashLib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-27.
- Bashkit V1
- BashLib a helpful source file for any script
- ASCII Pendulum written in BASH script
-
A Source file that makes things easier
BashLib is a source file that can act as a library for your scripts and assist in bash shells by saving those precious keystrokes and having to remember those strange bash expressions. Let me know what you think.
What are some alternatives?
When comparing events and BashLib you can also consider the following projects:
bashkit - Official bashkit repository
awesome-bash - A curated list of delightful Bash scripts and resources.
shellswain - Shellswain enables simpler event-driven bash profile scripts & modules
bash-lib - Library of bash scripts
bashify - few helper functions in bash ( especially string manipulation functions )
argbash - Bash argument parsing code generator
bash-annotations - Java-style annotations for Bash
bash-oo-framework - Bash Infinity is a modern standard library / framework / boilerplate for Bash
ebash - enhanced bash
awesome-shell - A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.
bpkg - Lightweight bash package manager