# fusesource/jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.

Repository: https://github.com/fusesource/jansi
Canonical: https://ross.abutalabs.com/products/jansi
Homepage: http://fusesource.github.io/jansi/
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-03-27T13:33:16+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 74, release rhythm 45, longevity 100
- inputs: {"age_days": 6206, "days_push": 159, "days_rel": 159, "gap_med": 332, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1200, forks 152 (observed 2026-08-28T04:03:57.948774+00:00)

## What it is
Jansi is a small Java library that enables ANSI escape sequences for formatting console output, working even on Windows via bundled JNI libraries. It abstracts terminal capabilities, passing through, filtering, or emulating ANSI codes depending on the platform and output target.

## Use cases
- print colored console output in java on windows
- strip ansi escape codes when output is redirected to a file
- format terminal text with colors in a java cli app
- access low-level console apis from java via jni
- make system.out support ansi sequences cross-platform

## When to choose
- you need ANSI colors in Java console output on Windows or redirected streams
- you want a tiny dependency with an easy Ansi builder API

## When to avoid
- starting a new project - the library is unmaintained and merged into org.jline:jansi
- you need full terminal interaction features rather than just output formatting

## Facets
- artifact type: library
- maturity: abandoned
- function: cli, developer-tools
- domain: developer-tools, cross-platform
- platform: jvm, windows, cross-platform
- tags: ansi-escape-codes, console-output, terminal-colors, jni, jline-successor, command-line, linux, macos

## Member repositories
- fusesource/jansi (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:57.948774+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-30T06:20:49.882568+00:00, confidence not recorded.
  - readme: https://github.com/fusesource/jansi (fetched 2026-08-28T04:03:57.948774+00:00, sha 486f52ad2b3d)
  - homepage: http://fusesource.github.io/jansi/ (fetched 2026-08-29T12:28:02.972337+00:00, sha fd1ca4e5ccbf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
