nowfound

Dev tools · March 6, 2026

GT

Go-TUI – A framework for building declarative terminal UIs in Go

I've been building go-tui (https://go-tui.dev), a terminal UI framework for Go inspired by the templ framework for the web (https://templ.guide/). The syntax should be familiar to templ users and is quite different from other terminal frameworks like bubbletea. Instead of imperative widget manipulation or bubbletea's elm architecture, you write HTML-like syntax and Tailwind-style classes that can intermingle with regular Go code in a new .gsx filetype. Then you compile these files to type-safe Go using `tui generate`. At runtime there's a flexbox layout engine based…

What it does

In the maker’s words, at launch

I've been building go-tui (https://go-tui.dev), a terminal UI framework for Go inspired by the templ framework for the web (https://templ.guide/). The syntax should be familiar to templ users and is quite different from other terminal frameworks like bubbletea. Instead of imperative widget manipulation or bubbletea's elm architecture, you write HTML-like syntax and Tailwind-style classes that can intermingle with regular Go code in a new .gsx filetype. Then you compile these files to type-safe Go using `tui generate`. At runtime there's a flexbox layout engine based on yoga that handles positioning and a double-buffered renderer that diffs output to minimize terminal writes. Here are some other features in the framework: - It supports reactive state with State[T]. You change a value and the framework redraws for you. You can also forego reactivity and simply use pure components if you would like. - You can render out a single frame to the terminal scrollback if you don't care about UIs and just want to place a box, table, or other styled component into your stdout. It's super handy and avoids the headache of dealing with the ansi escape sequences directly. - It supports an inline mode that lets you embed an interactive widget in your shell session instead of taking over the full screen. With it you can build things like custom streaming chat interfaces directly in the terminal. - I built full editor support for the new filetype. I published a VS Code and Open-VSX extension with completion, hover, and go-to-definition. Just search for "go-tui" in the marketplace to find them. The repo also includes a tree-sitter grammar for Neovim/Helix, and an LSP that proxies Go features through gopls so the files are easy to work with. There are roughly 20 examples in the repo covering everything from basic components to a dashboard with live metrics and sparklines. I also built an example wrapper for claude code if you wanted to build your own AI chat interface. Docs & guides: https://go-tui.dev Repo: https://github.com/grindlemire/go-tui I'd love feedback on the project!

Does the same job

all alternatives →
  • Gowebly2024 · ▲130

    A next-generation CLI tool to build web apps easier

  • TA
    Tuido, a Terminal Todo List2022 · github.com · ▲8

    This is my personal todo app, which I made a while back after the original https://xit.jotaen.net/ post. tuido is written in go, with the bubbletea tui framework. My daily workflow involves creating YYYY-MM-DD.md and taking notes, many of which are effectively low-level todos that fall below the threshold for more public or involved issue trackers. Problem was that these half-hazard todos weren't tracked at all. After seeing the [x]it spec, it seemed clear that a little tooling could fix this. I've been reasonably happy with it.

  • NF
    Nocterm – Flutter-inspired TUI framework with hot reload (Dart)Feb 2026 · nocterm.dev · ▲5

    Over the past couple of months I've been working on a TUI framework heavily inspired by Flutter, written in Dart. The API is modeled after Flutter. StatefulComponent, setState(), Row, Column, Expanded, ListView. There have been some discussions about performance of TUIs recently, and I think Dart is actually a great language for writing TUIs in. It compiles down to fast native code, is cross-platform, and has great developer ergonomics. JIT compilation for development (which enables hot reload) and AOT compilation for production binaries. What's really cool is stateful hot reload. If you…

  • whosthereMay 2026 · ▲81

    Local Area Network discovery tool with an interactive TUI

  • AS
    A sample project for Golang2018 · ▲57

    I have been using golang at work and personally for more than 2 years now. A problem i faced when I started and the problem new gophers even today is how to structure the project. Most (if not all) golang tutorials seem to be very simple and do not describe how to structure a large application. Following project is an attempt to Showcase a manageable project layout for services in golang. https://github.com/spy16/droplets This project is far from complete. Would like to hear some feedback from the community before continuing on this.

  • Create Go App2021 · ▲94

    Create a new production-ready project by one CLI command

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, March 2026

the whole month →
  • AI-native CRM that builds itself and does work for you

    AI · Mar 2026 · lightfield.app

  • Tobira.ai730

    A network where AI agents find deals for their humans

    AI · Mar 2026 · tobira.ai

  • Switch from ChatGPT to Claude with import memory feature

    AI · Mar 2026 · claude.com

  • The AI assistant that already knows your work

    AI · Mar 2026 · littlebird.ai

  • Your AI Coworker that proactively executes tasks

    AI · Mar 2026 · viktor.com

  • Jupid664

    File your taxes with Claude Code

    Commerce · Mar 2026 · jupid.com