Publish a plugin

Plugins add features to Meshloom: bots, alerts, integrations. The plugin Store comes with Meshloom 5.0.0, which is not released yet (no date announced). This page describes what exists today so that you can start writing plugins now. The authoritative documents live in the two GitHub repositories linked below; if this page and them disagree, they win.

The flow in six steps

  1. Template. A starter template is not available yet. Until it is, start from the developer guide and the example plugin in the Meshloom repository (links below).
  2. Harness. The development harness runs from a Meshloom checkout: python -m meshloom_plugin.dev check <folder> validates the package and does a dry run, run --replay plays a fixture of events against your plugin and prints every call it makes, pack builds a reproducible plugin.zip with its SHA-256. The harness runs without OS isolation: it is a development tool, not a security test.
  3. Release. Publish a GitHub release in your own repository. It carries manifest.json, plugin.zip and plugin.zip.sha256. Never replace an asset of a published release.
  4. Pull request. To be listed in the reviewed catalogue, open a pull request on TwinRocket/meshloom-plugins that adds or completes plugins/<id>.yaml (repository, tag, SHA-256) and tick every box of the submission declaration in the pull request template.
  5. Review. An automatic check validates the entry, downloads the archive, checks the SHA-256, the manifest against the plugin contract, the licence, the name and the links, then runs the plugin once in a sandbox without network. A maintainer then reads every pull request.
  6. Publish. Once the pull request is merged, your release is recorded in the catalogue. The signed index that Meshloom will read, and the Store listing built from it, are not built yet: do not expect your plugin to show up in the Store because it is in the catalogue.

You do not have to wait for any of this to share a plugin: see the next section.

Share it today: a custom repository

Meshloom 5.0.0 lets an administrator add a GitHub repository (owner/name) as a custom repository. Meshloom reads its latest release and offers the plugin for installation. This is the route that works without any review. The plugin is shown as unsigned, the archive is only checked against the SHA-256 published next to it, and there is no online revocation: the administrator who adds the repository takes responsibility for it.

Trust tiers

Tier What it means
Bundled (meshloom.*) Ships with Meshloom, written by the project.
Reviewed Listed in the catalogue after the automatic checks and a maintainer's review. The signed index is not built yet.
Custom Any GitHub repository added by an administrator. Unsigned, not reviewed.

What the review covers, and what it does not

It covers the format of the package, the manifest, the declared permissions (a plugin that reads direct messages or every channel and also uses network access gets a closer look), the licence, the name and links, and what the code does on a dry run. A green check does not mean acceptance, and acceptance is not a guarantee: the review is not a security audit, it does not promise that a plugin is free of bugs or will keep behaving the same in later releases. Where the platform allows it (bubblewrap on the Linux package, a dedicated account in Docker and the Home Assistant add-on), the operating system isolates each plugin from Meshloom; otherwise Meshloom runs it at a weaker "hooks only" level, which is not a promise of isolation, and says so in its log and in /api/health.

Withdrawal and reports

To withdraw your plugin or one of its versions, open a pull request or the "Request takedown" issue on the catalogue repository. The catalogue operator lists revoked versions, and a revocation is never lifted by a pull request. The operator may revoke a plugin first and investigate afterwards when users are at risk. To report a plugin (security, privacy, licence, misleading content), open a "Report a plugin" issue; for anything sensitive, use the contact on the legal notice instead of a public issue.

Links