Skip to content

ohhmkar/omsay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

omsay

Cowsay was getting boring so I made omsay. It does the same thing but yk

 _______________
< Hello World!  >
 ---------------
         \  ^__^
          \ (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Installation

Using go install (recommended)

go install github.com/ohhmkar/omsay@latest

Make sure $HOME/go/bin is in your PATH:

export PATH="$HOME/go/bin:$PATH"

Build from source

git clone https://github.com/ohhmkar/omsay.git
cd omsay
go build
./omsay

Usage

Basic Usage

# Direct message
omsay "Hello World"

# Using pipe
echo "Hello World" | omsay

# Use with fortune
fortune | omsay

Options

Flag Description Default
-f <figure> Choose a figure cow
-t Use thought bubble instead of speech false
-w <width> Max width of speech bubble 40
-n Disable word wrapping false
-list List all available figures -
-v Print version information -

Examples

# Use a different figure
omsay -f tux "Linux is awesome!"

# Thinking mode (thought bubble)
omsay -t "Hmm, let me think..."

# Use with a dragon
omsay -f dragon "Fear me!"

# Custom width
omsay -w 60 "This is a longer message that will wrap at 60 characters"

# No wrapping
omsay -n "This message will not wrap no matter how long it is"

# List all figures
omsay -list

Available Figures

Figure Description
cow cow (default)
stego stegosaurus
tux linux penguin
dragon dragon
cat kitty
owl owl
fox fox
bunny rabbit
ghost ghost
whale whale
shark shark
elephant elephant
duck duck

Author

Made with <3 by @ohhmkar

About

cowsay but with my name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages