acxz / pokeshell Goto Github PK
View Code? Open in Web Editor NEWA featureful shell program to show pokemon sprites in the terminal.
License: GNU General Public License v3.0
A featureful shell program to show pokemon sprites in the terminal.
License: GNU General Public License v3.0
OS:
Pop_OS! 22.04
Dependencies:
bash/jammy,now 5.1-6ubuntu1 amd64
curl/jammy-security,jammy-updates,now 7.81.0-1ubuntu1.3 amd64
jq/jammy,now 1.6-2.1ubuntu3 amd64
imagemagick/jammy,now 8:6.9.11.60+dfsg-1.3build2 amd64
chafa/jammy,now 1.8.0-1 amd64
Fonts used
Powerline
Noto Mono
Terminals used
Gnome Terminal
Alacritty
Shell
zsh
bash
Output of $ pokeshell random
Output of $ pokeshell random -a
The distortion might be harder to make out with animated sprites, but they're still present.
Thank you for creating such a cool project. I hope we can get to the bottom of this issue.
Great project @acxz .
Is it possible to rescale the images when used with neowofetch?
Currently, my output looks like this:
I would like the pokemon image to be smaller (or larger) based on the neofetch data.
I am running into issues against shuf
missing in osx.
Looking on the internet, I need to install coreutils but that installs shuf as gshuf.
What do I do?
And can I pipe the output of this to neofetch? (using command output?)
Heya acxz! I made some updates to add shiny small sprites by default, and pokeget has always had shiny big & small forms. It would be really cool if you could update the table :)
Thanks!
could you please fix the link since i changed username some time ago? thank you very much
https://github.com/aflaag/pokemon-icat
pokemon-colorscripts has changed their codebase to python
Hey there,
I would love to use this, but it's downloading all the sprites on-demand. I'm using a cellular connection, thus this is not something I can use.
Please add an offline mode!
Thanks!
I can run pokeshell just fine, but I'm seeing broken characters in the sprite that gets rendered:
and
I switched back to bash from zsh. I see this in iTerm2 and Terminal. I think it's a font issue, but I can't find font (powerline or otherwise) that fixes this. Everything I know to check is set to UTF-8 already.
Running this in iTerm2 v3.4.16 on MacOS Monterey v.12.5.1
Thank you for maintaining this!
hello,
i've download the release and run the install.sh and i have this. I use kitty.
and i've this problem too
can you help me to correct these problems?
I know it's like a repost of #7 but it didn't solved my problem
to have multiple pokemon without imagemagick
get max height of the listed pokemon (wc -l < pokemon.txt)
get the width of each pokemon for proper size to pad with
(awk '{print length, $0}' <(sed 's/\x1b\[[^@-~]*[@-~]//g' zubat) | sort -nr | head -1)
(this goes where the \n newline is in the below sed command)
pad height diff on top of smaller pokemon (sed
'1i\20*<SPACE>\n20*<SPACE>\n20*<SPACE>\n' pokemon.txt)
use paste (paste <(sed '1i\20*<SPACE>\n20*<SPACE>\n20*<SPACE>\n' pokemon.txt) zygarde)
ex:
paste <(sed '1i\ \n \n \n \n \n \n \n \n \n \n \n \n ' zubat) zygarde
I'm using Ubuntu and I've been using Linux for a little over a week so if the problem is with the distribution I apologize in advance.
Every time I run the installer I get the following message
cp: cannot stat 'pokeshell': No such file or directory
cp: cannot stat 'pokeshell-completion.bash': No such file or directory
I report a bug during the attempt of displaying some specific pokemon sprite.
Here is an example of the error message returned in the terminal:
parse error: Invalid numeric literal at line 1, column 4
not-shiny:milcery+female
not-shiny:tropius+male
convert: unable to open image 'deerling+male-big.png': Aucun fichier ou dossier de ce type @ error/blob.c/OpenBlob/3570.
convert: no images defined `/home/quentin/.cache/pokeshell/not-shiny:deerling+male-big.png' @ error/convert.c/ConvertImageCommand/3342.
convert: unable to open image 'deerling+male-big.png': Aucun fichier ou dossier de ce type @ error/blob.c/OpenBlob/3570.
Here is a non exhaustive list of pokemons causing a bug. I only found those by chance, the complete list is probably much larger:
deerling
basculin
scatterbug
flabebe
giratina
Here is the config I use:
Hello, thanks for this very cool project.
I want to add pokeshell random,1, random,2, random,3, random random random
to my fish_greeting.fish
function
to display a random team of 6 pokemons when opening a new terminal emulator window.
First, it would be nice to have the possibility not to display the disgracious list of pokemon names, on the top of the window.
Then, is there a way to force the downloading of the full dataset of sprites in the .cache
directory, in order to always have a faster printing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.