gotui gotui is a cross-platform and fully-customizable terminal dashboard and widget library built on top of tcell. It is a modern fork of termui, inspired by ratatui and written purely in Go by Carsen Klock. Note This is a modern fork of termui for 2025, heavily upgraded to support TrueColor, modern terminal events, better performance, and new layouts. Versions gotui is compatible with Go 1.24+. Features Backend : Native tcell support for TrueColor (24-bit RGB), mouse events, and resize handling. : Native support for TrueColor (24-bit RGB), mouse events, and resize handling. Gauges : Progress bars and gauges. : Progress bars and gauges. Charts : BarChart : Stacked and standard bar charts. PieChart : Pie and Donut charts. RadarChart : Spider/Radar charts. TreeMap : Hierarchical data visualization. FunnelChart : Process flow/conversion charts. Sparkline : Mini sparklines. Plot : Line, Scatter, and Braille-mode charts. : Maps : World Map : High-resolution world map example using the generic Canvas widget (see _examples/canvas.go ). : New Widgets : LineGauge : Thin, character-based progress bar with alignment options (Block, Dots, custom runic styles). Scrollbar : Ratatui-compatible scrollbars (Vertical/Horizontal) with mouse and keyboard support. Logo : Pixel-perfect block-style logo renderer. : Performance : Optimized Rendering : Buffer uses flat slices for O(1) access, providing 2-3x speedup. Zero Allocations : Drawing loops minimized for high-fps scenes (~3000 FPS potential). : Layout : Grid : Responsive grid layout. Tabs : Tabbed navigation. Interactive : Calendar, Tables, Input, TextArea. : Styling : Rounded Borders : Optional rounded corners for blocks. Full RGB Color support. Border titles (Top and Bottom) with alignment (Left, Center, Right). Rich styling parser for text. Collapsed Borders : Support for merging adjacent block borders using BorderCollapse . : Compatibility: Works with modern terminals (iTerm2, Kitty, Alacritty, Ghostty). Installation Go modules...
First seen: 2025-12-11 23:39
Last seen: 2025-12-12 00:39