Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

kz6fittycent/terminal-parrot

 
 

Repository files navigation

terminal-parrot🧪 Snap Builds

🦜 for your terminal

demo

Installing

Either grab a build on thereleases page or clone and run...

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

Nix

nix-env

nix-env -i terminal-parrot

nix-profile

nix profile install nixpkgs#terminal-parrot

Homebrew

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

brew tap jmhobbs/parrotbrew install terminal-parrot

Snap Install

$ sudo snap install terminal-parrot

The command will be installed asparrot, rather thanterminal-parrot.

Snap Install

$ sudo snap install terminal-parrot

Docker

The image is available ondocker hub

docker pull jmhobbs/terminal-parrotdocker 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 or "q" 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.

Adding Animations

You can add additional animations without re-compiling by adding a plain text file somewhere on the path (by default/etc/terminal-parrot or/opt/homebrew/etc/terminal-parrot).

This file should contain the frames, separated by lines containing!--FRAME--!. The filename must end with.animation.

The first segment of the file is reserved for metadata, which is key-value pairs separated by:.

For example, the following file, namedtest.animation would add a new animation calledtest:

description: A test animation!!--FRAME--![ Frame One ]!--FRAME--![ Frame Two ]!--FRAME--![ Frame Three ]

Then you can runterminal-parrot test to see your new animation (assuming it's on the path).

Demo of custom animations

Thanks

Idea from seeingthis tweet from @rachsmithtweets

Thanks totermbox-go for making it easy.

Thanks tojp2a for nice ASCII art conversion.

Thanks toerinking forfixing colors and animation frames

Thanks topdevine for theDockerfile (androbbyoconnor for reviving the PR I let go stale)

About

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go97.6%
  • Dockerfile2.4%

[8]ページ先頭

©2009-2025 Movatter.jp