catsay icon indicating copy to clipboard operation
catsay copied to clipboard

A program that generates pictures of a cat holding a sign with a message.

catsay

Build Status CodeFactor Go Report Card Codacy Badge Maintainability Test Coverage GitHub license Twitter

catsay is a program that generates pictures of a cat holding a sign with a message. image

Build

Requires git to clone and Go to build.

$ git clone https://github.com/muhammadmuzzammil1998/catsay.git
$ cd catsay
$ go get -d
$ go build

Installation

Follow the guide on the releases page for detailed instructions.

Linux

Download .deb file for catsay from the releases page.

$ wget https://github.com/muhammadmuzzammil1998/catsay/releases/download/{version}/catsay-linux-{amd64/386}.deb
$ sudo dpkg -i catsay-linux-{amd64/386}.deb

Windows

Start PowerShell as an admin

$ Invoke-WebRequest https://github.com/muhammadmuzzammil1998/catsay/releases/download/{version}/catsay-windows-{amd64/386}.exe -OutFile catsay.exe
$ mv .\catsay.exe C:\Windows\catsay.exe

Other OSs

You can download the binary already built for your system or build it yourself.

NOTE: This should be obvious but still:

  • Adapt {version} number. Check version number from here.
  • Choose your architecture, amd64 for 64 bit and 386 for 32 bit systems.

Usage

Pipe the data you want your cat to say.

Examples

image

Seeing blocks instead of eyes, nose, or hand?

This is probably because your terminal doesn't support those characters. lulz.

Try catsay -ascii to use ASCII-only characters. image

Help

image

Uninstall

Linux

$ sudo dpkg --remove catsay

Windows

Start PowerShell as an admin

$ del C:\Windows\catsay.exe

Contributors

  • @mattn - Fixed width for multi-byte strings (#14)