Hasty Briefsbeta

Show HN: Gotui – a modern Go terminal dashboard library

2 days ago
  • #dashboard
  • #terminal
  • #Go
  • gotui is a cross-platform, fully-customizable terminal dashboard and widget library built on tcell.
  • Modern fork of termui with TrueColor support, modern terminal events, better performance, and new layouts.
  • Compatible with Go 1.24+.
  • Backend features include TrueColor (24-bit RGB), mouse events, and resize handling.
  • Widgets include Gauges, Charts (BarChart, PieChart, RadarChart, etc.), and Maps (World Map).
  • New Widgets: LineGauge, Scrollbar, Logo.
  • Performance optimizations include flat slices for O(1) access and zero allocations in drawing loops.
  • Layout options: Grid, Tabs, Interactive (Calendar, Tables, Input, TextArea).
  • Styling features: Rounded Borders, Full RGB Color support, Border titles, Rich styling parser.
  • Compatibility: Works with modern terminals like iTerm2, Kitty, Alacritty, Ghostty.
  • Installation: `go get github.com/metaspartan/gotui/v4`.
  • Example usage provided in the text.