![GoDoc](https://camo.githubusercontent.com/1076f1b219df740c118c75337c2aeb5aadc89f7c8fe66cf99b6cebf6546137b2/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f6765726e6573742f776f773f7374617475732e737667)
Beautiful spinners for Go commandline apps
![wow](https://raw.githubusercontent.com/frankh/wow/master/static/wow.gif)
go get -u github.com/gernest/wow
package main
import (
"os"
"time"
"github.com/gernest/wow"
"github.com/gernest/wow/spin"
)
func main() {
w := wow.New(os.Stdout, spin.Get(spin.Dots), "Such Spins")
w.Start()
time.Sleep(2 * time.Second)
w.Text("Very emojis").Spinner(spin.Get(spin.Hearts))
time.Sleep(2 * time.Second)
w.PersistWith(spin.Spinner{Frames: []string{"👍"}}, " Wow!")
}
Name |
What it looks like |
Star2 |
![star2](https://raw.githubusercontent.com/frankh/wow/master/static/star2.gif) |
GrowHorizontal |
![growHorizontal](https://raw.githubusercontent.com/frankh/wow/master/static/growHorizontal.gif) |
Squish |
![squish](https://raw.githubusercontent.com/frankh/wow/master/static/squish.gif) |
Toggle12 |
![toggle12](https://raw.githubusercontent.com/frankh/wow/master/static/toggle12.gif) |
Smiley |
![smiley](https://raw.githubusercontent.com/frankh/wow/master/static/smiley.gif) |
Hearts |
![hearts](https://raw.githubusercontent.com/frankh/wow/master/static/hearts.gif) |
Dots3 |
![dots3](https://raw.githubusercontent.com/frankh/wow/master/static/dots3.gif) |
Dots11 |
![dots11](https://raw.githubusercontent.com/frankh/wow/master/static/dots11.gif) |
Balloon |
![balloon](https://raw.githubusercontent.com/frankh/wow/master/static/balloon.gif) |
Clock |
![clock](https://raw.githubusercontent.com/frankh/wow/master/static/clock.gif) |
Dots4 |
![dots4](https://raw.githubusercontent.com/frankh/wow/master/static/dots4.gif) |
SquareCorners |
![squareCorners](https://raw.githubusercontent.com/frankh/wow/master/static/squareCorners.gif) |
CircleHalves |
![circleHalves](https://raw.githubusercontent.com/frankh/wow/master/static/circleHalves.gif) |
Star |
![star](https://raw.githubusercontent.com/frankh/wow/master/static/star.gif) |
Arc |
![arc](https://raw.githubusercontent.com/frankh/wow/master/static/arc.gif) |
Toggle13 |
![toggle13](https://raw.githubusercontent.com/frankh/wow/master/static/toggle13.gif) |
BoxBounce |
![boxBounce](https://raw.githubusercontent.com/frankh/wow/master/static/boxBounce.gif) |
Line2 |
![line2](https://raw.githubusercontent.com/frankh/wow/master/static/line2.gif) |
Pipe |
![pipe](https://raw.githubusercontent.com/frankh/wow/master/static/pipe.gif) |
Triangle |
![triangle](https://raw.githubusercontent.com/frankh/wow/master/static/triangle.gif) |
Shark |
![shark](https://raw.githubusercontent.com/frankh/wow/master/static/shark.gif) |
Line |
![line](https://raw.githubusercontent.com/frankh/wow/master/static/line.gif) |
Arrow |
![arrow](https://raw.githubusercontent.com/frankh/wow/master/static/arrow.gif) |
Earth |
![earth](https://raw.githubusercontent.com/frankh/wow/master/static/earth.gif) |
Dots5 |
![dots5](https://raw.githubusercontent.com/frankh/wow/master/static/dots5.gif) |
Toggle11 |
![toggle11](https://raw.githubusercontent.com/frankh/wow/master/static/toggle11.gif) |
CircleQuarters |
![circleQuarters](https://raw.githubusercontent.com/frankh/wow/master/static/circleQuarters.gif) |
Toggle9 |
![toggle9](https://raw.githubusercontent.com/frankh/wow/master/static/toggle9.gif) |
Dots9 |
![dots9](https://raw.githubusercontent.com/frankh/wow/master/static/dots9.gif) |
Bounce |
![bounce](https://raw.githubusercontent.com/frankh/wow/master/static/bounce.gif) |
Toggle2 |
![toggle2](https://raw.githubusercontent.com/frankh/wow/master/static/toggle2.gif) |
Toggle7 |
![toggle7](https://raw.githubusercontent.com/frankh/wow/master/static/toggle7.gif) |
Arrow3 |
![arrow3](https://raw.githubusercontent.com/frankh/wow/master/static/arrow3.gif) |
Moon |
![moon](https://raw.githubusercontent.com/frankh/wow/master/static/moon.gif) |
Dots6 |
![dots6](https://raw.githubusercontent.com/frankh/wow/master/static/dots6.gif) |
Christmas |
![christmas](https://raw.githubusercontent.com/frankh/wow/master/static/christmas.gif) |
Dots10 |
![dots10](https://raw.githubusercontent.com/frankh/wow/master/static/dots10.gif) |
Hamburger |
![hamburger](https://raw.githubusercontent.com/frankh/wow/master/static/hamburger.gif) |
BoxBounce2 |
![boxBounce2](https://raw.githubusercontent.com/frankh/wow/master/static/boxBounce2.gif) |
BouncingBar |
![bouncingBar](https://raw.githubusercontent.com/frankh/wow/master/static/bouncingBar.gif) |
Flip |
![flip](https://raw.githubusercontent.com/frankh/wow/master/static/flip.gif) |
Dots8 |
![dots8](https://raw.githubusercontent.com/frankh/wow/master/static/dots8.gif) |
Dots12 |
![dots12](https://raw.githubusercontent.com/frankh/wow/master/static/dots12.gif) |
Noise |
![noise](https://raw.githubusercontent.com/frankh/wow/master/static/noise.gif) |
Toggle3 |
![toggle3](https://raw.githubusercontent.com/frankh/wow/master/static/toggle3.gif) |
Toggle6 |
![toggle6](https://raw.githubusercontent.com/frankh/wow/master/static/toggle6.gif) |
Runner |
![runner](https://raw.githubusercontent.com/frankh/wow/master/static/runner.gif) |
Dqpb |
![dqpb](https://raw.githubusercontent.com/frankh/wow/master/static/dqpb.gif) |
Dots |
![dots](https://raw.githubusercontent.com/frankh/wow/master/static/dots.gif) |
Toggle4 |
![toggle4](https://raw.githubusercontent.com/frankh/wow/master/static/toggle4.gif) |
Monkey |
![monkey](https://raw.githubusercontent.com/frankh/wow/master/static/monkey.gif) |
Dots7 |
![dots7](https://raw.githubusercontent.com/frankh/wow/master/static/dots7.gif) |
SimpleDots |
![simpleDots](https://raw.githubusercontent.com/frankh/wow/master/static/simpleDots.gif) |
GrowVertical |
![growVertical](https://raw.githubusercontent.com/frankh/wow/master/static/growVertical.gif) |
Circle |
![circle](https://raw.githubusercontent.com/frankh/wow/master/static/circle.gif) |
Toggle |
![toggle](https://raw.githubusercontent.com/frankh/wow/master/static/toggle.gif) |
Toggle5 |
![toggle5](https://raw.githubusercontent.com/frankh/wow/master/static/toggle5.gif) |
Arrow2 |
![arrow2](https://raw.githubusercontent.com/frankh/wow/master/static/arrow2.gif) |
Dots2 |
![dots2](https://raw.githubusercontent.com/frankh/wow/master/static/dots2.gif) |
Toggle8 |
![toggle8](https://raw.githubusercontent.com/frankh/wow/master/static/toggle8.gif) |
Toggle10 |
![toggle10](https://raw.githubusercontent.com/frankh/wow/master/static/toggle10.gif) |
BouncingBall |
![bouncingBall](https://raw.githubusercontent.com/frankh/wow/master/static/bouncingBall.gif) |
SimpleDotsScrolling |
![simpleDotsScrolling](https://raw.githubusercontent.com/frankh/wow/master/static/simpleDotsScrolling.gif) |
Pong |
![pong](https://raw.githubusercontent.com/frankh/wow/master/static/pong.gif) |
Weather |
![weather](https://raw.githubusercontent.com/frankh/wow/master/static/weather.gif) |
Balloon2 |
![balloon2](https://raw.githubusercontent.com/frankh/wow/master/static/balloon2.gif) |