GGn Upload Templator

Auto-fill upload forms using torrent file data with configurable templates

लेखक
leveldesigner
दैनिक इंस्टॉल
0
एकूण इंस्टॉल
2
रेटिंग
0 0 0
आवृत्ती
0.9
बनवली
2025-09-27
अपडेट केली
2025-10-01
आकार
134 KB
License
Unlicense
यांवर लागू होते:

GGn Upload Templator (GUT)

The source code is available on Github

Install the userscript from Greasy Fork.

Changelog

v0.9

  • Add Mask Sandbox for testing masks against multiple sample names

v0.8

  • Add optional variables with {? ... ?} syntax for flexible filename matching
  • Remove greedy matching setting (now uses smart non-greedy parsing by default)

v0.7

  • Add mask validation and highlighting with helpful messages
  • Fix: No longer inserts ${varname} in fields if ${varname} is empty/not found

v0.6

  • Added support for variables defined in the comment field of a torrent file. These are extracted as ${_foo}, ${_bar}, starting with an underscore. Mask variables cannot be defined with an underscore in the beginnig of their name. The format for variables in the comment field is this:
foo=wowie;bar=fancy;
  • Show variable count under the template selector. Clicking it shows a modal with all variables and their values.

v0.5.1

  • Fix: Use textarea for textarea fields instead of text input, respect newlines.

v0.5

  • BREAKING CHANGE: Templates are no longer auto-applied when a file is selected. You have to either press the new Apply Template button or use the default keybinding: Ctrl+Shift+A
  • You can now customize keybindings for Form submission and Apply Template in the settings

v0.4.1: Mocha Special

  • Going forward, posting the unminified version of the userscript

v0.4

  • Added support for choosing select field values based on extracted variables

v0.3

  • Added support for extra custom fields to be included in the template (e.g: GGn Infobox Builder)

v0.2

  • Changed variable format from {var} to ${var}
  • Added support to escape special characters, e.g: \$ { }
  • Added section to show list of extracted variables
  • Add edit shortcut for selected template

v0.1

Initial version