How to install a plugin
From Administration (Squorli Server 0.15.0 and later): under Administration > Plugins an owner opens the catalogue, searches for the plugin and chooses “Install”. For that your server fetches the list and the signed file from GitHub, checks signature and checksum and installs the plugin switched off. It does so only when somebody opens the catalogue; the operator can switch it off altogether with PLUGIN_CATALOG=false. By hand it goes like this:
- Download the file. It ends in .js or .ts; change nothing in it, or its signature no longer holds.
- As an owner, open your server’s Administration, then Plugins, and choose “Upload a file …”. The operator can do the same on the server’s machine with the command squorli:Terminal
# On the server's machine (Windows: without sudo, as administrator) sudo squorli plugin add game-news.ts - A new plugin is switched off. When you enable it, your server lists what it may do afterwards and names the addresses it fetches from. Read the list, and confirm it only then.
- In the plugin’s settings, pick the channels and roles it may touch. It reaches no others.
Your server checks the signature itself, at installation and at every start; it asks nobody for that. It does not install a file that was changed after it was signed. In Administration a signed plugin carries its mark. Plugins in the administration guide
What the marks mean
- From Squorli. Squorli wrote the plugin itself.
- Reviewed by Squorli. The plugin is somebody else’s. Somebody at Squorli read exactly this version before it was signed: which addresses it fetches from and what for, and what it does with what it learns on a server.
A signature is no promise that a plugin is free of faults, and no warranty; a plugin’s author stays responsible for it. What it may do is your decision when you enable it. When a signed plugin turns out to do harm, Squorli takes the signature back and removes it from this catalogue; your server learns of that with its next update and then suspends the plugin. Until then it keeps running.
For authors
You wrote a plugin and would like it signed? Plugins are submitted as a pull request to the repository squorli-plugins. What belongs to a submission and what is looked at is in the guide for plugin authors.