[Tool] GD Loot CLI

Introducing GitHub - dandels/gdlc: Grim Dawn tool for searching items across characters.

I got annoyed at asking myself “which affixes do I have this MI with” or “where did I put that relic”, so I wrote a command line tool that searches for stuff across your stash(es) and your alts. It lists all items matching your query, and does so quite quickly.
Without a search term it instead lists all your items. The output is in random order but can be piped to sort or a file, like any other command (alphabetic sorting sorts by character name and item location).

Most of you are probably happy using GDStash, but if you want quick results without menus or building a database, maybe this is for you.

The tool won’t eat your data, but I did cut corners with handling possible errors gracefully. The most likely error is that I filtered db entries incorrectly and something should have been included. This might cause a message about missing tags.
Your files are safe though - GDLC makes no writes to disk, and the program is written in Rust without unsafe code.

3 Likes

v0.2.0 release is up on Github, notably featuring color codes for items and affixes.
There’s also a check for the configured installation/save dir existing before running.

Screencap of evoking "time gdlc demonic b", listing multiple matching items and their affixes with colors

Here’s a screenshot of the program with its new colors to save you a click.

1 Like