Ross ROSS = Recommend OSS · open-source software intelligence for agents

alecthomas/chroma

A general purpose syntax highlighter in pure Go observed · 2026-08-28

github.com/alecthomas/chroma · Go · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

97/100

  • Activity 99
  • Release rhythm 92
  • 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-02. Adoption (stars, forks) is never an input.

  • gap_med: 16
  • age_days: 3374
  • days_rel: 56
  • days_push: 7
  • n_releases_24m: 22

Full methodology

Adoption not part of the score

5022 stars · 507 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Chroma is a general-purpose syntax highlighter written in pure Go, heavily based on Pygments, with translators for Pygments lexers and styles. It converts source code into syntax-highlighted HTML, ANSI-colored terminal text, and other formats, and ships with a CLI tool.

Use cases

  • highlight code snippets as HTML for a blog or docs site
  • colorize source code in terminal output with ANSI colors
  • add syntax highlighting to a Go static site generator
  • identify the language of a code snippet automatically
  • convert Pygments lexers and styles for use in Go
  • highlight code in a CLI tool written in Go

When to choose

  • you need syntax highlighting in a Go project without external dependencies
  • you want Pygments-like highlighting without a Python runtime
  • you need both HTML and terminal (ANSI) output formats
  • you need support for a very wide range of languages

When to avoid

  • you need a JavaScript/browser-side highlighter
  • you need features Pygments has that Chroma lacks
  • you are not working in Go and can use Pygments directly

Facets

library · maturity stable

parser developer-tools cli developer-tools web-development go cross-platform cli syntax-highlighting pygments html-formatter ansi-colors lexers command-line

1 source

Member repositories

RepositoryRoleHealth v2
alecthomas/chromamain97

For agents

markdown · JSON · MCP: product_card(name="alecthomas/chroma")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem