frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Go-TUI – a framework for building declarative terminal UIs in Go

https://www.go-tui.dev/
1•grindlemire•1h ago
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!

The Cartography of Reason

https://www.samrith.dev/blog/the-cartography-of-reason/
1•mooreds•1m ago•0 comments

IaC Tooling: Build vs. Buy

https://newsletter.masterpoint.io/p/iac-tooling-build-vs-buy
1•mooreds•2m ago•0 comments

I Hired a Lab to Counterfeit-Test a Dozen Suspicious Beauty Products

https://www.nytimes.com/wirecutter/reviews/counterfeit-beauty-products/
1•cainxinth•2m ago•1 comments

Show HN: Kelos – Run Claude –dangerously-skip-permissions on Kubernetes

https://github.com/kelos-dev/kelos
1•gjkim042•2m ago•0 comments

Show HN: A weird thing that detects your pulse from the browser video

https://pulsefeedback.io/
1•kilroy123•5m ago•0 comments

Ask HN: How do you approach debugging production issues?

1•algocli•5m ago•0 comments

Thaura, your ethical AI companion

https://thaura.ai
1•level87•5m ago•0 comments

Composting Mobile Phones – Hosting server on obsolete mobile phones

https://wiki.comphost.club/
1•ibobev•6m ago•0 comments

Front End Engineers – Explore Patterns in JavaScript, React and Vue

https://www.patterns.dev/vanilla/
1•bqc•7m ago•0 comments

Decoding GPU Efficiency: The FLOPs Fallacy

https://clockwork.io/blog/decoding-gpu-efficiency-part-1-the-flops-fallacy/
1•gdcohen•7m ago•0 comments

PHP Reads

https://phpreads.com/
1•esher•8m ago•0 comments

Show HN: Focus Warden – Block sites, set time limits, and micro-learn

https://chromewebstore.google.com/detail/focus-warden/chgkcjgkhgcajpndkpibgbpglempcegb
1•EdwardK1•8m ago•0 comments

Sleep without pills: Why digital CBT gets 94% of insomnia patients to remission

https://medium.com/@6thMind/sleep-without-pills-why-digital-cbt-i-gets-94-of-insomnia-patients-to...
1•smanuel•8m ago•0 comments

The $599 MacBook Neo is Apple's cheapest Mac laptop yet

https://www.engadget.com/computing/laptops/the-599-macbook-neo-is-apples-cheapest-mac-laptop-yet-...
2•th33ngineer•9m ago•0 comments

Show HN: One Good Thing – one thought a day, then asks you to close the app

https://onegoodthing.space
1•supertim•9m ago•0 comments

Show HN: FindDates – one proposed time at a time, so only one slot gets blocked

https://date.malupp.com
1•rouuuge•9m ago•0 comments

Show HN: DNS-based MCP registry discovery – live demo at mcp.mariothomas.com

https://github.com/mariothomas/mcp-dns-registry
1•mariothomas•10m ago•1 comments

Apple Announces Low-Cost 'MacBook Neo' with A18 Pro Chip

https://www.macrumors.com/2026/03/04/apple-announces-low-cost-macbook-neo-with-a18-pro-chip/
4•vanburen•10m ago•0 comments

Study: Younger siblings spend more time on screens than big sisters and brothers

https://theconversation.com/our-study-shows-younger-siblings-spend-more-time-on-screens-than-big-...
1•PaulHoule•11m ago•0 comments

Survey of Open-Source Vision Language Models (2026)

https://blog.overshoot.ai/blog/vlm-survey-2026
1•YounElh•11m ago•1 comments

Ask LLM Agents to Classify Problems Before Starting

https://futuresearch.ai/merge-cardinality/
5•ddp26•12m ago•1 comments

Show HN: DailyStack – Aggregate your work tools into a 5-minute morning brief

https://dailystack.ai/
1•akinmaurice•12m ago•0 comments

MacBook Neo

https://www.apple.com/macbook-neo/
36•meetpateltech•12m ago•16 comments

Apple Introduces MacBook Neo

https://www.apple.com/newsroom/2026/03/say-hello-to-macbook-neo/
40•dm•12m ago•8 comments

In 1985 Maxell built a bunch of life-size robots for its bad floppy ad

https://buttondown.com/suchbadtechads/archive/maxell-life-size-robots/
1•rfarley04•12m ago•0 comments

Show HN: AuraText – Like Grammarly for AI prompts, works in every Windows app

https://auratxt.com/
1•yashra4j•12m ago•0 comments

Show HN: P0 – Yes, AI can ship complex features into real codebases

https://www.bepurple.ai/
1•arndt•13m ago•1 comments

Show HN: I made a 1 line AI Agent observability tool

https://tracium.ai/
1•antonijs•13m ago•0 comments

Show HN: VantageKit – a lightweight deal room with staging, analytics, & AI Q&A

https://www.vantagekit.com/en
1•xheggs•14m ago•0 comments

The Pro-Human AI Declaration

https://humanstatement.org/
2•salkahfi•14m ago•0 comments