Favicon of gocui

gocui

Lightweight Go package for creating interactive console user interfaces with views, keybindings, mouse support, and colored text output.

A minimalist Go package designed for developers who need to build terminal-based user interfaces without unnecessary complexity. GOCUI provides a clean, straightforward API that lets you create interactive console applications with professional features.

Key capabilities include:

  • Simple API - Get started quickly with an intuitive interface that doesn't require extensive boilerplate
  • View system - Create window-like components that implement io.ReadWriter for seamless integration
  • Overlapping views - Layer multiple interface elements for sophisticated layouts
  • Runtime modification - Update your GUI dynamically while the application runs, with full concurrent-safety
  • Keybinding support - Define both global and view-specific keyboard shortcuts
  • Mouse interaction - Enable users to interact with your interface using mouse input
  • Colored text - Add visual distinction with text coloring capabilities
  • Flexible editing - Customize how text input and editing behaves in your application
  • Reusable components - Build widgets and complex layouts that you can use across multiple projects

Whether you're creating system monitoring tools, interactive CLIs, or terminal dashboards, GOCUI handles the heavy lifting of terminal management while keeping your code clean and maintainable.

Features

ScriptableTrue color

Media

Pros

5
  • Minimalist API for easy integration
  • Supports overlapping views for complex layouts
  • Allows runtime GUI modification
  • Provides global and view-level keybindings
  • Includes mouse support and colored text output

Related tools

Categories:

Share:

Quiet lately: No commits in 1 year — this project might not be actively maintained.

Auto-fetched .

Similar to gocui

Favicon

 

  
 
Favicon

 

  
 
Favicon