erweixin/rego

component-first TUI framework for Go (declarative UI, MVVM-ish, focus/mouse, built-in widgets)

21
/ 100
Experimental

Inspired by React Hooks, it uses Go generics for type-safe state management with explicit keys that work within conditionals and loops—eliminating the call-order constraints of the original pattern. Built on tcell for terminal rendering, it includes specialized components like `TailBox` for auto-scrolling logs and a `Bridge` mechanism designed for AI agent streaming scenarios where background goroutines feed state updates to the UI.

No Package No Dependents
Maintenance 6 / 25
Adoption 6 / 25
Maturity 9 / 25
Community 0 / 25

How are scores calculated?

Stars

20

Forks

Language

Go

License

MIT

Last pushed

Dec 30, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/erweixin/rego"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.