Pokédex in your terminal, thanks to Rust

Related tags

mon
Overview

mon - a command line Pokédex

Uses art from pokemon-colorscripts and Pokémon data from PokéAPI.


Building

Rust up!

Tested on:

> rustc --version
rustc 1.55.0 (c8dfcfe04 2021-09-06)

A simple cargo build --release should be enough.


Usage

For Pokémon with special characters like -, :, . or spaces replace them with -

mon [name/ID] - gives you the data for specified Pokémon
mon - gives you a random Pokémon


Goals

  • Mythic and Legendary Pokémon name highlighting
  • Imperial units (-m, -i? config file?)

Issues
  • Freezing pokemon-colorscripts source repo at a known commit

    Freezing pokemon-colorscripts source repo at a known commit

    Hey,

    Creator of pokemon-colorscripts here. I love this program you've made.

    As of now it seems like you are sourcing the colorscript files from the main branch of the gitlab repo for pokemon-colorscripts. So I believe any changes to the files in the main branch could break your script (for example ,I was considering compressing the text files in the source repo so that the files have a lower download size. If I do that, the .txt files being sourced in the script right now will not exist on the latest version on the main branch anymore, which could break the program) .

    So may I suggest sourcing the files from a known commit of the source repo so as to be robust to future changes to the source?

    enhancement 
    opened by Adithyan-KV 5
  • Freezing colorscripts at certain commit of source repo

    Freezing colorscripts at certain commit of source repo

    closes #1 -The pokemon-colorscripts source repo url was frozen at a fixed commit so that future changes to the source repo donot break the script.

    opened by Adithyan-KV 1
  • `mon` by itself no longer picks a random Pokemon

    `mon` by itself no longer picks a random Pokemon

    As of the latest update (0.3.0), mon by itself no longer picks a random Pokemon and appears to do nothing. However, specifying one still works. I've also noticed the string that appears above the expected result.

    See the screenshot below. image

    bug 
    opened by Maverick0089 1
  • Unused Borrow

    Unused Borrow

    When trying to build the following warning is generated:

    warning: unused borrow that must be used --> src/main.rs:30:9 | 30 | &args.push(rand::thread_rng().gen_range(0..899).to_string()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(unused_must_use)] on by default

    warning: mon (bin "mon") generated 1 warning

    bug 
    opened by CreedVI 0
  • Suggestion - Imperial units

    Suggestion - Imperial units

    Title says it all.

    I'm enjoying this project so far! I have a suggestion -- I'd like to see an option where a Pokemon's height and weight can be displayed in imperial units (so feet, inches, and pounds).

    enhancement 
    opened by Maverick0089 1
Releases(v0.3.1)
Owner
Damian
Damian
A Rust library for building interactive prompts

inquire is a library for building interactive prompts on terminals. Demo Source Usage Put this line in your Cargo.toml, under [dependencies]. inquire

Mikael Mello 62 Sep 17, 2021
A library that creates a terminal-like window with feature-packed drawing of text and easy input handling. MIRROR.

BearLibTerminal provides a pseudoterminal window with a grid of character cells and a simple yet powerful API for flexible textual output and uncompli

Tommy Ettinger 31 Sep 5, 2021
Cross-platform Rust library for coloring and formatting terminal output

Coloring terminal output Documentation term-painter is a cross-platform (i.e. also non-ANSI terminals) Rust library for coloring and formatting termin

Lukas Kalbertodt 68 Jul 3, 2021
Alacritty - A fast, cross-platform, OpenGL terminal emulator

Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.

Alacritty 34.7k Sep 14, 2021
A cat(1) clone with syntax highlighting and Git integration.

A cat(1) clone with syntax highlighting and Git integration. Key Features • How To Use • Installation • Customization • Project goals, alternatives [中

David Peter 29.4k Sep 15, 2021
Cross platform terminal library rust

Cross-platform Terminal Manipulation Library Crossterm is a pure-rust, terminal manipulation library that makes it possible to write cross-platform te

crossterm-rs 1.3k Sep 17, 2021
A cross-platform graphical process/system monitor with a customizable interface and a multitude of features

A cross-platform graphical process/system monitor with a customizable interface and a multitude of features. Supports Linux, macOS, and Windows. Inspired by both gtop and gotop.

Clement Tsang 2.8k Sep 12, 2021
A curated list of replacements for existing software written in Rust

Awesome Alternatives in Rust A curated list of replacements for existing software written in Rust. If you want to contribute, please read CONTRIBUTING

Takayuki Maeda 1.9k Sep 9, 2021
Build terminal dashboards using ascii/ansi art and javascript

blessed-contrib Build dashboards (or any other application) using ascii/ansi art and javascript. Friendly to terminals, ssh and developers.

Yaron Naveh 14.5k Sep 10, 2021
A Text User Interface library for the Rust programming language

Cursive Cursive is a TUI (Text User Interface) library for rust. It uses ncurses by default, but other backends are available. It allows you to build

Alexandre Bury 2.5k Sep 13, 2021
A full featured, fast Command Line Argument Parser for Rust

clap Command Line Argument Parser for Rust It is a simple-to-use, efficient, and full-featured library for parsing command line arguments and subcomma

null 6.6k Sep 16, 2021
A CLI utility installed as "ansi" to quickly get ANSI escape sequences. Supports the most basic ones, like colors and styles as bold or italic.

'ansi' - a CLI utility to quickly get ANSI escape codes This Rust project called ansi-escape-sequences-cli provides an executable called ansi which ca

Philipp Schuster 4 Jul 6, 2021
Low-level Rust library for implementing terminal command line interface, like in embedded systems.

Terminal CLI Need to build an interactive command prompt, with commands, properties and with full autocomplete? This is for you. Example, output only

HashMismatch 40 Jul 4, 2021
(Rust) Coloring terminal so simple you already know how to do it !

Colored Coloring terminal so simple, you already know how to do it! "this is blue".blue(); "this is red".red(); "this is red on blue".red(

Thomas Wickham 830 Sep 18, 2021
yayagram - Play nonograms/picross in your terminal

yayagram is a puzzle game in which you fill out a grid with cells based on logic and number clues.

r00ster 29 Aug 21, 2021
Readline Implementation in Rust

RustyLine Readline implementation in Rust that is based on Antirez' Linenoise Supported Platforms Unix (tested on FreeBSD, Linux and macOS) Windows cm

Katsu Kawakami 820 Sep 13, 2021
Build terminal user interfaces and dashboards using Rust

tui-rs tui-rs is a Rust library to build rich terminal user interfaces and dashboards. It is heavily inspired by the Javascript library blessed-contri

Florian Dehau 5.6k Sep 11, 2021
A template for bootstrapping a Rust TUI application with tui-rs & crossterm

rust-tui-template A template for bootstrapping a Rust TUI application with tui-rs & crossterm. tui-rs The library is based on the principle of immedia

Orhun Parmaksız 25 Sep 10, 2021
A Rust curses library, supports Unix platforms and Windows

pancurses pancurses is a curses library for Rust that supports both Linux and Windows by abstracting away the backend that it uses (ncurses-rs and pdc

Ilkka Halila 310 Aug 31, 2021