A very, very quickly thrown together tool for generating a network graph of the tags in a TagStudio library.
I didn't exactly intend for this to be public or used by anyone other than me, so be warned, this isn't very good. I may update it in the future, but don't count on it.
- An IDE, such as Visual Studio Code
- Bun
- First, you'll need to
git clonethe repo to your local hard drive and open it in your IDE. - Create a
.envfile in the project root, and put inDATABASE_PATH = "<the path to your ts_library.sqlite file>". - Run
bun run toJSON, which creates adata.jsonfile containing all of the node and edge data needed for the network graph.- You can also run
bun run toText, which creates atags.mdfile containing a list of every tag in your library, all of their aliases, and all of their parents. This isn't related to the network graph, but exists regardless.
- You can also run
- Open
index.htmlin a web server (Live Server is useful for this) and look at your mess of a tag map!
