c-bata/go-prompt
Building powerful interactive prompts in Go, inspired by python-prompt-toolkit. observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 36
- 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: 3306
- days_rel: n/a
- days_push: 386
- n_releases_24m: 0
Adoption not part of the score
5488 stars · 374 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go library for building powerful interactive command-line prompts, inspired by python-prompt-toolkit. It provides autocomplete, syntax highlighting, and key bindings for building cross-platform interactive CLI tools.
Use cases
- build an interactive shell with autocomplete in Go
- add tab-completion to a CLI tool
- create a REPL for a domain-specific language
- build an interactive kubernetes or docker client
- prompt users with suggestions and descriptions in the terminal
When to choose
- you are writing a Go CLI that needs an interactive prompt with completion
- you want python-prompt-toolkit-like behavior in Go
- you need cross-platform terminal input handling with VT100 support
When to avoid
- you only need simple one-line input without completion
- you are building a GUI or web application
- you need a full TUI framework with windows and panels
Facets
library · maturity maintenance
cli developer-tools developer-tools go cross-platform cli interactive-prompt autocomplete terminal-ui vt100 prompt-toolkit command-line
6 sources
- readme: https://github.com/c-bata/go-prompt · fetched 2026-08-28 · a452d6cd732a
- homepage: https://godoc.org/github.com/c-bata/go-prompt · fetched 2026-08-29 · 6a019d033561
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/about · fetched 2026-08-29 · 8b6453863a90
- site_page: https://pkg.go.dev/github.com/c-bata/go-prompt · fetched 2026-08-29 · 8c10a4ed7e73
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| c-bata/go-prompt | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="c-bata/go-prompt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem