Git Product home page Git Product logo

repokemon's Introduction

Repokémon

Showcase of GitHub repos with Pokémon names.

👉👉👉 Read Story: Building Repokémon 👈👈👈

Screenshot

How?

  1. Scrape a list of all pokémons.
  2. Use GitHub API and search for every pokémon name.
  3. Get a matching repository name with highest number of stars.
  4. 💥💥💥

Criteria

The showcase only list repositories with these criteria:

  • Repository name matches exactly the same as Pokémon name.
    • name/pikachu
    • name/mr-mime
    • name/mr_mime
    • ⛔️ name/pikachu-awesome
    • ⛔️ name/pikachuuuu
  • Most stars. If there are few repositories with the same name, the one with most stars will be listed.
  • Contains description, because... it has to be descriptive.
  • Contains lang, the repository language determined by GitHub.

Dev

  • npm i - install dependencies
  • npm run pokemon - grab the pokémons
  • npm run repokemon - grab the Github repos
    • Copy example.env to .env, configure it with Client ID and Client Secret from GitHub
    • Takes about 30 minutes to prevent API rate limit issues
  • npm run gemoji - replace emoji names like :smile: to 😄
  • npm run min-repokemon - generate a minified version of data/repokemon.json, containing only the data that is rendered
  • npm run stats - show stats of the collected data
  • npm run images - download all pokémon images to data/images (not included in this repo)
  • npm run sprite - generate a sprite image data/pokemon-*.jpg (compressed with TinyJPG API)
  • npm run css-min - compress pokemon.css to smaller pokemon.min.css
  • npm start - start a local server at localhost:1337

Credits

Pokémon data and images are extracted from the official Pokédex web site. All Pokémon content is © Nintendo, Game Freak, and The Pokémon Company.

Repokémon is not affiliated with GitHub, Nintendo, Game Freak, or The Pokémon Company in any way.

The logo uses the Pokémon font.

The (Poké Ball) logo is created by @limhenry. Available on Codepen.

repokemon's People

Contributors

cheeaun avatar its-just-nans avatar juanitofatas avatar limhenry 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  avatar  avatar  avatar  avatar

repokemon's Issues

Fix search

GitHub seems to have switch to a new search.

  • May need to add fork:false (docs)
  • May need to add archived:false (docs)
  • Must add in:name (docs)

Use case: durant got removed in latest commit 5a4601c but it seems still legit, just that search doesn't return on first page(?). Having in:name makes it better in the search.

The mid-January Action failed

Thank you for this project, @cheeaun. In case you hadn't spotted it yet, the last execution of the GitHub Action failed, so the latest data is from 1 Jan 2023 rather than from two weeks ago. I assume this may impact the scheduled Action for 1 Feb in a couple of days as well. 👀

Sort by stars

Thank you for making amazing repository. Can you make a functionality to sort the repositories(pokemons) by their stars?

Others languages

Hello,

What about pokemon names in others languages ?

Like

imgs/
  pokemon-1.jpg
  pokemon-2.jpg
  pokemon-3.jpg
  pokemon-4.jpg
  pokemon-5.jpg
  pokemon-6.jpg
  pokemon-7.jpg
  pokemon-8.jpg
  pokemon-9.jpg
langs/
   en/
        - pokemon-list.json
        - repokemon.json
   es/
         - pokemon-list.json
        - repokemon.json
   fr/
   ...

Then in the website a selector for langs

Add Meltan and Melmetal?

Hello!

     Sorry if you're already doing this, but I was wondering whether it would be possible to add Meltan and Melmetal to the database, if new Pokemon are not automatically added?

     Thank you kindly for your consideration, and apologies if this already happens!

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.