# kkawakam/rustyline

Readline Implementation in Rust

Repository: https://github.com/kkawakam/rustyline
Canonical: https://ross.abutalabs.com/products/rustyline
Homepage: https://crates.io/crates/rustyline/
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-08-25T17:43:08+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 78, longevity 100
- inputs: {"age_days": 4184, "days_push": 8, "days_rel": 70, "gap_med": 77.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1917, forks 213 (observed 2026-08-28T04:05:53.928827+00:00)

## What it is
RustyLine is a Rust library implementing GNU Readline-style line editing, based on Antirez's Linenoise. It provides interactive prompt features such as history, word and filename completion, hints, and multi-line editing for building command-line interfaces.

## Use cases
- build an interactive REPL prompt in Rust
- add command history and line editing to a CLI tool
- implement tab completion for a shell-like application
- read user input with readline-style keybindings
- create an interactive console for a Rust application
- add persistent command history to a terminal program

## When to choose
- you are writing a Rust CLI or REPL that needs polished interactive line input
- you want a lightweight readline alternative without C dependencies
- you need Unicode support, completion, hints, and history search in a terminal prompt

## When to avoid
- you need full GNU Readline compatibility or advanced features like bracketed paste macros
- your application runs in unsupported terminals such as Mintty or PowerShell ISE
- you are not building an interactive terminal input loop

## Facets
- artifact type: library
- maturity: active
- function: developer-tools, cli, terminal-ui
- domain: developer-tools, cross-platform
- platform: rust, windows, bsd, cli
- tags: readline, linenoise, line-editing, history, completion, interactive-prompt, command-line, linux, macos

## Member repositories
- kkawakam/rustyline (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.928827+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:10:09.318363+00:00, confidence not recorded.
  - readme: https://github.com/kkawakam/rustyline (fetched 2026-08-28T04:05:53.928827+00:00, sha be48cd590084)
  - registry_crates: https://crates.io/api/v1/crates/rustyline (fetched 2026-08-29T10:49:26.748079+00:00, sha 6b716a5438fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
