fazibear/colorize
Ruby string class extension. It add some methods to set color, background color and text effect on console easier using ANSI escape sequences. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6127
- days_rel: n/a
- days_push: 834
- n_releases_24m: 0
Adoption not part of the score
1283 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that extends the String class (or provides a ColorizedString class) with methods for coloring console output using ANSI escape sequences. It supports text color, background color, text effects, method chaining, and color aliases.
Use cases
- colorize terminal output in a ruby script
- print colored text to the console
- add background colors to console strings
- apply bold or underline effects to CLI output
- display color samples for terminal styling
- disable colorization when output is not a tty
When to choose
- you are writing a Ruby CLI tool and want easy ANSI color methods on strings
- you want chainable color/effect methods like .blue.on_red.underline
- you need a lightweight, mature gem with no heavy dependencies
When to avoid
- you need cross-platform true-color or complex terminal UI (use curses or tty libraries)
- your project avoids monkey-patching the String class (use the ColorizedString mode or another gem)
- you are not working in Ruby
Facets
library · maturity stable
developer-tools cli developer-tools ruby cli cross-platform ansi-escape-sequences string-extension terminal-colors ruby-gem command-line
1 source
- readme: https://github.com/fazibear/colorize · fetched 2026-08-28 · 4ef1555371ac
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fazibear/colorize | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="fazibear/colorize")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem