onevcat/Rainbow
Delightful console output for Swift developers. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 97
- Release rhythm 38
- Longevity 100
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: 172.5
- age_days: 3907
- days_rel: 257
- days_push: 23
- n_releases_24m: 3
Adoption not part of the score
1943 stars · 111 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Rainbow is a Swift library that adds text color, background color, and style to console and command line output via convenient String extensions. It supports ANSI escape codes across Apple platforms, Linux, and Windows, with SPM integration.
Use cases
- colorize terminal output in a Swift CLI tool
- add colored log messages to a cross-platform Swift app
- print styled text with bold, underline, or blinking effects
- use 8-bit, 24-bit, hex, or HSL colors in console output
- build a command-line tool with readable colored status messages
When to choose
- you are writing a Swift command-line or server-side tool and want easy ANSI color output
- you need cross-platform terminal styling on macOS, Linux, and Windows
- you prefer a lightweight String-extension API with SPM support
When to avoid
- you need structured logging with levels, sinks, or file output rather than simple styling
- your target output is not a terminal (e.g., GUI apps or web)
- you are not working in Swift
Facets
library · maturity stable
logging developer-tools cli developer-tools cross-platform windows ansi-colors console-output string-extension terminal swift-package-manager command-line macos linux swift
1 source
- readme: https://github.com/onevcat/Rainbow · fetched 2026-08-28 · 345d5df1f2e4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| onevcat/Rainbow | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem