CSS

go-tui – declarative terminal UI framework for Go

go-tui is a declarative terminal UI framework for Go.

It lets developers define terminal interfaces in .gsx templates using HTML-like syntax and Tailwind-style classes. The compiler generates type-safe Go source, while the runtime handles flexbox layout, reactive state, and rendering.

This is free and open source software.

Key Features

  • Declarative .gsx templates for terminal interfaces
  • HTML-like elements with Tailwind-style utility classes
  • Compiles templates to type-safe Go source
  • Pure Go flexbox layout engine without CGO
  • Reactive state with automatic re-rendering
  • Keyboard and mouse event handling
  • Modal dialogs, focus management, refs, and watchers
  • Double-buffered renderer with diff-based updates
  • Inline mode for embedding widgets in shell sessions
  • Language server, formatter, and editor support

Website: github.com/grindlemire/go-tui
Support:
Developer: grindlemire
License: MIT License

go-tui 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