Giter Site home page Giter Site logo

acxz / pokeshell Goto Github PK

View Code? Open in Web Editor NEW
119.0 4.0 9.0 81 KB

A featureful shell program to show pokemon sprites in the terminal.

License: GNU General Public License v3.0

Shell 100.00%
shell bash pokemon terminal shell-script pokeshell pokemon-colorscripts colorscripts poketerm pokeget

pokeshell's People

Contributors

acxz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pokeshell's Issues

Sprites looking distorted on Pop_OS! 22.04

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

image

Output of $ pokeshell random -a

pokeshell

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.

Random forms don't work

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?)

Reflect changes to pokemon-colorscripts

pokemon-colorscripts has changed their codebase to python

  • update num of deps
  • update timings
  • add @yannjor's rust version as well
  • create fork of pokemon-colorscripts to maintain original shell codebase
  • do a rewrite with multiple pokemon, completions, and pokemon forms/genders
  • update master branch of pokescript with the neo branch
  • add readme similar in style to pokemon-colorscripts (spiritual successor to shell version of pokemon-colorscripts)
  • make arch git package
  • make pokeshell release arch package update
  • send update to readme at pokemon-colorscripts for mentioning the older script based version can be found at pokescript see here

Offline Mode

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!

Broken characters in alacritty, hyper

I can run pokeshell just fine, but I'm seeing broken characters in the sprite that gets rendered:
image
and
image

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!

animated has too few big pixel

hello,
i've download the release and run the install.sh and i have this. I use kitty.
image
and i've this problem too
image
can you help me to correct these problems?
I know it's like a repost of #7 but it didn't solved my problem

not working with neofetch

I have arch with i3-gaps, using kitty terminal and running with neowofetch.
I've set image_source="$(pokeshell eevee)" but the issue is that when I run it, instead of showing up on the side, it shows on top of it, and I don't know how to change it.

image

investigate different method of multiple pokemon without convert-fu

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

Support for Chafa <= 1.2.1

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
imagen

cp: cannot stat 'pokeshell': No such file or directory
cp: cannot stat 'pokeshell-completion.bash': No such file or directory

Unable to open some pokemon sprites

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:

image

Stop printing pokemon names and download full dataset

Hello, thanks for this very cool project.

I have the following config:
image

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.

image

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.