Skip to content

TrigamDev/TagStudio-Tag-Map

Repository files navigation

Tag Map

A very, very quickly thrown together tool for generating a network graph of the tags in a TagStudio library.

Example Tag Map

Warning

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.

Usage

Prerequisites

Actually using the thing

  • First, you'll need to git clone the repo to your local hard drive and open it in your IDE.
  • Create a .env file in the project root, and put in DATABASE_PATH = "<the path to your ts_library.sqlite file>".
  • Run bun run toJSON, which creates a data.json file containing all of the node and edge data needed for the network graph.
    • You can also run bun run toText, which creates a tags.md file 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.
  • Open index.html in a web server (Live Server is useful for this) and look at your mess of a tag map!

About

A very, very quickly thrown together tool for generating a network graph of the tags in a TagStudio library.

Topics

Resources

Stars

Watchers

Forks