[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4936":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},4936,"termui","gizak\u002Ftermui","gizak","Golang terminal dashboard","",null,"Go",13569,816,275,79,0,3,28,1,43.74,"MIT License",false,"master",true,[],"2026-06-12 02:01:06","# termui\n\n[\u003Cimg src=\".\u002F_assets\u002Fdemo.gif\" alt=\"demo cast under osx 10.10; Terminal.app; Menlo Regular 12pt.)\" width=\"100%\">](.\u002F_examples\u002Fdemo.go)\n\ntermui is a cross-platform and fully-customizable terminal dashboard and widget library built on top of [termbox-go](https:\u002F\u002Fgithub.com\u002Fnsf\u002Ftermbox-go). It is inspired by [blessed-contrib](https:\u002F\u002Fgithub.com\u002Fyaronn\u002Fblessed-contrib) and [tui-rs](https:\u002F\u002Fgithub.com\u002Ffdehau\u002Ftui-rs) and written purely in Go.\n\n## Note\n\nPlease be aware that due to my fluctuating availability, the frequency of updates to this project may not always follow a consistent schedule. I would like to invite potential maintainers to contribute to this project. If you are interested in becoming a maintainer, please do not hesitate to reach out to me.\n\n## Versions\n\ntermui is currently compatible with Go 1.15 (as in go.mod) and above (tracking the Debian's [oldstable](https:\u002F\u002Fwiki.debian.org\u002FDebianReleases)). Please use the version-numbered branch as stable release. The new changes will be pushed to master branch first and then merge to version branch.\n\n## Features\n\n- Several premade widgets for common use cases\n- Easily create custom widgets\n- Position widgets either in a relative grid or with absolute coordinates\n- Keyboard, mouse, and terminal resizing events\n- Colors and styling\n\n## Installation\n\n### Go modules\n\nIt is not necessary to `go get` termui, since Go will automatically manage any imported dependencies for you. Do note that you have to include `\u002Fv3` in the import statements as shown in the 'Hello World' example below.\n\n### Dep\n\nAdd with `dep ensure -add github.com\u002Fgizak\u002Ftermui`. With Dep, `\u002Fv3` should *not* be included in the import statements.\n\n## Hello World\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\tui \"github.com\u002Fgizak\u002Ftermui\u002Fv3\"\n\t\"github.com\u002Fgizak\u002Ftermui\u002Fv3\u002Fwidgets\"\n)\n\nfunc main() {\n\tif err := ui.Init(); err != nil {\n\t\tlog.Fatalf(\"failed to initialize termui: %v\", err)\n\t}\n\tdefer ui.Close()\n\n\tp := widgets.NewParagraph()\n\tp.Text = \"Hello World!\"\n\tp.SetRect(0, 0, 25, 5)\n\n\tui.Render(p)\n\n\tfor e := range ui.PollEvents() {\n\t\tif e.Type == ui.KeyboardEvent {\n\t\t\tbreak\n\t\t}\n\t}\n}\n```\n\n## Widgets\n\n- [BarChart](.\u002F_examples\u002Fbarchart.go)\n- [Canvas](.\u002F_examples\u002Fcanvas.go) (for drawing braille dots)\n- [Gauge](.\u002F_examples\u002Fgauge.go)\n- [Image](.\u002F_examples\u002Fimage.go)\n- [List](.\u002F_examples\u002Flist.go)\n- [Tree](.\u002F_examples\u002Ftree.go)\n- [Paragraph](.\u002F_examples\u002Fparagraph.go)\n- [PieChart](.\u002F_examples\u002Fpiechart.go)\n- [Plot](.\u002F_examples\u002Fplot.go) (for scatterplots and linecharts)\n- [Sparkline](.\u002F_examples\u002Fsparkline.go)\n- [StackedBarChart](.\u002F_examples\u002Fstacked_barchart.go)\n- [Table](.\u002F_examples\u002Ftable.go)\n- [Tabs](.\u002F_examples\u002Ftabs.go)\n\nRun an example with `go run _examples\u002F{example}.go` or run each example consecutively with `make run-examples`.\n\n## Documentation\n\n- [wiki](https:\u002F\u002Fgithub.com\u002Fgizak\u002Ftermui\u002Fwiki)\n\n## Uses\n\n- [dockdash](https:\u002F\u002Fgithub.com\u002Fbyrnedo\u002Fdockdash)\n- [expvarmon](https:\u002F\u002Fgithub.com\u002Fdivan\u002Fexpvarmon)\n- [go-ethereum\u002Fmonitorcmd](https:\u002F\u002Fgithub.com\u002Fethereum\u002Fgo-ethereum\u002Fblob\u002Fmaster\u002Fcmd\u002Fgeth\u002Fmonitorcmd.go)\n- [go-jira-ui](https:\u002F\u002Fgithub.com\u002Fmikepea\u002Fgo-jira-ui)\n- [gotop](https:\u002F\u002Fgithub.com\u002Fcjbassi\u002Fgotop)\n- [termeter](https:\u002F\u002Fgithub.com\u002Fatsaki\u002Ftermeter)\n- [updo](https:\u002F\u002Fgithub.com\u002FOwloops\u002Fupdo)\n\n## Related Works\n\n- [blessed-contrib](https:\u002F\u002Fgithub.com\u002Fyaronn\u002Fblessed-contrib)\n- [gocui](https:\u002F\u002Fgithub.com\u002Fjroimartin\u002Fgocui)\n- [termdash](https:\u002F\u002Fgithub.com\u002Fmum4k\u002Ftermdash)\n- [tui-rs](https:\u002F\u002Fgithub.com\u002Ffdehau\u002Ftui-rs)\n- [tview](https:\u002F\u002Fgithub.com\u002Frivo\u002Ftview)\n\n## License\n\n[MIT](http:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n","termui 是一个用 Go 语言编写的跨平台终端仪表盘和组件库。它基于 termbox-go 构建，提供多种预置组件如条形图、饼图、表格等，并支持用户自定义组件。此外，termui 具备键盘、鼠标事件响应及终端大小调整功能，支持颜色与样式设置。该项目适用于需要在命令行界面展示数据监控、日志分析或构建交互式文本界面的应用场景。",2,"2026-06-11 03:01:36","top_language"]