Topic: e621 Tag Editor Plus - web browser tool for faster and easier tag edits

Posted under e621 Tools and Applications

e621 Tag Editor Plus

Official site

I found tag editing on e621 to be a pain (you have to memorize the correct tags, when to use them, watch out for typos...), so I decided to create a web browser tool that hopefully makes it easier and faster to do.

Watch it in action

In a hurry? Here's a short GIF illustrating what the tag editor can do:

https://gfycat.com/UltimateOffensiveClam

Features

  • Tag autocompletion
    • As you type, the editor will suggest different tags. For example, you can write pokmorph and it will suggest pokémorph, or closed and it will suggest a bunch of tags with the word closed in them.
  • Wiki snippets
    • The editor will automatically display wiki pages alongside the tags. Makes it easy to check if the tag you're adding is a good fit.
  • Typo detection
    • The editor will warn you if you're adding a tag it doesn't recognize but it will still give you the option to add it if you're sure.
  • Keyboard friendly
    • You can add, remove and save changes to your tags using only the keyboard.
  • Open source
    • The code is freely available under UNLICENSE so do whatever you want with it. It might be a bit messy though.

Installation

The website has the instructions on installing the user script. But in short, you need a web browser extension with support for user scripts, such as Tampermonkey or Greasemonkey.

Notes and drawbacks

  • Memory usage
    • The script uses snapshots of e621 tags and wiki pages to provide tag autocompletion and wiki snippets. This consumes some memory, which will be a lot worse if the tag editor can't use local storage due to incognito/private browsing mode; see more below. Keep this in mind if you tend to leave a lot of tabs open.
  • Performance
    • Tag autocompletion can be resource intensive on low-end computers.
  • Note about incognito mode
    • This user script does work with incognito/private browsing mode, but it will consume noticeably more memory and disable some minor features if it can't store and index tag and wiki data. This problem seems to be limited to Firefox at the moment.
  • Crashes on Firefox
    • This might be something related to my environment, but the user script crashes very often on Firefox. If this is happening to you, I'd suggest using a different browser for now.
  • Tag and wiki data
    • e621 Tag Editor Plus only suggests a limited number of tags on e621 (roughly 94,000 out of 560,000 in total) with the aim of keeping the resource usage in check and avoiding bogus tags (eg. typos, extremely specific tags not really used by anyone). The following tags have been included for now:
      • artist, copyright, character and species tags that have been used at least four times
      • general tags that have been used at least 40 times

Issues

If you have any issues, suggestions or questions not listed here or on the web site, feel free to reply here.

Donations

Finally, if you find this tool useful and want to donate, you can send me some bitcoins to 1HN8oqemzQfTdix9f5jFUM628MF2fAZgLz

Updated by Bara-King

Wow, this is the kind of functionality that should be included in the website by default. This is much more user friendly than the tag box we have. +1 to you my friend.

Updated by anonymous

@RackTracker This sounds like a great tool in theory OP, but it is not working for me. I have tampermonkey installed and use other site scripts just fine and with no problem, but this one just doesn't seem to be functioning. I looked at the code in the editor, and saw a bunch of "$ is not defined" errors showing up. So yeah, just a heads up that it doesn't seem to be functioning, at least just for me.

Updated by anonymous

DiceLovesBeingBlown said:
@RackTracker This sounds like a great tool in theory OP, but it is not working for me. I have tampermonkey installed and use other site scripts just fine and with no problem, but this one just doesn't seem to be functioning. I looked at the code in the editor, and saw a bunch of "$ is not defined" errors showing up. So yeah, just a heads up that it doesn't seem to be functioning, at least just for me.

I pushed a small update to the script in version 0.1.2 that should hopefully fix this issue.

If it doesn't fix the issue:

What other user scripts do you have installed? One of them could be conflicting with the script somehow.

Also, try checking the following, just in case:

  • Open the list of installed user scripts by clicking the Tampermonkey icon and selecting Dashboard.
  • e621 Tag Editor Plus should be listed, and one of the columns should have a cloud icon; click it. This should open a tab called Externals.
  • There should be a category called Requires with a bunch of resources. Try finding one with the URL https://code.jquery.com/jquery-3.3.1.min.js[/b]
  • If you can find it, all's well. If not, the installation must have failed somehow, so please try removing it and installing it again if that's the case.

Updated by anonymous

I released 0.2 of the tag editor with the following new features:

  • Questions
    • You can fill the tags for the post by answering questions about the post's content. For example, the tag editor will start with the question "how many characters in scene?", and then continue by asking more detailed questions if there are characters in the scene (eg. "what species?" -> "what species of dog?")
    • You can hide the questions if you like to enter all of the tags manually or vice versa.
  • Wiki popups
    • You can open wiki pages in draggable popups without leaving the tag editor. The popups also have the same content as the actual wiki pages, including working links and thumbnails.

The question feature is still work-in-progress and will likely be for a long time, but it should help catch the most common tags and then some.

Updated by anonymous

@RackTracker It seems that there is an exception when trying to tag a post that has no artist tagged. Any post with no artist bricks the script, but if there is an artist tagged, it works fine.

Updated by anonymous

  • 1