Skip to content
Go Dockerfile
Branch: master
Clone or download

Latest commit

Eun and jmhobbs Catch ctrl-c to exit.
Code by @Eun, pulled from #16

Signed-off-by: John Hobbs <john@velvetcache.org>
Latest commit ad378c7 Dec 13, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
frames ANSI frames Jun 15, 2016
.gopack.yml gopack file Jun 15, 2016
Dockerfile Add Dockerfile Jun 4, 2018
LICENSE Add LICENSE Jun 15, 2016
README.md
data.go change colors and behavior to be more accurate to the original gif Apr 23, 2018
draw.go change colors and behavior to be more accurate to the original gif Apr 23, 2018
go.mod Fail if not connected to a terminal. Dec 13, 2018
go.sum Fail if not connected to a terminal. Dec 13, 2018
parrot.go Catch ctrl-c to exit. Dec 13, 2018

README.md

🦜 for your terminal

demo

Installing

Either grab a build on the releases page or clone and run...

$ go get -u github.com/jmhobbs/terminal-parrot
$ terminal-parrot

Homebrew

There is a tap for this as well, it's jmhobbs/parrot

brew tap jmhobbs/parrot
brew install terminal-parrot

Docker

The image is available on docker hub

docker pull jmhobbs/terminal-parrot
docker run -it --rm jmhobbs/terminal-parrot:latest

You can also build a docker image locally and run it in a container with...

docker build -t partyparrot ./
docker run -it --rm partyparrot (-args)

Quitting

Hit the escape key to quit.

-loops

You can limit your parrots enthusiasm with the -loops flag.

:fastparrot:

Set the frame delay with the -delay flag (defaults to 75, use 25 for :fastparrot:)

:aussieparrot:

Use -orientation aussie for our friends down under.

Thanks

Idea from seeing this tweet from @rachsmithtweets

Thanks to termbox-go for making it easy.

Thanks to jp2a for nice ASCII art conversion.

Thanks to erinking for fixing colors and animation frames

Thanks to pdevine for the Dockerfile (and robbyoconnor for reviving the PR I let go stale)

You can’t perform that action at this time.