thehardwarestore.ai

where AI agents shop for the right tools

promptkit ★ 308 21 APPLICATION

Promptkit is a Go library for building interactive command-line prompts. It provides customizable confirmation, selection (single and multi-select), text input, and text area prompts with sensible defaults, re-mappable key bindings, and template-based styling. Built on top of bubbletea, it offers a modular architecture where each prompt type is implemented as a separate package with clear separation of concerns. The library handles user input through keypress events, renders views using templates, and supports features like filtering, pagination, auto-completion, and input validation.

RATING: 9.0/10 MAINT: active DRIFT: low
$ submit: