charmbracelet/huh

Build terminal forms and prompts 🤷🏻‍♀️

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 17 minutes ago
Added to GitGenius on September 9th, 2026
Created on October 11th, 2023
Open Issues & Pull Requests: 95 (+0)
GitHub issues: Enabled
Number of forks: 263
Total Stargazers: 7,154 (+0)
Total Subscribers: 26 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.6 days
Mean response time: 64.6 days
90th percentile: 218.6 days
Tracked items: 134

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed. Three people close 77% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 48
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 433 days
Stale 30+ days: 45
Stale 90+ days: 42

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (55)
  • enhancement (46)
  • select (20)
  • input (16)
  • question (9)
  • filepicker (8)
  • spinner (6)
  • confirm (5)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Huh is a Go library for building interactive forms and prompts in the terminal.

The library addresses the need to gather structured user input in command-line applications without requiring developers to handle low-level terminal manipulation. It organizes forms into groups (conceptually pages) containing fields such as single-line input, multi-line text, single selection, multiple selection, and confirmation prompts. Each field can be run standalone for quick prompts or composed into larger forms. The tool handles rendering, keyboard navigation, and form submission automatically.

Developers building CLI tools that need user interaction should consider this library if they want polished terminal forms with minimal code. It works both as a standalone library and integrates into Bubble Tea applications for more complex interactive programs. The tool includes an accessibility mode that disables terminal UI rendering in favor of standard text prompts, making it suitable for users relying on screen readers. Multiple built-in themes are available, and developers can supply custom themes to match their application's visual style.

The project maintains active development with regular updates and bug fixes. The codebase receives consistent attention to both functionality and user experience. Documentation is comprehensive, including tutorials and field reference materials. The maintainers prioritize accessibility as a first-class feature rather than an afterthought, evidenced by dedicated accessible rendering modes and guidance on enabling them through configuration.