#gw2 #guild-wars-2 #format #chatcode

bin+lib chatr

A tool/lib to process and convert Guild Wars 2 build chat codes into other formats

7 releases

0.6.7 Apr 3, 2024
0.6.6 Apr 2, 2024
0.6.4 Mar 22, 2024

#1136 in Command line utilities

Download history 291/week @ 2024-03-15 127/week @ 2024-03-22 374/week @ 2024-03-29 73/week @ 2024-04-05 10/week @ 2024-04-12

719 downloads per month

MIT/Apache

34KB
541 lines

chatr

A commandline tool to transform GW2 Template Codes into AW2 Markup.

Example:

chatr DQMGKiYaHT4oAQAAkwEAAI4BAAAiAQAAiQEAAAAAAAAAAAAAAAAAAAAAAAA=

OR

chatr "[&DQMGKiYaHT4oAQAAkwEAAI4BAAAiAQAAiQEAAAAAAAAAAAAAAAAAAAAAAAA=]"

Output:

`[&DQMGKiYaHT4oAQAAkwEAAI4BAAAiAQAAiQEAAAAAAAAAAAAAAAAAAAAAAAA=]`

---

<div
  data-armory-embed='skills'
  data-armory-ids='5857,5927,5912,5836,5868'
>
</div>
<div
  data-armory-embed='specializations'
  data-armory-ids='6,38,29'
  data-armory-6-traits='525,1892,505'
  data-armory-38-traits='1930,2006,510'
  data-armory-29-traits='509,470,1854'
>
</div>

Suitable for copy-pasting into a build webpage, or using with vim read!

Installation

  1. Download the latest release
  2. Unzip chatr.exe and place it somewhere convenient (in your path, probably)
    • Note that chatr is not a signed executable so windows might complain. Read the source and compile it yourself if you're worried.

Dev Setup (on fresh machine)

The following instructions are only required if you wish to build chatr from source. If you're just downloading the release, this is not required. Chatr just needs to be your PATH or current directory (for windows)

Windows 10/11 (winget):

winget install --id Git.Git
winget install --id GitHub.cli
gh repo clone berdandy/chatr
cd chatr; cargo build

I like winget for a solid pre-installed package manager on Windows 11. See here for more info on earlier versions. Or simply install Git & GitHub CLI using a different method

mac

brew install git gh
gh repo clone berdandy/chatr
cd chatr; cargo build

linux

  • install git, gh, rust (TODO: specific commands)
  • And then...
gh repo clone berdandy/chatr
cd chatr; cargo build

Dependencies

~6–18MB
~292K SLoC