briandowns/spinner ships 90 numbered character sets and leaves the API to godoc
Go (golang) package with 90 configurable terminal spinner/progress indicators.
At a glance
- What is it?
- briandowns/spinner is a Go package that adds a spinner to a terminal program. Its README is brief: one install line, a table of character sets by slice index, and a pointer to godoc for everything else.
- Who is it for?
- Pick this package if a Go command line tool needs a spinner and you want to choose its look from a numbered list of 90 character sets. Skip it if you need a progress bar with a percentage, because the README shows spinners only.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 9 days ago.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- briandowns/spinner2,533 ★ · +3
| Repository | 2026-10-08 | 2026-11-25 |
|---|---|---|
| briandowns/spinner | 2.5k | 2.5k |
3 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
One go get line installs it, and the README stops there
Installation is a single command:
go get github.com/briandowns/spinnerThe README describes the package as a simple way to add a spinner or progress indicator to any terminal application. It says examples appear below and that full examples live in the examples directory. It then sends you to your local godoc, once installed, for more detail about the library and its features.
That is the extent of the usage documentation in the README. There is no snippet showing how to create a spinner, start it or stop it. The call sequence has to come from godoc or from the repository's example directory, which is named _example at the top level. A reader who wants to evaluate the API before installing has to open the source files, spinner.go in particular.
Ninety character sets, numbered by slice index
The headline number is 90 character sets, and the README's table numbers them by their slice index. The table shows only some of them, with a sample gif for each. The sets are sequences of characters that the spinner cycles through, one frame per character or group.
Index 0 is a ring of arrows: ←↖↑↗→↘↓↙. Index 1 is a rising and falling bar, ▁▃▄▅▆▇█▇▆▅▄▃▁. Index 9 is the classic |/-\ cycle, which is plain ASCII. Index 14 is the Braille dots ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏, and index 11 is a different Braille pattern. Index 15 cycles the lowercase alphabet from a to z.
Some entries are decorative. Index 12 draws fish, >))'> and <'((<, moving across the line. Index 10 uses ◡◡⊙⊙◠◠.
Because the sets are addressed by index, picking one by number ties your code to that numbering. character_sets.go is the file that holds them, so check it when you upgrade.
Sets that need Unicode drawing characters will break on terminals that lack them
The character sets in the table fall into two groups. A few use ASCII only, such as index 9 with | / - \ and index 8 with .oO@*. Most use Unicode block, box, arrow or Braille characters.
The README says nothing about terminal or font requirements. A set like index 3, ┤┘┴└├┌┬┐, or index 16, ▉▊▋▌▍▎▏▎▍▌▋▊▉, depends on the terminal having glyphs for those characters. If the terminal or the font lacks them, the user sees placeholder boxes or gaps.
The cautious choice for a tool that runs on unknown terminals, such as remote shells or CI logs, is an ASCII set. That is a reading of the table and not a statement from the project. The README documents neither a fallback nor a way to detect support, so a program that cares has to make the decision itself.
Two direct dependencies: fatih/color and golang.org/x/term
go.mod declares module github.com/briandowns/spinner and go 1.17. The direct requirements are github.com/fatih/color v1.7.0 and golang.org/x/term v0.1.0. Three indirect requirements follow: github.com/mattn/go-colorable v0.1.2, github.com/mattn/go-isatty v0.0.8 and golang.org/x/sys at a 2022 pseudo-version.
The names point at color output and terminal detection, though the README does not describe how the package uses either. That puts a few small packages into your module graph when you add it. A program that already depends on fatih/color will resolve the same module, and the version pinned here is an old one, v1.7.0, so Go's minimum version selection decides which version you end up with.
The repository also has a vendor directory at the top level, next to go.mod and go.sum.
The Makefile has test, check and clean targets, and check copies vendor into GOPATH
The Makefile defines a handful of targets. test runs go test -v -cover ./... across the module. clean runs go clean. deps depends on go.mod, which is built with go mod init and go mod tidy when it is missing.
The check target is the unusual one. It tests whether a vendor directory exists and, if so, copies vendor/* into ${GOPATH}/src/. That is a pre-modules habit: it puts vendored packages into the old GOPATH layout. The README does not explain it, so a contributor running make check should know what it writes into their GOPATH.
Tests live in spinner_test.go and charset_copy_test.go. The CI configuration is present twice, as a .circleci directory and a .travis.yml file, and the README badge links CircleCI. The repository also contains NOTICE.txt alongside the Apache-2.0 LICENSE.
What the repository does not show: progress percentages and a documented API
The description calls these spinners and progress indicators, but everything the README shows is a cycling character set. It documents no percentage, no total and no bar. If you need to display 40 percent complete, the README gives no evidence this package does that.
The README also lists no options. How to change the speed, add a prefix or suffix, color the output or write to something other than standard output is not covered, and the godoc is the stated source for those details.
Contributions are welcome, according to a single line in the README, and there is no CONTRIBUTING file in the top-level listing. The listing does include a gifs directory that holds the sample animations referenced by the character set table.
Maintenance: last push 2026-10-10, three recent tags under Apache-2.0
The repository is not archived, and its last push was on 2026-10-10. The license is Apache-2.0. Recent tagged releases are v1.23.2 on 2025-01-20, v1.23.1 on 2024-06-13 and v1.23.0 on 2023-03-06.
The gaps between tags are long, more than a year between the second and third most recent. For a library of this size, that fits a stable package that changes rarely, but the README makes no such claim, so check the commit history if release cadence matters to you.
The default branch is master. The package lives at the repository root, with spinner.go as the main source file, so go get github.com/briandowns/spinner is the whole import path.
Editorial conclusion
Pick this package if a Go command line tool needs a spinner and you want to choose its look from a numbered list of 90 character sets. Skip it if you need a progress bar with a percentage, because the README shows spinners only. Before adding it, open the godoc for the version you install, since the README contains no usage code, and check that your toolchain meets go 1.17 from go.mod. The latest tagged release is v1.23.2 from 2025-01-20.
Frequently asked questions
What is briandowns/spinner?
It is a Go package that adds a spinner or progress indicator to a terminal application. It offers 90 character sets.
How do I install the spinner package for Go?
Run go get github.com/briandowns/spinner. The README points to godoc for the library's features once it is installed.
Does the spinner package show a progress percentage?
The README documents only cycling character sets and shows no percentage or bar. Check godoc for any other features.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/briandowns-spinner)Star history chart for your README
[](https://hysenlabs.com/projects/briandowns-spinner)Was this useful?