# jline/jline3

JLine is a Java library for handling console input.

Repository: https://github.com/jline/jline3
Canonical: https://ross.abutalabs.com/products/jline3
Homepage: https://jline.org
Language: Java
License: NOASSERTION
License Family: other
Topics: cli, console, java
Last push: 2026-08-26T20:23:25+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3746, "days_push": 7, "days_rel": 7, "gap_med": 2.0, "n_releases_24m": 47}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1796, forks 249 (observed 2026-08-28T04:05:37.476055+00:00)

## What it is
JLine is a Java library for handling console input, similar to GNU Readline, providing line editing, tab completion, history, and syntax highlighting for command-line applications. It is cross-platform and includes interactive UI components like menus and prompts.

## Use cases
- build an interactive REPL in Java
- add tab completion to a CLI tool
- handle raw terminal input cross-platform in Java
- implement command history with search in a console app
- add syntax highlighting to shell input
- prompt for passwords with masking in Java
- build interactive console menus and prompts

## When to choose
- you are building a Java command-line application that needs rich interactive input
- you need GNU Readline-like functionality with portability across Windows, macOS, and Linux
- you want customizable tab completion, history, and key bindings in a JVM app

## When to avoid
- you need a non-JVM language solution
- you only need simple argument parsing rather than interactive line editing
- you are targeting Java 8 and need JLine 4.x features

## Facets
- artifact type: library
- maturity: active
- function: cli, developer-tools
- domain: developer-tools, cross-platform
- platform: jvm, windows, cross-platform
- tags: console-input, line-editing, tab-completion, readline, terminal, syntax-highlighting, command-history, command-line, linux, macos

## Member repositories
- jline/jline3 (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.476055+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-30T03:22:49.224498+00:00, confidence not recorded.
  - readme: https://github.com/jline/jline3 (fetched 2026-08-28T04:05:37.476055+00:00, sha d6febf0fa4c8)
  - homepage: https://jline.org (fetched 2026-08-29T11:01:30.135747+00:00, sha f63e77bab7a6)
  - site_page: https://jline.org/docs/intro (fetched 2026-08-29T11:01:30.146636+00:00, sha ea00a4e0cbe1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
