# charmbracelet/glamour

Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️

Repository: https://github.com/charmbracelet/glamour
Canonical: https://ross.abutalabs.com/products/glamour
Language: Go
License: MIT
License Family: permissive
Topics: markdown, go, golang, cli, hacktoberfest, tui
Last push: 2026-08-16T00:18:31+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 76, longevity 100
- inputs: {"age_days": 2450, "days_push": 18, "days_rel": 82, "gap_med": 62.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3665, forks 310 (observed 2026-08-28T04:08:13.327062+00:00)

## What it is
Glamour is a Go library for rendering Markdown documents with styled, colorful output on ANSI-compatible terminals using stylesheets. It offers built-in styles like 'dark' and 'light' and supports custom stylesheets and word wrapping.

## Use cases
- render markdown files nicely in the terminal
- display formatted README output in a CLI tool
- style markdown help text in a Go command-line app
- pretty-print markdown changelogs in a TUI
- render markdown templates with custom styles

## When to avoid
- you need markdown rendering in a non-Go language
- you need HTML or PDF output rather than ANSI terminal text
- you need automatic terminal color capability detection (use Lip Gloss alongside)

## Facets
- artifact type: library
- maturity: active
- function: markdown, templating, cli, developer-tools
- domain: developer-tools, documentation
- platform: windows, cross-platform, go, cli
- tags: markdown-rendering, ansi-terminal, stylesheets, charmbracelet, tui, command-line, linux, macos

## Member repositories
- charmbracelet/glamour (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:13.327062+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:33.291090+00:00, confidence not recorded.
  - readme: https://github.com/charmbracelet/glamour (fetched 2026-08-28T04:08:13.327062+00:00, sha b6d2f071cc62)
- Data as of 2026-08-30T08:39:29.467469+00:00.
