charmbracelet

    charmbracelet/huh

    Build terminal forms and prompts πŸ€·πŸ»β€β™€οΈ

    cli
    Go
    MIT
    7.2K stars
    272 forks
    7.2K GitHub watchers
    Updated Oct 31, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 235 days ago, with 58 contributors on GitHub.

    Gained 26% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Build interactive terminal forms and prompts with support for multiple input types and dynamic behavior.
    • Offers accessible mode for screen readers and seamless integration with Bubble Tea applications for enhanced terminal UI.
    • Use for creating command-line order forms or surveys with validation and multi-step grouping.
    • Use for embedding interactive forms within Bubble Tea-based terminal applications requiring flexible user input.
    • Use for building accessible terminal prompts that provide better feedback for visually impaired users.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A simple, powerful library for building interactive forms and prompts in the terminal.

    huh? is easy to use in a standalone fashion, can be integrated into a Bubble Tea application, and contains a first-class accessible mode for screen readers.

    The above example is running from a single Go program (source).

    Let’s build a form for ordering burgers. To start, we’ll import the library and define a few variables where we'll store answers.

    huh? separates forms into groups (you can think of groups as pages). Groups are made of fields (e.g. Select, Input, Text). We will set up three groups for the customer to fill out.

    And that’s it! For more info see the full source for this example as well as the docs.

    If you need more dynamic forms that change based on input from previous fields, check out the dynamic forms example.

    Excerpt from the charmbracelet/huh README on GitHub (MIT license). Β© its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    272+18

    Open issues

    109+22

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    charmbracelet/huh compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    mattpocock/skills315.4K+8.7K357 days ago
    stablyai/orca116.8K+6.6K40today
    obra/superpowers313.1K+4.5K532 days ago
    Panniantong/Agent-Reach109.3K+3.0K604 days ago
    charmbracelet/huh7.2Kβ€”47235 days ago
    Category median116.8K+6.6K40β€”

    Also by charmbracelet

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description