MoXcz/pokedexcli

REPL interface for the PokéAPI in Go and TypeScript

★ 0Forks 0GoGitHub ↗Compare
gotypescript

README

Pokedexcli

A REPL interface for the PokéAPI that lets you explore locations, catch Pokémon, and build your collection with built-in caching.

Overview

This project contains two implementations of the same Pokedex CLI application, one in Go (/go) and another one in TypeScript (/ts).

Both versions provide:

  • Explore Pokémon locations and areas
  • Catch Pokémon with a chance-based mechanic
  • Inspect caught Pokémon details
  • View your Pokédex collection
  • Location area pagination (map/mapb commands)
  • Command history tracking

Quick Start

Go Version

See the detailed instructions in go/README.md:

go install github.com/MoXcz/pokedexcli@latest
pokedexcli

TypeScript Version

See the detailed instructions in ts/README.md:

cd ts
npm install
npm run build
npm start

Project Structure

.
├── go/          # Go implementation
│   ├── main.go  # Entry point
│   ├── *.go
│   └── README.md
└── ts/          # TypeScript implementation
    ├── src/     # Source files
    └── README.md

Contributors

MoXcz

Issues