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
164 downloads per month
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
- Download the latest release
- 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 is available pre-installed on Windows 11.
- Install windows build tools. Rustup will give more details, but c++ win10 sdk required.
- Install Rustup
- And then...
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
- install brew
- And then...
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