{
  "url-shortener.tcl": {
    "title": "url-shortener",
    "version": "1.0",
    "desc": "Watches the channel for long links. Any URL of 40 characters or more is shortened through url.thern.io and echoed back together with the page's HTML title, so nobody has to click a mystery link.",
    "requires": "eggdrop 1.8+ · Tcl http + tls",
    "usage": [
      "no chat command — it reacts to URLs posted in the channel",
      "set urlshort::minlen 40                 ;# only shorten links this long",
      "set urlshort::ignorechan {#chan1 #chan2} ;# channels to stay quiet in"
    ],
    "notes": "Shortening goes through https://url.thern.io/api/shorten; titles are fetched with a 8 s timeout, max 3 redirects."
  },
  "adduser.tcl": {
    "title": "adduser",
    "version": "1.0",
    "desc": "Adds eggdrop users straight from IRC. A trusted hostmask can /msg the bot, and the script looks up the nick's host on the channel, creates the user record and gives it the op or voice flag — no partyline session needed.",
    "requires": "eggdrop 1.8+",
    "usage": [
      "/msg <bot> !adduser <name> op            (host taken from the channel)",
      "/msg <bot> !adduser <name> voice",
      "/msg <bot> !adduser <name> *user@*.host op"
    ],
    "notes": "Edit the config block at the top before loading: adduser_owners (hostmasks allowed to run it) and adduser_chan (the channel the flag is set in)."
  },
  "spiffytitles-1.1.tar.gz": {
    "title": "spiffytitles",
    "version": "1.1",
    "sourcefile": "spiffytitles-1.1/spiffytitles.tcl",
    "desc": "URL title snarfer with dedicated handlers for YouTube, imgur and friends. A self-contained Tcl port of the Limnoria SpiffyTitles plugin — JSON parsing, a Jinja2-like template engine and async HTTP are all implemented in the one file.",
    "requires": "eggdrop 1.8+ · Tcl 9 recommended · Tcl tls (Debian: tcl-tls)",
    "usage": [
      ".chanset #channel +spiffytitles          ;# enable per channel",
      "!title <url>   ·   !t <url>",
      ".spiffy help                             ;# partyline commands",
      ".spiffy set youtube.developerKey <key>",
      ".spiffy save                             ;# persist settings"
    ],
    "notes": "Settings are stored in scripts/spiffytitles.conf. Templates and per-channel overrides are documented in the bundled README.md. 1.1: works under Tcl 9, which is what makes emoji in titles come out correctly — Tcl 8.6 cannot represent characters outside the BMP and mangles them into CESU-8."
  }
}
