#gw2 #guild-wars-2 #build-tool #command-line-tool #format #chatcode

bin+lib chatr

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

10 releases

0.6.10 Oct 15, 2024
0.6.9 May 18, 2024
0.6.7 Apr 3, 2024
0.6.4 Mar 22, 2024

#1212 in Command line utilities

Download history 5/week @ 2024-07-29 12/week @ 2024-09-23 2/week @ 2024-10-07 147/week @ 2024-10-14 2/week @ 2024-10-21 15/week @ 2024-11-04

164 downloads per month

MIT/Apache

37KB
597 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
~255K SLoC