Our great sponsors
color | termui | |
---|---|---|
8 | 12 | |
7,004 | 12,965 | |
- | - | |
6.6 | 3.6 | |
9 days ago | about 1 month ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
color
-
Snob - Dev Log (How it's done)
printer.go - Handles printing (showing) information to the user. This is where fatih/color is being used, so we can print pretty information with colors.
-
Simple CLI Colorizing in Go
Note, you also need to handle piping to other programs or sending output to a file. See the logic in https://github.com/fatih/color/blob/master/color.go, https://github.com/mattn/go-colorable and https://github.com/mattn/go-isatty.
-
Platform agnostic way to delete a line in the console?
The platform I'm using is Windows, and I found that prior to Win10 there was no support for ANSI escape codes in the command line, but I have Win10 and am pretty sure my version is up-to-date enough to have this support. I have also been successfully using Fatih's color package, so I had assumed that the escape codes were working. But they are not working when I do it manually, so fmt.Print("\033[F") does not work.
-
First Go program - would love criticism: a small program that outputs VPN status, IP and emoji-flag
I would use bytes.Contains instead of string.Contains and I would use github.com/fatih/color for ansi colours rather than re-implienting it yourself. Best not to call log.Fatal in functions other than main - it makes testing hard. Instead they should return an error after their main return value.
-
ColorStyle is a library of styles for command-line text.
Whatโs the benefit over a well established library such as https://github.com/fatih/color ?
termui
- termui: Golang Terminal Dashboard
-
Textual: Rapid Application Development Framework for Python
I used termui for a project and have no complaints.
-
github.com/srlehn/termimg: draw images in terminals
termimg evolved from a pull request for termui.
- A command line tool that draw plots on the terminal
-
An idea for a virtual pet in my Linux terminal
Go: https://github.com/gizak/termui
-
My first Go project: a playable physical-modelling string synthesiser that runs in the terminal.
It's not quite full screen. It uses termui to draw a GUI within the terminal window. Apparently you can get the widgets to scale when the window resizes but my GUI is sized absolutley.
-
termui, set widget background
Does anybody have experience with termui in go ?
This is interesting. The version you link to is not the newest. If you just look for the current (master) version of theme.go, it has changed quite radically.
- Blessed: Curses-like library with high level terminal interface API for Node.js
-
roumon - Nerdy terminal based go routine monitor ๐๐
Please let me know if this tool is helpful for you, or if it needs more/other features. Was fun to write this tool in golang using the termui library. ๐ค
What are some alternatives?
gocui - Minimalist Go package aimed at creating Console User Interfaces.
go-prompt - Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.
termbox-go - Pure Go termbox implementation
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets โย written in Golang
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
termdash - Terminal based dashboard.
chalk - Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk
tui-go
bubbletea - A powerful little TUI framework ๐
clui - Command Line User Interface (Console UI inspired by TurboVision)
pterm - โจ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more ๐ It's completely configurable and 100% cross-platform compatible.