Framework

Huh? – Go library

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

The library can be used standalone or integrated into Bubble Tea applications. Forms are composed from groups and fields, with support for validation, dynamic content, themes, and an accessible mode for screen readers.

This is free and open source software.

Key Features

  • Build interactive forms and prompts for terminal applications
  • Compose forms from groups and fields
  • Single-line text input
  • Multi-line text entry
  • Single-choice select prompts
  • Multi-select prompts with optional limits
  • Yes/no confirmation prompts
  • Field validation with custom error messages
  • Dynamic forms that react to earlier answers
  • Accessible mode designed for screen readers
  • Theme support with predefined themes
  • Integrates with Bubble Tea applications

Website: https://github.com/charmbracelet/huh
Support:
Developer:Charm
License: MIT License

Huh? is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Go TUI Frameworks
termuiGolang terminal dashboard
Bubble TeaFun, functional and stateful way to build terminal apps
tviewTerminal UI library with rich, interactive widgets
gocuiMinimalist Go package aimed at creating Console User Interfaces.
CobraLibrary for creating powerful modern CLI applications
cviewTerminal-based user interface toolkit (fork of tview)
Lip GlossStyle definitions for nice terminal layouts

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted