Skip to content
/ mockbob Public

Converts text into Spongebob meme mocking format.

License

Notifications You must be signed in to change notification settings

tlkamp/mockbob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

mockbob

mascot

A CLI tool for generating Spongebob meme text.

Because sometimes manually typing out that format takes too many braincells.

Demo

mockbob

Usage

Note: Stdin takes precedence over argument provided values

To use mockbob, simply call it in your terminal.

$ mockbob herpaderp
hErPaDeRp

For multiple words, use quotes:

# Arg
$ mockbob do you even lift bro
dO yOu EvEn LiFt BrO

# Stdin
$ echo do you even lift bro | mockbob
dO yOu EvEn LiFt BrO

mockbob will preserve punctuation:

# Arg
$ mockbob 'do you even lift bro?'
dO yOu EvEn LiFt BrO?

# Stdin
$ echo 'do you even lift bro?' | mockbob
dO yOu EvEn LiFt Bro?

And if you want to start off with capital letters, pass the -c flag.

# Arg
$ mockbob -c "do you even lift bro?"
Do YoU eVeN lIfT bRo?

# Stdin
$ echo "do you even lift bro?" | mockbob -c
Do YoU eVeN lIfT bRo?

Installation

To install this module, simply run:

$ go install github.com/tlkamp/mockbob@latest

# mockbob is now available in your terminal
$ which mockbob
/Users/traci/go/bin/mockbob

$ mockbob -h
mockbob will take any set of input text, and return it in a Spongebob meme mocking format.

Examples:
  mockbob "do you even lift bro" -> dO yOu EvEn LiFt BrO
  mockbob -c "do you even lift bro" -> Do YoU eVeN lIfT bRo
  mockbob herpderp -> hErPdErP
  mockbob -c herpderp -> HeRpDeRp
  mockbob -r herpaderp ->HerPAdErP

Usage:
  mockbob [word or sentence] [flags]

Flags:
  -h, --help          help for mockbob
  -r, --random-caps   randomize the capital letters through the text
  -c, --start-caps    start the text with a capital letter