Git Product home page Git Product logo

pokemonshow's Introduction

pokemonshow

Shows a (random) Pokémon in your terminal!

Installation

npm i -g pokemonshow

Demo

Usage

  Shows a (random) Pokémon in your terminal!

  Usage
    $ pokemonshow <nameOrNumber>

  Options
     --xterm, -x  Outputs xterm instead of image in iTerm2.app
     --say Announces the name of the Pokémon
     --shiny Chooses the shiny sprite of the Pokémon (if available)
     --female Chooses the female sprite of the Pokémon (if available)
     --form Chooses a specific form of the Pokémon (if available)
     --gen8 Chooses the gen8 sprite of the Pokémon (if available)
     --list Lists all the available Pokémon
     --list-forms Lists all Pokémon with special forms
     --verbose, -v Outputs logs about the chosen Pokémon

   Examples
     $ pokemonshow
     $ pokemonshow rotom
     $ pokemonshow pikachu --form="gmax"
     $ pokemonshow porygon --shiny
     $ pokemonshow raichu --gen8 -x

Background

All the data is based on the pokesprite project. You might want to look at this page to see the full list of Pokémon available.

Limitations

  • The small images are only displayed on iTerm2 >= 3.x (using term-img). All other terminals will default to the xterm files.

Notice

Please notice I don't own Pokémon or anything related to it. Pokémon is property of The Pokémon Company.

Contributing

You will need:

  • NodeJS 12.x or newer
  • npm

If you need to update the images and xterm files, you will need:

  • ImageMagick
  • img2xterm (this needs to be compiled from source)

Then run

npm run scrape && npm run make-xterm

pokemonshow's People

Contributors

dependabot[bot] avatar eramdam 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

Watchers

 avatar  avatar

Forkers

kkpan11

pokemonshow's Issues

no pokemon on random

im not quite sure if this has something to do with the program or something else.
im on artix linux with runit and whenever i run 'pokemonshow' nothing shows up.
it DOES give me a pokemon if i run something like 'pokemonshow quagsire' but nothing comes up when i call a random pokemon.
any help is appreciated.

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.