antirez/linenoise
A small self-contained alternative to readline and libedit observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 80
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 6010
- days_rel: n/a
- days_push: 123
- n_releases_24m: 0
Adoption not part of the score
4343 stars · 741 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Linenoise is a tiny (~1600 lines), zero-configuration, BSD-licensed C library providing readline-style line editing for terminal programs. It supports single and multi-line editing, history, completion, hints, UTF-8, and a multiplexing mode, and is used by Redis, MongoDB, and Android.
Use cases
- add line editing and history to a CLI tool without linking readline
- embed a small readline alternative in a C project
- implement tab completion in a command-line REPL
- support UTF-8 and emoji input at a terminal prompt
- avoid GPL readline licensing in a BSD-licensed application
- handle asynchronous output while a prompt is active
When to choose
- you need a small, easily embeddable line editor with minimal dependencies
- GPL licensing of readline is a problem for your project
- you want history, completion, and hints in a REPL with little code
- you need broad terminal compatibility including ANSI.SYS
When to avoid
- you need advanced readline features like macros, key binding configuration, or vi/emacs mode toggling
- you are building a GUI application with no terminal interface
- you need Windows-native console APIs beyond ANSI.SYS compatibility
Facets
library · maturity stable
cli developer-tools developer-tools windows cross-platform c readline-replacement line-editing terminal embeddable history completion utf-8 command-line linux macos
1 source
- readme: https://github.com/antirez/linenoise · fetched 2026-08-28 · cf7a13c08269
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antirez/linenoise | main | 68 |
For agents
markdown · JSON · MCP: product_card(name="antirez/linenoise")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem