Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

Neo-cowsay

> 包管理
Open source

cowsay is reborn. Neo Cowsay has written in Go.

342 stars0 likes3 views
WebsiteGitHub

About

cowsay is reborn. Neo Cowsay has written in Go.

Neo Cowsay

Neo Cowsay is written in Go. This cowsay is extended the original cowsay. added fun more options, and you can be used as a library.

for GitHub Actions users: Code-Hex/neo-cowsay-action

bash
 ______________

 --------------
       \   ^__^
        \  (oo)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

About cowsay

According to the original original manual.

cowsay is a configurable talking cow, written in Perl. It operates
much as the figlet program does, and it written in the same spirit
of silliness.

This is also supported COWPATH env. Please read more details in #33 if you want to use this.

What makes it different from the original?

  • fast
  • utf8 is supported
  • new some cowfiles is added
  • cowfiles in binary
  • random pickup cowfile option
  • provides command-line fuzzy finder to search any cows with -f - #39
  • coloring filter options
  • super mode

Movies for new options

Random

Rainbow and Aurora, Bold

And, Super Cows mode

https://user-images.githubusercontent.com/6500104/140379043-53e44994-b1b0-442e-bda7-4f7ab3aedf01.mov

Usage

As command

cow{say,think} version 2.0.0, (c) 2021 codehex
Usage: cowsay [-bdgpstwy] [-h] [-e eyes] [-f cowfile] [--random]
      [-l] [-n] [-T tongue] [-W wrapcolumn]
      [--bold] [--rainbow] [--aurora] [--super] [message]

Original Author: (c) 1999 Tony Monroe
Repository: https://github.com/Code-Hex/Neo-cowsay

Normal

bash
$ cowsay Hello
 _______

 -------
       \   ^__^
        \  (oo)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

Borg mode

bash
$ cowsay -b Hello
 _______

 -------
       \   ^__^
        \  (==)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

As library

go
package main

import (
	"fmt"

	cowsay "github.com/Code-Hex/Neo-cowsay/v2"
)

func main() {
	say, err := cowsay.Say(
		"Hello",
		cowsay.Type("default"),
		cowsay.BallonWidth(40),
	)
	if err != nil {
		panic(err)
	}
	fmt.Println(say)
}

Examples or GoDoc

Install

Windows users via Scoop

$ scoop install neo-cowsay

Windows users via Winget

$ winget install neo-cowsay

Mac and Linux users via Homebrew

$ brew update
$ brew install Code-Hex/tap/neo-cowsay

Binary

You can download from here

library

$ go get github.com/Code-Hex/Neo-cowsay/v2

Go

cowsay

$ go install github.com/Code-Hex/Neo-cowsay/cmd/v2/cowsay@latest

cowthink

$ go install github.com/Code-Hex/Neo-cowsay/cmd/v2/cowthink@latest

License

cowsay license

…

(The Artistic License or The GNU General Public License)

Author

Neo Cowsay: codehex
Original: (c) 1999 Tony Monroe

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gocowsaygogo-packagesgodoc

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image