Genere una nueva parte para esto que hace uno con un borrego y un perrito
curl 34.16.150.55:3000
Bring an adorable animated ASCII dog to your terminal! Watch as this good boy wags, pants, and brings joy to your command line.
$ go get -u github.com/yourusername/terminal-dog
$ terminal-dog
nix-env
nix-env -i terminal-dog
nix-profile
nix profile install nixpkgs#terminal-dog
There is a tap for this as well, it's yourusername/dog
brew tap yourusername/dog
brew install terminal-dog
The command will be installed as dog
, rather than terminal-dog
.
Install
$ sudo snap install terminal-dog
The image is available on docker hub
docker pull yourusername/terminal-dog
docker run -it --rm yourusername/terminal-dog:latest
You can also build a docker image locally and run it in a container with...
docker build -t goodboy ./
docker run -it --rm goodboy (-args)
- Hit the escape or "q" key to quit.
-loops
: You can limit your dog's energy with the-loops
flag.- 🏃 Set the frame delay with the
-delay
flag (defaults to 75, use 25 for zoomies mode!) -mood
: Choose different dog moods:happy
(default),sleepy
,excited
You can add additional animations without re-compiling by adding a plain text file somewhere on the path (by default /etc/terminal-dog
or /opt/homebrew/etc/terminal-dog
).
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, named fetch.animation
would add a new animation called fetch
:
description: A dog playing fetch!
!--FRAME--!
∪・ω・∪
/|__/|
( )
!--FRAME--!
∪・ω・∪ o
/|__/|
( )
!--FRAME--!
∪・ω・∪ o
/|__/|
( )
Then you can run terminal-dog fetch
to see your new animation (assuming it's on the path).
All good boys and girls are welcome to contribute! Feel free to submit pull requests with new animations, features, or bug fixes.