Skip to content
/ chatr Public

Transform GW2 Template Codes into something else

License

Notifications You must be signed in to change notification settings

berdandy/chatr

Repository files navigation

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