Elixcord plugins

ELIXCORD — PLUGIN REGISTRY

One file.
Every hook.

Elixcord renders a native Discord window in about 30 MB. Its plugins are single JavaScript files that transform messages, add chat commands and keep their own settings — on an engine capped at 100 ms and 32 MiB, so nothing you install can hold the app still.

0file per plugin
0mshook deadline
0MiBmemory cap
0chromium shipped
elixcord — plugins folder
01

What they do

Five hooks and five calls, and nothing else gets in. Everything below is one plugin's reach, in full.

transformOutgoing

Say what goes out

A hook over every message you send — return {content} with what to send instead, or false to stop it. Edits pass through too.

transformIncoming

Say what comes in

Rewrite or hide what arrives, before the timeline sees it. Only the open room's messages reach it — what the window could show.

commands

Chat commands

/roll 20 in the composer runs in the client and sends what run(args, ctx) answers with. They show in the / picker.

settings

Their own settings

Declare a schema; the Plugins page renders it, keeps it, and the plugin reads it with elixcord.settings.get.

net.fetch

The web, only where you allow it

A promise-based fetch, at most 10 MiB an answer — and it goes nowhere unless you turned Allow network access on for that plugin.

updates

Updates that install themselves

This site is the registry: every plugin with its version and SHA-256. The client checks it — at start, or when asked — downloads what's newer, and writes a file only where its hash answers. Then it runs, on, with no one touching anything.

02

Install in three moves

  1. 1
    Open the folder

    Settings → Plugins → “Open plugins folder” — or find the data folder's plugins/ yourself (%LOCALAPPDATA%\Elixcord\Elixcord\data\plugins on Windows).

  2. 2
    Drop one file in

    One .js per plugin — from a plugin page here, or from anywhere you trust enough to run on your machine.

  3. 3
    Switch it on

    “Reload plugins”, then flip its switch. It starts; its commands show in the composer; the registry keeps it current from then on.

A registry is a site's address whose plugins/index.json lists plugins. This one is https://elixcord-plugins.pages.dev — set it in Settings → Plugins, and the check runs by itself.

03

Safety, by construction