Skip to content

Provides type calculations (to determine strengths and weaknesses), a Pokédex (for searching and viewing Pokémon details), and more.

License

Notifications You must be signed in to change notification settings

XuHaoJun/pokemon-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Calc

Live Demo => xuhaojun.github.io/pokemon-calc

Welcome to Pokemon Calc! This project is an open-source web application that provides type calculations (to determine strengths and weaknesses), a Pokédex (for searching and viewing Pokémon details), and more. The source code is available on GitHub for anyone to contribute to or modify.

Pokédex data is from PokéAPI.

Inspired by Pokemon Types with Heat Map, Pokémon Type Calculator, TradingView Stock Heatmap, poe.ninja.

Features

  • Type Calculations: Determine the strengths and weaknesses of Pokémon types against each other.
  • Pokédex: Search for Pokémon and view detailed information about them, including stats, abilities, evolutions, and more.
  • Responsive Design: Optimized for both desktop and mobile devices.
  • Multilingual: en, zh-Hant, zh-Hans, ja, ko

Technologies Used

nodejs, static website

Setup Next.js SSG work with Github page,actions by gregrickaby/nextjs-github-pages

Development

  • nodejs: 20(lts/iron)
  • pnpm: 9
pnpm install
## next.js dev
npm run dev
## open http://localhost:3000/pokemon-calc

Update pokemon data:

node download-pokemon-data.js

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature-name
  3. Make your changes.

  4. Commit your changes:

    git commit -m 'Add some feature'
  5. Push to the branch:

    git push origin feature/your-feature-name
  6. Create a Pull Request.

Adding Locales

To add translations:

  1. Navigate to the src/locales/ directory.
  2. Add or update the .po files for the language you are contributing to.
  3. Follow the standard steps above to commit and push your changes.

Please make sure to update tests as appropriate.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions, feel free to reach out:

About

Provides type calculations (to determine strengths and weaknesses), a Pokédex (for searching and viewing Pokémon details), and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages