Showcase of GitHub repos with Pokémon names.
- Scrape a list of all pokémons.
- Use GitHub API and search for every pokémon name.
- Get a matching repository name with highest number of stars.
- 💥💥💥
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.
npm i
- install dependenciesnpm run pokemon
- grab the pokémonsnpm run repokemon
- grab the Github repos- Copy
config.sample.json
toconfig.json
, configure it withclient_id
andclient_secret
from GitHub - Takes about 30 minutes to prevent API rate limit issues
- Copy
npm run min-repokemon
- generate a minified version ofdata/repokemon.json
, containing only the data that is renderednpm run stats
- show stats of the collected datanpm run images
- download all pokémon images todata/images
(not included in this repo)npm run sprite
- generate a sprite imagedata/pokemon-*.png
(not included in this repo), which I manually convert todata/pokemon-*.jpg
npm run css-min
- compresspokemon.css
to smallerpokemon.min.css
npm run server
- start a local server atlocalhost:1337
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.