GGn Upload Templator

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

Autor
leveldesigner
Instalaciones diarias
0
Instalaciones totales
2
Calificaciones
0 0 0
Versión
0.9
Creado
27/9/2025
Actualizado
1/10/2025
Tamaño
134 KB
Licencia
Unlicense
Funciona en

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