Crates.io | pokescript |
lib.rs | pokescript |
version | 0.1.0 |
source | src |
created_at | 2025-07-02 05:01:33.105788+00 |
updated_at | 2025-07-02 05:01:33.105788+00 |
description | A command-line tool to display colorful Pokémon sprites in the terminal. |
homepage | https://github.com/mimiqdev/pokescript |
repository | https://github.com/mimiqdev/pokescript |
max_upload_size | |
id | 1734496 |
size | 47,021,630 |
A CLI utility to print out images of pokemon to the terminal. This is a complete rewrite of the original pokemon-colorscripts in Rust.
If you have the Rust toolchain installed, you can install pokescript
directly from crates.io:
cargo install pokescript
(Note: You will need to publish the crate to crates.io for this to work.)
A PKGBUILD
is provided in this repository. You can build and install it using makepkg
:
# First, update the git URL in the PKGBUILD file
makepkg -si
Clone this repository and build with Cargo:
git clone https://github.com/YOUR_USERNAME/pokemon-colorscripts-rs.git
cd pokemon-colorscripts-rs
cargo build --release
# The binary will be at target/release/pokescript
You can run pokescript
from the command line to either display a pokemon of your choice by specifying its name or make it display a random one.
$ pokescript --help
CLI utility to print out unicode image of a pokemon in your shell
Usage: pokescript [OPTION] [POKEMON NAME]
Options:
-l, --list Print list of all pokemon
-n, --name <NAME> Select pokemon by name
-f, --form <FORM> Show an alternate form of a pokemon
--no-title Do not display pokemon name
-s, --shiny Show the shiny version of the pokemon instead
-b, --big Show a larger version of the sprite
-r, --random [<GENERATION>]
Show a random pokemon from a specific generation (1-8) or range (eg. 1-3)
--random-by-names <NAMES>
Show a random pokemon from a comma-separated list of names (eg. charmander,bulbasaur)
-h, --help Print help
-V, --version Print version
Show a specific pokemon:
pokescript --name pikachu
Show a shiny pokemon:
pokescript --name mudkip --shiny
Show a random pokemon:
pokescript --random
Show a random pokemon from Generation 3:
pokescript --random 3
Show a random pokemon from a list:
pokescript --random-by-names "cyndaquil,totodile,chikorita"
Add pokescript --random
to your shell's startup file (.bashrc
, .zshrc
, config.fish
, etc.) to see a new pokemon every time you open a terminal!
This project is licensed under the MIT License - see the LICENSE.txt file for details.