niieani/bash-oo-framework
Bash Infinity is a modern standard library / framework / boilerplate for Bash observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4266
- days_rel: n/a
- days_push: 992
- n_releases_24m: 0
Adoption not part of the score
5617 stars · 244 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Bash Infinity is a standard library and boilerplate framework for writing Bash scripts, bringing concepts like OOP, try-catch exceptions, named parameters, and imports from languages like C# and JavaScript into Bash. It is modular and plug-and-play, letting scripts adopt individual features such as error handling, logging, and unit testing gradually.
Use cases
- add try-catch error handling with stack traces to bash scripts
- write unit tests for shell scripts
- use named parameters instead of $1 $2 in bash functions
- add colorful structured logging to bash tooling
- import modules into bash scripts like require-js
- make large bash scripts more readable and maintainable
When to choose
- you maintain substantial bash scripts and want cleaner syntax, error handling, and logging
- you want a modular standard library you can adopt feature-by-feature
- you need a unit test library for shell code
When to avoid
- starting a major new project on the whole framework - the author recommends against it pending a 3.0 rewrite
- you need bash 3 compatibility without porting effort
- you want an actively developed project with strong test coverage
Facets
framework · maturity maintenance
error-handling logging testing cli developer-tools developer-tools cli cross-platform bash shell oop standard-library boilerplate try-catch exceptions named-parameters unit-testing command-line automation linux macos
2 sources
- readme: https://github.com/niieani/bash-oo-framework · fetched 2026-08-28 · 464e8c558a4f
- homepage: https://github.com/niieani/bash-oo-framework/discussions · fetched 2026-08-29 · 6f29837a34e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| niieani/bash-oo-framework | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="niieani/bash-oo-framework")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem