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.
ELIXCORD — PLUGIN REGISTRY
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.
Five hooks and five calls, and nothing else gets in. Everything below is one plugin's reach, in full.
A hook over every message you send — return {content} with what
to send instead, or false to stop it. Edits pass through too.
Rewrite or hide what arrives, before the timeline sees it. Only the open room's messages reach it — what the window could show.
/roll 20 in the composer runs in the client and sends what
run(args, ctx) answers with. They show in the / picker.
Declare a schema; the Plugins page renders it, keeps it, and the plugin
reads it with elixcord.settings.get.
A promise-based fetch, at most 10 MiB an answer — and it goes nowhere unless you turned Allow network access on for that plugin.
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.
Settings → Plugins → “Open plugins folder” — or find the data folder's
plugins/ yourself
(%LOCALAPPDATA%\Elixcord\Elixcord\data\plugins on Windows).
One .js per plugin — from a plugin page here, or from anywhere
you trust enough to run on your machine.
“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.
require, no timers, no
filesystem, no XMLHttpRequest.100 ms or it's stopped, and its
plugin switches off with the error it left.32 MiB — a plugin that grows
without end grows no further.net.fetch, and only where you let it,
per plugin, with a toggle.~30 MB.