rouge-ruby/rouge
A pure Ruby code highlighter that is compatible with Pygments observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
Flags: no_license
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: 77.0
- age_days: 5115
- days_rel: 28
- days_push: 7
- n_releases_24m: 9
Adoption not part of the score
3451 stars · 815 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Rouge is a pure Ruby syntax highlighter supporting over 200 languages, with output to HTML or ANSI 256-color text. Its HTML output is compatible with Pygments stylesheets, and it serves as Jekyll's default highlighter.
Use cases
- highlight code snippets in a Ruby web app
- syntax highlight code in Jekyll blog posts
- colorize code in the terminal
- generate CSS for code highlighting styles
- replace Pygments in a Ruby project
- render code blocks as HTML with themes
When to choose
- you need syntax highlighting in a Ruby project without Python dependencies
- you use Jekyll and want its default highlighter
- you want Pygments-compatible HTML output with existing stylesheets
- you need ANSI-colored code in terminal output
When to avoid
- your project is not in Ruby and Pygments is available
- you need highlighting for a language Rouge does not support
- you need extremely high-performance highlighting of very large files
Facets
library · maturity active
parser templating cli developer-tools developer-tools web-development documentation frontend ruby cli cross-platform syntax-highlighting code-highlighter pygments-compatible jekyll ansi-colors lexers
2 sources
- readme: https://github.com/rouge-ruby/rouge · fetched 2026-08-28 · e8fa96b876c8
- homepage: https://rouge.jneen.ca/ · fetched 2026-08-29 · 0418c31d70e6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rouge-ruby/rouge | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="rouge-ruby/rouge")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem