24 stable releases

1.12.1 Mar 7, 2024
1.11.0 Jan 13, 2024
1.8.0 Dec 30, 2023
1.7.0 Nov 30, 2023
1.2.0 Mar 22, 2023

#1999 in Command line utilities

Download history 7/week @ 2023-12-30 58/week @ 2024-01-06 12/week @ 2024-01-13 15/week @ 2024-02-03 97/week @ 2024-02-17 284/week @ 2024-02-24 149/week @ 2024-03-02 70/week @ 2024-03-09 71/week @ 2024-03-16 13/week @ 2024-03-30

94 downloads per month

MIT license

4.5MB
1.5K SLoC

📖 Poketex

Simple Pokedex based on TUI(Terminal User Interface)

Crates.io Crates.io

demo

Table of Contents

Feature

  1. All Pokemon (until Pokemon SV)
  2. All Region Form (until Pokemon SV)
  3. Searchable
  4. include English, Chinese, Japanese locales data

Installation

Packaging status

Install from Github Release

Download the last version binary depending on your configuration here: Release Page

Then you just need to enter this command in your terminal:

tar -xf <downloaded_archive> poketext
sudo mv poketex /usr/local/bin
sudo mkdir -p /usr/local/share/poketex/colorscripts
sudo cp -rf colorscripts /usr/local/share/poketex

Install from crates.io

If you're a Rust programmer, poketex can be installed with cargo.

cargo install poketex --locked

Install from the AUR

If you're using Arch Linux, you can install poketex from the extra repository using pacman:

pacman -S poketex

Install from Source Code

poketex is written in Rust, so you'll need to grab a Rust installation in order to compile it.

git clone https://github.com/ckaznable/poketex
cd poketex
make build
sudo make install

If you want to uninstall

sudo make uninsall

Usage

Usage: poketex [OPTIONS]

Options:
  -l, --locale <LOCALE>  locales [zh, ja, en] [default: en]
  -h, --help             Print help
  -V, --version          Print version

Keyboard Navigation Instructions

Use arrow keys or hjkl to move around.

Press Page Up or Page Down to move 4 steps at a time.

Press f to switch ascii forms.

Press q to exit.

Press H to display help information.

Press gg to go to the top and G to go to the bottom.

Press alt+j or alt+k to scroll up or down ability description.

Press / to enter search mode.

RoadMap

  • show pokemon iv and type
  • pokemon list searchable
  • add pokemon ability rows
  • add region form
    • Alola
    • Galar
    • Hisuian
    • Paldea
  • add cli variable
    • --locale [en, ja, zh]
  • help key
  • gen 9 DLC - The Teal Mask
  • gen 9 DLC - The Indigo Disk
  • Image support (powered by pokemon-colorscripts)

Troubleshoot

Image are not displaying

If the ansi images are not displaying, please copy the colorscripts folder from this repository to /usr/local/share/poketex.

git clone https://github.com/ckaznable/poketex
cd poketex
mkdir -p /usr/local/share/poketex/colorscripts
cp -rf colorscripts /usr/local/share/poketex

Pokemon data source

data generated from ckaznable/poke-data-crawler

License

MIT

Dependencies

~10–19MB
~223K SLoC