ajalt/mordant
Multiplatform text styling for Kotlin command-line applications observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 98
- Release rhythm 28
- 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: 79.5
- age_days: 3265
- days_rel: 564
- days_push: 15
- n_releases_24m: 3
Adoption not part of the score
1235 stars · 49 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mordant is a Kotlin multiplatform library for rendering styled text in the terminal, including ANSI colors, tables, panels, markdown rendering, and widget animations. It automatically detects terminal capabilities and is distributed via Maven Central.
Use cases
- add colored ANSI output to a Kotlin CLI app
- render tables and panels in the terminal
- show progress bars and animated dashboards in a console app
- render markdown directly in the terminal
- style terminal text with automatic capability detection
When to choose
- you're building a Kotlin or Kotlin Multiplatform command-line application that needs styled output
- you want terminal widgets like tables, lists, and progress bars with animation support
- you need markdown rendering in a console interface
When to avoid
- you need a full TUI framework with keyboard input handling and complex layouts
- your project is not on the JVM/Kotlin ecosystem
- you only need simple ANSI color codes in a non-Kotlin language
Facets
library · maturity active
terminal-ui developer-tools markdown animation developer-tools cross-platform jvm cli cross-platform ansi-colors text-styling progress-bars tables kotlin-multiplatform command-line
2 sources
- readme: https://github.com/ajalt/mordant · fetched 2026-08-28 · da51328b4afd
- homepage: https://ajalt.github.io/mordant/ · fetched 2026-08-29 · ebb53275ae76
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ajalt/mordant | main | 74 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem