Analysis updated 2026-08-06 · repo last pushed 2020-08-05
Color-code log output in a Swift CLI tool, red for errors, yellow for warnings, green for success.
Add bold or underline styling to important messages your command-line app prints to the terminal.
Use 256-color mode to pick from a wide palette for detailed, color-coded terminal output.
| giginet/prettycolors | 0xsmw/pixelcop | aiduckman/claudeusage_latest_may2026 | |
|---|---|---|---|
| Stars | — | — | 0 |
| Language | Swift | Swift | Swift |
| Last pushed | 2020-08-05 | 2026-07-24 | — |
| Maintenance | Dormant | Active | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | designer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
Swift package that integrates with Carthage, CocoaPods, or Swift Package Manager, straightforward if you already use those tools.
PrettyColors is a Swift library that makes terminal text colorful and styled. It lets you add colors, bold formatting, and underlines to strings your app prints to the command line, so your CLI tool's output stands out instead of being plain white-on-black. Under the hood, it works by generating ANSI escape codes, those are special invisible character sequences that terminals interpret as instructions to change text appearance. The project conforms to the ECMA Standard 48, which is the official spec for these codes. You tell it something like "make this text red and bold" and it wraps your string with the right codes so the terminal renders it correctly. Anyone building a command-line tool in Swift would find this useful. If you're writing a script that logs errors in red, warnings in yellow, and success messages in green, this handles the formatting for you. It also supports 256-color mode, so you can pick from a wider palette than just the basic eight colors. The library works across Apple platforms, macOS, iOS, watchOS, and tvOS, as well as Linux. Notable tradeoffs: it's specifically a Swift package, so it only applies if you're working in that language. It integrates with the common Swift dependency managers (Carthage, CocoaPods, and Swift Package Manager), so adding it to a project is straightforward if you're already using those tools. The README is brief, with most of the usage examples living in the test files rather than in the documentation itself.
PrettyColors is a Swift library that adds colors, bold, and underline styling to terminal text using ANSI escape codes, making command-line tool output more readable and visually distinct.
Mainly Swift. The stack also includes Swift, ANSI escape codes.
Dormant — no commits in 2+ years (last push 2020-08-05).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.