Skip to content

dbernheisel/expokesay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokesay

Sample

Stupid scripts that does this:

Requirements

Usage

Start with iex -S mix

# Grab the PNGs first.
Pokesay.scrape()

# Then convert them to what you want.
Pokesay.generate_bash()
Pokesay.generate_cows()

or use the Mix tasks:

mix Generate bash
mix Generate bash overwrite
mix Generate cows

Once you have your generated Pokemon bash files, you can do nifty things like randomly print on when you open your terminal

# First copy the pokemon files into some more permanent location
cp -Rv ./sh ~/.pokesay

# in ~/.zlogin or ~/.bash_login
if [ -d "$HOME/.pokesay" ]; then
  source "$(find "$HOME/.pokesay" -type f | shuf -n 1)"
fi

There's another example committed here

Credits

https://github.com/possatti/pokemonsay

About

Pokemon sprite to color ASCII

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published