Publish to the plugin store
Community plugins live in the FluxerDevs/FluxPlugs-Plugins repository. Each merged version is built there, scanned, published as a GitHub release, and listed on the plugin store. Users download the ZIP from the release and import it in Fluxer like any plugin ZIP.
What you submit
Section titled “What you submit”One folder per plugin, named after the manifest’s id:
plugins/<id>/ fluxplug.json the manifest, with the integrity hash of your build store.json store details: owners, summary, license, tags, icon README.md shown on the plugin's store page src/ your TypeScript source icon.png optional: PNG, square, 64 to 512 px CHANGELOG.md optional: one "## <version>" section per releasefluxplug.json is the same manifest as for any plugin (see manifest format). The store shows its name, version, description, author, capabilities and network.
store.json holds what the manifest doesn’t:
{ "schemaVersion": 1, "owners": ["your-github-login"], "summary": "One line for the store card, up to 120 characters.", "repository": "https://github.com/you/your-plugin", "homepage": "https://example.org/your-plugin", "license": "MIT", "tags": ["translation", "privacy"], "icon": "icon.png"}owners: one to five GitHub logins. Only owners, or a maintainer, can change the folder later; the repository’sCODEOWNERSfile is generated from this list.summary: optional. The manifest’sdescriptionis used when it’s missing.repositoryandhomepage: optionalhttpslinks. Withoutrepository, the store links to your folder in FluxPlugs-Plugins.license: an SPDX identifier such asMIT, orUNLICENSED. Required.tags: up to six, in lowercase letters, digits and hyphens.icon: onlyicon.pngis accepted: a square PNG between 64 and 512 pixels, at most 100 KB. It is shown at 40 and 64 CSS pixels, so 128 or more stays sharp on high-density screens; 64 suits pixel art that is meant to look crisp at 1×.
The README is rendered on the store page as GitHub-flavoured Markdown. Raw HTML is removed, relative links and images point at your folder on GitHub, and the file must stay under 32 KB. Write it for users: what the plugin does, how to set it up, and what it sends where.
Reserved ids
Section titled “Reserved ids”An id uses a-z, 0-9, - and _, starts with a letter or digit, and has no dots. The ids of the bundled plugins and a short list of words the website uses (plugins, store, index, docs, develop, about and a few more) are reserved. The full list is reserved-ids.json in the repository, and the check tells you which rule an id broke.
Build with the pinned toolchain
Section titled “Build with the pinned toolchain”toolchain.json in the repository names the FluxPlugs repository (fluxplugs.repository) and the commit (fluxplugs.ref) the workflows build with. They build your plugin with that commit’s @fluxplugs/plugin-tools, and the hash they get must equal the integrity.sha256 you committed. Build with the same version before you open a pull request:
git clone https://github.com/<repository from toolchain.json> fluxplugsgit -C fluxplugs checkout <ref from toolchain.json>pnpm --dir fluxplugs install --frozen-lockfilepnpm --dir fluxplugs --filter @fluxplugs/plugin-tools... buildnode fluxplugs/packages/plugin-tools/cli.mjs build plugins/<id>While FluxPlugs is in its closed beta, that repository is private, so you need to be a beta tester to clone it. build rewrites the hash in fluxplug.json; commit that change. Don’t commit dist/: the workflow builds it again, and that rebuild is what proves the published code matches the source anyone can read.
In this first version a plugin may import only @fluxplugs/plugin-api and its own files. A package.json whose dependencies name anything other than @fluxplugs/* packages is rejected, because nothing installs them before the build.
One pull request per version
Section titled “One pull request per version”Open a pull request that changes one plugin folder. Raise version (semantic versioning, higher than the published one) with every code change. The validate workflow checks that:
- the folder name equals the id, the id isn’t reserved, and the manifest passes the runtime’s schema;
store.jsonis valid and, for a new plugin, you are one of its owners;- the README exists and is within its limit, and the icon, if any, is a square PNG within its limits;
- the source imports only the public SDK and there are no third-party dependencies;
- the rebuilt hash equals the committed
integrity.sha256, and the built file is at most 1 MiB; - the version is higher than the last published one, and its release tag doesn’t exist yet.
A maintainer, or for an update a listed owner, reviews and merges. The pull request template has the checklist.
After the merge
Section titled “After the merge”The publish workflow runs on main:
- It builds the plugin again, checks the hash, and packs the ZIP with
fluxplug pack. - It sends the ZIP to VirusTotal and waits for the analysis. If an engine flags the file as malicious, publishing stops and a maintainer looks at it.
- It creates the GitHub release
<id>-v<version>with the ZIP andSHA256SUMS.txt, and records a build provenance attestation for the ZIP. - It commits
plugins/<id>/release.jsonwith the hashes, the download link, the VirusTotal results and the attestation link, then tells the FluxPlugs repository to rebuild the website.
The store page appears a few minutes later. Until then, the plugin isn’t listed.
Reviewed
Section titled “Reviewed”Every published plugin is Listed. Reviewed means a FluxPlugs maintainer read the code at the merged commit, checked that the capabilities and network.hosts match what the README says, found no obfuscation and no code loaded from elsewhere, and added the version’s code hash to verified.json. The label is tied to that hash, so your next version is Listed again until someone reviews it.
To ask for a review, open a Verification request issue in the repository once your version is published. Maintainers review in their own time. A plugin that asks for few capabilities and keeps its code readable is reviewed sooner.
Reviewed is a statement about malware, not an endorsement, and it says nothing about how Fluxer treats accounts that use automation. The store says so next to every label.
Changing owners or removing a plugin
Section titled “Changing owners or removing a plugin”Owners change by editing store.json in a pull request approved by a current owner or a maintainer. To withdraw a plugin, open a pull request that deletes its folder. The published releases stay on GitHub, but the store stops listing it.
FluxPlugs is an independent project, not affiliated with or endorsed by Fluxer.