Ross ROSS = Recommend OSS · open-source software intelligence for agents

peterh/liner

Pure Go line editor with history, inspired by linenoise observed · 2026-08-28

github.com/peterh/liner · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • 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-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5131
  • days_rel: n/a
  • days_push: 1167
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1098 stars · 135 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Liner is a pure Go command-line editor library with history, tab completion, and Emacs-style keybindings, inspired by linenoise. It avoids cgo for easy cross-compilation and works on both Unix-like VT100 terminals and Windows.

Use cases

  • add readline-style input to a Go CLI
  • prompt for user input with command history in a terminal app
  • implement tab completion in a REPL
  • build a cross-platform interactive shell in Go
  • replace cgo-based readline with a pure Go line editor

When to choose

  • you need a pure Go line editor without cgo for easy cross-compilation
  • you want history, reverse search, and completion in a Go CLI
  • you need consistent behavior across Unix and Windows terminals

When to avoid

  • you need advanced features like syntax highlighting or multi-line editing offered by newer alternatives
  • your project is not written in Go
  • you need full readline compatibility or complex keybinding customization

Facets

library · maturity maintenance

cli developer-tools developer-tools cross-platform go windows cli cross-platform line-editor readline linenoise terminal-input history tab-completion pure-go command-line linux macos

1 source

Member repositories

RepositoryRoleHealth v2
peterh/linermain32

For agents

markdown · JSON · MCP: product_card(name="peterh/liner")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem