Crates.io | poketest |
lib.rs | poketest |
version | 1.5.1 |
source | src |
created_at | 2024-08-19 12:13:49.498012 |
updated_at | 2024-08-19 12:13:49.498012 |
description | Display pokemon sprites in your terminal. |
homepage | https://github.com/LuMarans30/pokeget-rs |
repository | https://github.com/LuMarans30/pokeget-rs |
max_upload_size | |
id | 1343796 |
size | 48,480 |
A better rust version of pokeget.
pokeget <pokemon>
for more info, run pokeget --help
Also, if you're using pokeget in your .bashrc
, then instead of running pokeget <pokemon>
,
you can just write the output to a file by doing: pokeget <pokemon> > file.txt
and then
have something like cat file.txt
bashrc.
You can also use multiple pokemon with names:
pokeget bulbasaur pikachu random
Or pokedex ID's:
pokeget 1 2 3
The recommended installation method is to use cargo:
cargo install pokeget
and making sure $HOME/.cargo/bin
is added to $PATH
.
If you're on Arch, you can also use the AUR:
yay -S pokeget
[!WARNING]
The AUR repository is currently unmaintained. If you'd like to maintain it, open an issue.
You can also clone the repository and compile manually by doing:
git clone --recurse-submodules https://github.com/talwat/pokeget-rs.git
cd pokeget-rs
cargo build --release
mv target/release/pokeget ~/.local/bin
and making sure $HOME/.local/bin
is added to $PATH
.
Just rerun cargo install pokeget
or git pull
on the repository and then recompile.
Append this to your .bashrc
or .zshrc
:
export PATH="<path>:$PATH"
Run this in your CLI:
fish_add_path <path>
Because the first pokeget was slow, bloated, and super complicated I decided to make a better version in rust.
Now, instead of precomputing all the sprites and uploading them to a repo, pokeget will be able to compute them on the fly which makes everything much more flexible while still retaining performance.
It will also draw the sprites 2x smaller by using half squares.
pokeget-rs has an edge over projects like the old pokeget, pokeshell, etc... since it's in rust.
It also is significantly (5.5x) faster than krabby which is another very similar project.
For more info, go to OTHER_PROJECTS.md.
Gone. Reduced to atoms.
In all seriousness, i've just decided to not deal with them since it's extra work that I don't want to deal with.
This time, the sprites are from pokesprite and pokeget uses them with a submodule.
Sprites are embedded into the binary, so pokeget won't download them.