Skip to content
/ pokego Public

command-line tool that lets you display Pokémon sprites in color directly in your terminal.

License

Notifications You must be signed in to change notification settings

rubiin/pokego

pokego

AUR version

Go version of phoney badger's pokemon-colorscripts , with a boost on speed

Table of contents

Features

  • Includes Pokémon from all generations, along with shiny, mega, Gigantamax, and regional variants
  • Ability to print random Pokémon with options to filter by generation and form
  • Print specific Pokémon by name
  • Display both the sprite and Pokédex entry

Installation

Arch

If you're on Arch, you can also use the AUR:

yay -S pokego-bin

Or alternatively you can manually download the PKGBUILD file from the repository, then run

makepkg -si

For other Linux Distributions

Download the latest release. Unzip the executable

Then move the executable to your path

mv builds/linux/pokego ~/.local/bin

Git

You can also clone the repository and compile manually by doing:

git clone https://github.com/rubiin/pokego.git
cd pokego
just build

Then move the executable to your path

mv builds/linux/pokego ~/.local/bin

There is also the development package pokego-git that tracks the main branch.

Usage

Run the help command pokego --help to see the following help message.

USAGE:  -form string
        Show an alternate form of a pokemon
  -list
        Print list of all pokemon
  -name string
        Select pokemon by name
  -no-title
        Do not display pokemon name
  -random string
        Show a random pokemon. This flag can optionally be followed by a generation number or range (default "1-8")
  -shiny
        Show the shiny version of the pokemon instead
  -version
        Show the cli version

To get the help of the random subcommand.

Examples

Print a specific pokemon

pokego --name charizard

Print a specific shiny pokemon

pokego --name spheal -s

Print a specific pokemon together with its pokedex entry

pokego --name mudkip

Print an alternative form of a pokemon

pokego --name blastoise --form mega

Print a random pokemon (gens 1-8)

pokego

Print random pokemon from generations 1-3 (range)

pokego --random 1-3

Print a random pokemon from generations 1,3 and 6

pokego --random 1,3,6

Comparision

The start time is the mean of 5 consecutive run using time coreutil on my personal laptop[Acer Aspire 5] on 2024/10/06

Tool Start Time (S) Size (MB) Language Used
Pokego 0.005 2.1 MB Go
Pokeget 0.006 5 MB Rust
Krabby 0.016 23 MB Rust
Pokemonscripts 0.060 43 MB Python

Credits

Pokego's Pokémon sprites were sourced from PokéSprite and transformed into Unicode format using Phoney Badger's pokemon-generator-scripts.

Similar projects

About

command-line tool that lets you display Pokémon sprites in color directly in your terminal.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •