Skip to content

📟 Simple neofetch-like command line tool for displaying Guild Wars 2 stats by using the official GW2 API.

License

Notifications You must be signed in to change notification settings

philipp-meier/gw2-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gw2-cli

Build MIT License

Simple neofetch-like command line tool for displaying Guild Wars 2 stats by using the official API.

Preview

Note: This is a learning project I set up to familiarize myself with Rust, since I did not have any prior experience with this tech stack. Feel free to contribute to this project.

Usage

Set your GW2 API-key to an environment variable named Gw2Cli_ApiKey. After that, gw2-cli can be used as described below:

Usage: gw2cli [OPTIONS] [COMMAND]

Commands:
  characters  Character information
  help        Print this message or the help of the given subcommand(s)

Options:
  -l, --lang <LANG>  [default: en]
  -h, --help         Print help information

List characters

gw2cli characters list

List characters with age (oldest first)

gw2cli characters list age

This prints each character along with their formatted age (same format as in characters <name>), ordered from oldest to youngest.

Character details

gw2cli characters <character_name> 

Preview

Development

Performance tests

# sudo apt install linux-tools-generic

# Stats
perf stat -r 10 ./target/release/gw2cli
# List characters
perf stat -r 10 ./target/release/gw2cli characters list

Linter

cargo clippy

Further ideas / goals

  • Localizing static texts
  • Achievement points (APs)
  • Hall of Monuments points
  • In-game currency to collect on the TP
  • Number of unlocked character slots
  • Available content (PoF, HoT,..)
  • Different views (PvP, WvW, Rewards...) using clap arguments
  • Character with the most playtime (incl. profession and specialization)
  • Different ascii logos based on the main character or other statistics

About

📟 Simple neofetch-like command line tool for displaying Guild Wars 2 stats by using the official GW2 API.

Topics

Resources

License

Stars

Watchers

Forks