Go (golang) package with 70+ configurable terminal spinner/progress indicators.

Overview

Spinner

GoDoc Build Status

spinner is a simple package to add a spinner / progress indicator to any terminal application. Examples can be found below as well as full examples in the examples directory.

For more detail about the library and its features, reference your local godoc once installed.

Contributions welcome!

Installation

go get github.com/briandowns/spinner

Available Character Sets

(Numbered by their slice index)

index character set sample gif
0 ←↖↑↗→↘↓↙ Sample Gif
1 ▁▃▄▅▆▇█▇▆▅▄▃▁ Sample Gif
2 ▖▘▝▗ Sample Gif
3 ┤┘┴└├┌┬┐ Sample Gif
4 ◢◣◤◥ Sample Gif
5 ◰◳◲◱ Sample Gif
6 ◴◷◶◵ Sample Gif
7 ◐◓◑◒ Sample Gif
8 [email protected]* Sample Gif
9 |/-\ Sample Gif
10 ◡◡⊙⊙◠◠ Sample Gif
11 ⣾⣽⣻⢿⡿⣟⣯⣷ Sample Gif
12 >))'> >))'> >))'> >))'> >))'> <'((< <'((< <'((< Sample Gif
13 ⠁⠂⠄⡀⢀⠠⠐⠈ Sample Gif
14 ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏ Sample Gif
15 abcdefghijklmnopqrstuvwxyz Sample Gif
16 ▉▊▋▌▍▎▏▎▍▌▋▊▉ Sample Gif
17 ■□▪▫ Sample Gif
18 ←↑→↓ Sample Gif
19 ╫╪ Sample Gif
20 ⇐⇖⇑⇗⇒⇘⇓⇙ Sample Gif
21 ⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈ Sample Gif
22 ⠈⠉⠋⠓⠒⠐⠐⠒⠖⠦⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈ Sample Gif
23 ⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠴⠲⠒⠂⠂⠒⠚⠙⠉⠁ Sample Gif
24 ⠋⠙⠚⠒⠂⠂⠒⠲⠴⠦⠖⠒⠐⠐⠒⠓⠋ Sample Gif
25 ヲァィゥェォャュョッアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン Sample Gif
26 . .. ... Sample Gif
27 ▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁ Sample Gif
28 .oO°Oo. Sample Gif
29 +x Sample Gif
30 v<^> Sample Gif
31 >>---> >>---> >>---> >>---> >>---> <---<< <---<< <---<< <---<< <---<< Sample Gif
32 | || ||| |||| ||||| |||||| ||||| |||| ||| || | Sample Gif
33 [] [=] [==] [===] [====] [=====] [======] [=======] [========] [=========] [==========] Sample Gif
34 (*---------) (-*--------) (--*-------) (---*------) (----*-----) (-----*----) (------*---) (-------*--) (--------*-) (---------*) Sample Gif
35 █▒▒▒▒▒▒▒▒▒ ███▒▒▒▒▒▒▒ █████▒▒▒▒▒ ███████▒▒▒ ██████████ Sample Gif
36 [ ] [=> ] [===> ] [=====> ] [======> ] [========> ] [==========> ] [============> ] [==============> ] [================> ] [==================> ] [===================>] Sample Gif
37 🕐 🕑 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 🕛 Sample Gif
38 🕐 🕜 🕑 🕝 🕒 🕞 🕓 🕟 🕔 🕠 🕕 🕡 🕖 🕢 🕗 🕣 🕘 🕤 🕙 🕥 🕚 🕦 🕛 🕧 Sample Gif
39 🌍 🌎 🌏 Sample Gif
40 ◜ ◝ ◞ ◟ Sample Gif
41 ⬒ ⬔ ⬓ ⬕ Sample Gif
42 ⬖ ⬘ ⬗ ⬙ Sample Gif
43 [>>> >] []>>>> [] [] >>>> [] [] >>>> [] [] >>>> [] [] >>>>[] [>> >>] Sample Gif

Features

  • Start
  • Stop
  • Restart
  • Reverse direction
  • Update the spinner character set
  • Update the spinner speed
  • Prefix or append text
  • Change spinner color, background, and text attributes such as bold / italics
  • Get spinner status
  • Chain, pipe, redirect output
  • Output final string on spinner/indicator completion

Examples

package main

import (
	"github.com/briandowns/spinner"
	"time"
)

func main() {
	s := spinner.New(spinner.CharSets[9], 100*time.Millisecond)  // Build our new spinner
	s.Start()                                                    // Start the spinner
	time.Sleep(4 * time.Second)                                  // Run for some time to simulate work
	s.Stop()
}

Update the character set and restart the spinner

s.UpdateCharSet(spinner.CharSets[1])  // Update spinner to use a different character set
s.Restart()                           // Restart the spinner
time.Sleep(4 * time.Second)
s.Stop()

Update spin speed and restart the spinner

s.UpdateSpeed(200 * time.Millisecond) // Update the speed the spinner spins at
s.Restart()
time.Sleep(4 * time.Second)
s.Stop()

Reverse the direction of the spinner

s.Reverse() // Reverse the direction the spinner is spinning
s.Restart()
time.Sleep(4 * time.Second)
s.Stop()

Provide your own spinner

(or send me an issue or pull request to add to the project)

someSet := []string{"+", "-"}
s := spinner.New(someSet, 100*time.Millisecond)

Prefix or append text to the spinner

s.Prefix = "prefixed text: " // Prefix text before the spinner
s.Suffix = "  :appended text" // Append text after the spinner

Set or change the color of the spinner. Default color is white. The spinner will need to be restarted to pick up the change.

s.Color("red") // Set the spinner color to red

You can specify both the background and foreground color, as well as additional attributes such as bold or underline.

s.Color("red", "bold") // Set the spinner color to a bold red

Or to set the background to black, the foreground to a bold red:

s.Color("bgBlack", "bold", "fgRed")

Below is the full color and attribute list:

// default colors
red
black
green
yellow
blue
magenta
cyan
white

// attributes
reset
bold
faint
italic
underline
blinkslow
blinkrapid
reversevideo
concealed
crossedout

// foreground text
fgBlack
fgRed
fgGreen
fgYellow
fgBlue
fgMagenta
fgCyan
fgWhite

// foreground Hi-Intensity text
fgHiBlack
fgHiRed
fgHiGreen
fgHiYellow
fgHiBlue
fgHiMagenta
fgHiCyan
fgHiWhite

// background text
bgBlack
bgRed
bgGreen
bgYellow
bgBlue
bgMagenta
bgCyan
bgWhite

// background Hi-Intensity text
bgHiBlack
bgHiRed
bgHiGreen
bgHiYellow
bgHiBlue
bgHiMagenta
bgHiCyan
bgHiWhite

Generate a sequence of numbers

setOfDigits := spinner.GenerateNumberSequence(25)    // Generate a 25 digit string of numbers
s := spinner.New(setOfDigits, 100*time.Millisecond)

Get spinner status

fmt.Println(s.Active())

Unix pipe and redirect

Feature suggested and write up by dekz

Setting the Spinner Writer to Stderr helps show progress to the user, with the enhancement to chain, pipe or redirect the output.

This is the preferred method of setting a Writer at this time.

s := spinner.New(spinner.CharSets[11], 100*time.Millisecond, spinner.WithWriter(os.Stderr))
s.Suffix = " Encrypting data..."
s.Start()
// Encrypt the data into ciphertext
fmt.Println(os.Stdout, ciphertext)
> myprog encrypt "Secret text" > encrypted.txt
⣯ Encrypting data...
> cat encrypted.txt
1243hjkbas23i9ah27sj39jghv237n2oa93hg83

Final String Output

Add additional output when the spinner/indicator has completed. The "final" output string can be multi-lined and will be written to wherever the io.Writer has been configured for.

s := spinner.New(spinner.CharSets[9], 100*time.Millisecond)
s.FinalMSG = "Complete!\nNew line!\nAnother one!\n"
s.Start()                 
time.Sleep(4 * time.Second)
s.Stop()                   

Output

Complete!
New line!
Another one!
Issues
  • Add Taskbar Progress Indicator on Windows

    Add Taskbar Progress Indicator on Windows

    ConEmu and Windows Terminal supports a OSC sequence for manipulating the Taskbar Progress Indicator. This can be used to display "spinners" even when the terminal (or tab) isn't active.

    Following the documentation from ConEmu, this could be used by sending the sequence for indeterminate progress ESC ] 9 ; 4 ; 3 ; 0 ST when starting a spinner, and the sequence for removing progress ESC ] 9 ; 4 ; 0 ; 0 ST when stopping a spinner.

    If this is something this project would benefit from, I would be happy to try my hand at implementing it.

    opened by 89netraM 0
  • Unknown error trying to run the spinner

    Unknown error trying to run the spinner

    I am just taking simplest example to test the spinner:

    func main() {
    
    	s := spinner.New(spinner.CharSets[9], 100*time.Millisecond) // Build our new spinner
    	s.Start()                                                   // Start the spinner
    	time.Sleep(4 * time.Second)                                 // Run for some time to simulate work
    	s.Stop()
    
    }
    

    and I get this stack of errors, any idea what is the issue? go version: go1.17.1 darwin/amd64

    fatal error: unexpected signal during runtime execution
    [signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff20458c9e]
    
    runtime stack:
    runtime: unexpected return pc for runtime.sigpanic called from 0x7fff20458c9e
    stack: frame={sp:0x7ffeefbff4b8, fp:0x7ffeefbff508} stack=[0x7ffeefb80558,0x7ffeefbff5c0)
    0x00007ffeefbff3b8:  0x01007ffeefbff3d8  0x0000000000000004 
    0x00007ffeefbff3c8:  0x000000000000001f  0x00007fff20458c9e 
    0x00007ffeefbff3d8:  0x0b01dfacedebac1e  0x0000000000000001 
    0x00007ffeefbff3e8:  0x00000000040373b1 <runtime.throw+0x0000000000000071>  0x00007ffeefbff488 
    0x00007ffeefbff3f8:  0x00000000043e8d38  0x00007ffeefbff440 
    0x00007ffeefbff408:  0x0000000004037668 <runtime.fatalthrow.func1+0x0000000000000048>  0x00000000046033a0 
    0x00007ffeefbff418:  0x0000000000000001  0x0000000000000001 
    0x00007ffeefbff428:  0x00007ffeefbff488  0x00000000040373b1 <runtime.throw+0x0000000000000071> 
    0x00007ffeefbff438:  0x00000000046033a0  0x00007ffeefbff478 
    0x00007ffeefbff448:  0x00000000040375f0 <runtime.fatalthrow+0x0000000000000050>  0x00007ffeefbff458 
    0x00007ffeefbff458:  0x0000000004037620 <runtime.fatalthrow.func1+0x0000000000000000>  0x00000000046033a0 
    0x00007ffeefbff468:  0x00000000040373b1 <runtime.throw+0x0000000000000071>  0x00007ffeefbff488 
    0x00007ffeefbff478:  0x00007ffeefbff4a8  0x00000000040373b1 <runtime.throw+0x0000000000000071> 
    0x00007ffeefbff488:  0x00007ffeefbff490  0x00000000040373e0 <runtime.throw.func1+0x0000000000000000> 
    0x00007ffeefbff498:  0x00000000043ecef6  0x000000000000002a 
    0x00007ffeefbff4a8:  0x00007ffeefbff4f8  0x000000000404c9b6 <runtime.sigpanic+0x0000000000000396> 
    0x00007ffeefbff4b8: <0x00000000043ecef6  0x000000000401cd05 <runtime.(*fixalloc).alloc+0x0000000000000085> 
    0x00007ffeefbff4c8:  0x00007ffeefbff538  0x000000000402a4c6 <runtime.(*mheap).allocSpan+0x0000000000000546> 
    0x00007ffeefbff4d8:  0x000000c00011c000  0x000000000000e000 
    0x00007ffeefbff4e8:  0x000000c000000008  0x0000000004076e00 <syscall.libc_stat64_trampoline+0x0000000000000000> 
    0x00007ffeefbff4f8:  0x00007ffeefbff540 !0x00007fff20458c9e 
    0x00007ffeefbff508: >0x00007ffeefbff540  0x00000000045c0000 
    0x00007ffeefbff518:  0x00000000000003a1  0x00000000040f82e5 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005> 
    0x00007ffeefbff528:  0x0000000004068abf <runtime.syscall+0x000000000000001f>  0x000000c000061ab8 
    0x00007ffeefbff538:  0x00007ffeefbff580  0x000000c000061a88 
    0x00007ffeefbff548:  0x0000000004066910 <runtime.asmcgocall+0x0000000000000070>  0x0000000000000007 
    0x00007ffeefbff558:  0x000000c000027a00  0x7a000000043f8278 
    0x00007ffeefbff568:  0x0000000000000010  0x000000000439b280 
    0x00007ffeefbff578:  0x00000000000005a0  0x000000c0000001a0 
    0x00007ffeefbff588:  0x0000000004064a29 <runtime.systemstack+0x0000000000000049>  0x0000000000000004 
    0x00007ffeefbff598:  0x0000000004436d60  0x00000000046033a0 
    0x00007ffeefbff5a8:  0x00007ffeefbff5f8  0x0000000004064925 <runtime.mstart+0x0000000000000005> 
    0x00007ffeefbff5b8:  0x00000000040648dd <runtime.rt0_go+0x000000000000013d> 
    runtime.throw({0x43ecef6, 0x401cd05})
            /usr/local/go/src/runtime/panic.go:1198 +0x71
    runtime: unexpected return pc for runtime.sigpanic called from 0x7fff20458c9e
    stack: frame={sp:0x7ffeefbff4b8, fp:0x7ffeefbff508} stack=[0x7ffeefb80558,0x7ffeefbff5c0)
    0x00007ffeefbff3b8:  0x01007ffeefbff3d8  0x0000000000000004 
    0x00007ffeefbff3c8:  0x000000000000001f  0x00007fff20458c9e 
    0x00007ffeefbff3d8:  0x0b01dfacedebac1e  0x0000000000000001 
    0x00007ffeefbff3e8:  0x00000000040373b1 <runtime.throw+0x0000000000000071>  0x00007ffeefbff488 
    0x00007ffeefbff3f8:  0x00000000043e8d38  0x00007ffeefbff440 
    0x00007ffeefbff408:  0x0000000004037668 <runtime.fatalthrow.func1+0x0000000000000048>  0x00000000046033a0 
    0x00007ffeefbff418:  0x0000000000000001  0x0000000000000001 
    0x00007ffeefbff428:  0x00007ffeefbff488  0x00000000040373b1 <runtime.throw+0x0000000000000071> 
    0x00007ffeefbff438:  0x00000000046033a0  0x00007ffeefbff478 
    0x00007ffeefbff448:  0x00000000040375f0 <runtime.fatalthrow+0x0000000000000050>  0x00007ffeefbff458 
    0x00007ffeefbff458:  0x0000000004037620 <runtime.fatalthrow.func1+0x0000000000000000>  0x00000000046033a0 
    0x00007ffeefbff468:  0x00000000040373b1 <runtime.throw+0x0000000000000071>  0x00007ffeefbff488 
    0x00007ffeefbff478:  0x00007ffeefbff4a8  0x00000000040373b1 <runtime.throw+0x0000000000000071> 
    0x00007ffeefbff488:  0x00007ffeefbff490  0x00000000040373e0 <runtime.throw.func1+0x0000000000000000> 
    0x00007ffeefbff498:  0x00000000043ecef6  0x000000000000002a 
    0x00007ffeefbff4a8:  0x00007ffeefbff4f8  0x000000000404c9b6 <runtime.sigpanic+0x0000000000000396> 
    0x00007ffeefbff4b8: <0x00000000043ecef6  0x000000000401cd05 <runtime.(*fixalloc).alloc+0x0000000000000085> 
    0x00007ffeefbff4c8:  0x00007ffeefbff538  0x000000000402a4c6 <runtime.(*mheap).allocSpan+0x0000000000000546> 
    0x00007ffeefbff4d8:  0x000000c00011c000  0x000000000000e000 
    0x00007ffeefbff4e8:  0x000000c000000008  0x0000000004076e00 <syscall.libc_stat64_trampoline+0x0000000000000000> 
    0x00007ffeefbff4f8:  0x00007ffeefbff540 !0x00007fff20458c9e 
    0x00007ffeefbff508: >0x00007ffeefbff540  0x00000000045c0000 
    0x00007ffeefbff518:  0x00000000000003a1  0x00000000040f82e5 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005> 
    0x00007ffeefbff528:  0x0000000004068abf <runtime.syscall+0x000000000000001f>  0x000000c000061ab8 
    0x00007ffeefbff538:  0x00007ffeefbff580  0x000000c000061a88 
    0x00007ffeefbff548:  0x0000000004066910 <runtime.asmcgocall+0x0000000000000070>  0x0000000000000007 
    0x00007ffeefbff558:  0x000000c000027a00  0x7a000000043f8278 
    0x00007ffeefbff568:  0x0000000000000010  0x000000000439b280 
    0x00007ffeefbff578:  0x00000000000005a0  0x000000c0000001a0 
    0x00007ffeefbff588:  0x0000000004064a29 <runtime.systemstack+0x0000000000000049>  0x0000000000000004 
    0x00007ffeefbff598:  0x0000000004436d60  0x00000000046033a0 
    0x00007ffeefbff5a8:  0x00007ffeefbff5f8  0x0000000004064925 <runtime.mstart+0x0000000000000005> 
    0x00007ffeefbff5b8:  0x00000000040648dd <runtime.rt0_go+0x000000000000013d> 
    runtime.sigpanic()
            /usr/local/go/src/runtime/signal_unix.go:719 +0x396
    
    goroutine 1 [syscall, locked to thread]:
    syscall.syscall(0x40f82e0, 0x1, 0x40487413, 0xc000061b48)
            /usr/local/go/src/runtime/sys_darwin.go:22 +0x3b fp=0xc000061ab8 sp=0xc000061a98 pc=0x40634db
    syscall.syscall(0x4071dc6, 0x4380b80, 0xc000061b70, 0x4071cf8)
            <autogenerated>:1 +0x26 fp=0xc000061b00 sp=0xc000061ab8 pc=0x4069286
    golang.org/x/sys/unix.ioctl(0x43de921, 0x4, 0x1000000000000)
            /Users/sami/Desktop/golang/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:746 +0x39 fp=0xc000061b30 sp=0xc000061b00 pc=0x40f7f79
    golang.org/x/sys/unix.IoctlGetTermios(...)
            /Users/sami/Desktop/golang/pkg/mod/golang.org/x/[email protected]/unix/ioctl.go:63
    github.com/mattn/go-isatty.IsTerminal(0x43de921)
            /Users/sami/Desktop/golang/pkg/mod/github.com/mattn/[email protected]/isatty_bsd.go:10 +0x50 fp=0xc000061ba0 sp=0xc000061b30 pc=0x40f8390
    github.com/fatih/color.init()
            /Users/sami/Desktop/golang/pkg/mod/github.com/fatih/[email protected]/color.go:21 +0x7a fp=0xc000061bd8 sp=0xc000061ba0 pc=0x40f87fa
    runtime.doInit(0x45c78c0)
            /usr/local/go/src/runtime/proc.go:6498 +0x123 fp=0xc000061d10 sp=0xc000061bd8 pc=0x4046923
    runtime.doInit(0x45c84e0)
            /usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc000061e48 sp=0xc000061d10 pc=0x4046871
    runtime.doInit(0x45c79e0)
            /usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc000061f80 sp=0xc000061e48 pc=0x4046871
    runtime.main()
            /usr/local/go/src/runtime/proc.go:238 +0x1e6 fp=0xc000061fe0 sp=0xc000061f80 pc=0x4039a06
    runtime.goexit()
            /usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x4066c01
    exit status 2
    
    opened by SamiAlsubhi 5
  • Any command/function to disappear a spinner

    Any command/function to disappear a spinner

    I have been adding a spinner in one of the logs of the project I have been working on. I was able to add a spinner, but I'm not finding a way how to disappear the spinner when I get the logs. I have attached a small example for it below

    spinner-bug

    In the above gif, we see the spinner half besides [install-dependencies], in short when we get the data the spinner should disappear that is the end goal

    Any pointers would be appreciated 🤗

    opened by PuneetPunamiya 1
  • Weird cursor movements at any speed in fast terminals

    Weird cursor movements at any speed in fast terminals

    As you can see from the gif below I am getting this weird cursor movement in fast terminals like alacritty. This happens at any speed but the example below is 100 * time.Milliseconds with char set 14.

    Screen Recording 2020-11-30 at 12 34 29 AM

    opened by gleich 3
Releases(v1.18.1)
Owner
Brian Downs
keybase.io/briandowns
Brian Downs
progress_bar creates a single customizable progress bar for Linux terminal.

progress_bar Go Progress Bar Features progress_bar creates a single customizable progress bar for Linux terminal. Installation go get -u github.com/er

erman imer 126 Jan 14, 2022
hierarchical progress bars in terminal on steroids

Echelon - hierarchical progress in terminals Cross-platform library to organize logs in a hierarchical structure. Here is an example how it looks for

Cirrus Labs 309 Jun 15, 2022
Print day progress in your terminal

Day progress Print day progress in your terminal Install go install github.com/tsivinsky/[email protected] Usage day-progress By default, day-progre

Daniil Tsivinsky 0 Jan 10, 2022
A really basic thread-safe progress bar for Golang applications

progressbar A very simple thread-safe progress bar which should work on every OS without problems. I needed a progressbar for croc and everything I tr

Zack 2.5k Jun 23, 2022
Console progress bar for Golang

Terminal progress bar for Go Installation go get github.com/cheggaaa/pb/v3 Documentation for v1 bar available here Quick start package main import (

Sergey Cherepanov 3.2k Jun 30, 2022
Golang-video-screensaver - A work in progress Microsoft Windows video screensaver implemented in Go

golang-video-screensaver A work in progress Microsoft Windows video screensaver

null 0 Mar 2, 2022
multi progress bar for Go cli applications

Multi Progress Bar mpb is a Go lib for rendering progress bars in terminal applications. Features Multiple Bars: Multiple progress bars are supported

Vladimir Bauer 1.7k Jun 23, 2022
Utilities to prettify console output of tables, lists, progress-bars, text, etc.

go-pretty Utilities to prettify console output of tables, lists, progress-bars, text, etc. Table Pretty-print tables into ASCII/Unicode strings.

Naveen Mahalingam 1.3k Jun 20, 2022
Go simple progress bar writing to output

?? progress-go Go simple progress bar writing to output ?? ABOUT Contributors: Rafał Lorenz Want to contribute ? Feel free to send pull requests! Have

Rafał Lorenz 53 Jun 11, 2022
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.

Stonks is a terminal based stock visualizer and tracker. Installation Requirements: golang >= 1.13 Manual Clone the repo Run make && make install Pack

Eric Moynihan 510 Jun 21, 2022
Golang package with functionality to add colors to your logs to the terminal.

colrz It's a set of funcs and constants to provide basic colors to your terminal app. How to use Get it go get github.com/unnamedxaer/colrz Use it pac

Kamil 0 Nov 28, 2021
A Go package for drawing basic graphics in a terminal

Tgraph Tgraph is a Go package for drawing basic graphics in a terminal. It was inspired by termgraph. Graph types supported: Bar Graphs Multi-variable

daoleno 51 Mar 3, 2022
Chalk is a Go Package which can be used for making terminal output more vibrant with text colors, text styles and background colors.

Chalk Chalk is a Go Package which can be used for making terminal output more vibrant with text colors, text styles and background colors. Documentati

null 4 Jun 21, 2022
💻 PTerm | Pretty Terminal Printer A golang module to print pretty text

✨ PTerm is a modern go module to beautify console output. Featuring charts, progressbars, tables, trees, and many more ?? It's completely configurable and 100% cross-platform compatible.

null 2.8k Jun 29, 2022
A collection of terminal-based widgets for richer Golang CLI apps.

Flinch A collection of terminal-based widgets for richer Golang CLI apps. Ships with a library to build your own widgets/TUIs too. Warning: This modul

Liam Galvin 33 Apr 15, 2022
Golang terminal dashboard

termui termui is a cross-platform and fully-customizable terminal dashboard and widget library built on top of termbox-go. It is inspired by blessed-c

Zack Guo 11.9k Jun 23, 2022
Terminal UI library with rich, interactive widgets — written in Golang

Rich Interactive Widgets for Terminal UIs This Go package provides commonly needed components for terminal based user interfaces. Among these componen

rivo 7k Jun 27, 2022
🔹 Golang module to move the terminal cursor in any direction on every operating system.

AtomicGo | cursor Get The Module | Documentation | Contributing | Code of Conduct Description Package cursor contains cross-platform methods to move t

AtomicGo 43 Jun 20, 2022
Source code of a YouTube tutorial about writing terminal applications with Golang

Bubble Tea Demo 00 Source code of a YouTube tutorial about writing terminal applications with Golang by using Bubble Tea. Contains a simple counter ap

Nicolás Parada 2 Feb 1, 2022