tortious / Neo-cowsay

🐮 cowsay is reborn. Neo Cowsay written in Go. This cowsay extended the original and added fun more options. And it can be used as a library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neo Cowsay

Fast, funny, everyone wanted? new cowsay!!

 ______________
< I'm Neo cows >
 --------------
       \   ^__^
        \  (oo)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

GoDoc CircleCI Go Report Card

What's?

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.

by Original.
Neo Cowsay written in Go. This cowsay extended the original and added fun more options. And it can be used as a library.

Usage

As command

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

Original Author: (c) 1999 Tony Monroe

Normal

$ cowsay Hello
 _______
< Hello >
 -------
       \   ^__^
        \  (oo)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

Borg mode

$ cowsay -b Hello
 _______
< Hello >
 -------
       \   ^__^
        \  (==)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

As library

package main

import (
	"fmt"

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

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

Example or GoDoc

New options

Random

asciicast

Rainbow and Aurora, Bold

asciicast

And, Super Cows mode

asciinema is heavy... asciicast

Install

library

go get -u github.com/Code-Hex/Neo-cowsay

cowsay

go get -u github.com/Code-Hex/Neo-cowsay/cmd/cowsay

cowthink

go get -u github.com/Code-Hex/Neo-cowsay/cmd/cowthink

Binary

You can download here

License

cowsay license
(The Artistic License or The GNU General Public License)

Author

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

About

🐮 cowsay is reborn. Neo Cowsay written in Go. This cowsay extended the original and added fun more options. And it can be used as a library.

License:Other


Languages

Language:Go 98.8%Language:Makefile 1.2%