Publish your first plugin in ten minutes
From an empty folder to a signed plugin in the catalogue: create the project from the starter template, register a key, sign the package and upload it by command line and from a release workflow.
Ten steps, one terminal
You need the .NET 9 SDK, git, the GitHub command line tool (gh), curl and a POSIX shell (Git Bash on Windows). Run every command from the project folder.
Step 1: Create the project from the template
The starter is a working plugin with tests, a signing tool and a release workflow, built on the published Hostpanel.Sdk package. Create your own repository from it, then open plugin.json and change the id, name, author and description to your own. The id is lower-case letters, digits and single hyphens, and it never changes once published.
shellgh repo create my-first-plugin --template innovayse/hostpanel-plugin-starter --public --clone cd my-first-plugin dotnet test tests/MyCompany.StarterPlugin.Testsjson{ "manifestVersion": 2, "id": "my-first-plugin", "name": "My First Plugin", "version": "1.0.0", "author": "Your Name", "description": "A minimal Hostpanel plugin that answers one admin route.", "type": "App", "category": "Other", "color": "#0369a1", "entryPoint": "MyCompany.StarterPlugin.HelloPlugin", "sdkVersion": "1.0", "api": { "admin": [ { "method": "Get", "path": "/hello" } ] } }The tests pass as they are. They also check plugin.json against the same manifest rules the registry applies, so a mistake in the manifest shows up here and not after the upload.
Step 2: Sign in with your Innovayse account
Open the publisher dashboard and sign in with Innovayse. Your account becomes a personal publisher profile the first time. Accept the publisher agreement: no upload works before it. The key is made on your own machine in the next step. Registering it and reserving your plugin id happen in the dashboard, and so does creating the API key after them.
Step 3: Make a signing key
Every package is signed with an Ed25519 key that only you hold. The command writes the private key to the file and prints the public key. Keep the file outside every repository: the tool refuses a path inside a git working tree.
shelldotnet run --project tools/PluginSigner -- keygen ~/hostpanel-plugin.keyCopy the public key it prints. The next step registers it.
Step 4: Register the public key
In the dashboard open Signing keys. Enter a key id of lower-case letters, digits, dots, hyphens and underscores, for example mycompany-2026, paste the public key and press Add. The key id is public and is written into every signature. A key id is never reused, even after the key is revoked. A package signed by a revoked key is refused.
Step 5: Reserve your plugin id
Open Reserved ids, enter the id from plugin.json and press Add. The first upload of an id must come from the publisher who reserved it, and some ids belong to the official publisher only.
Step 6: Create an API key for the command line
Open API keys, name the key, for example cli, and press Create key. The full key starts with hpk_ and is shown once, so copy it now and treat it like a password. Set it in your shell.
shellexport HOSTPANEL_PLUGINS_API_KEY=hpk_your_keyStep 7: Build, sign and check the package
One script runs the tests, stages only the files a package holds (plugin.json, LICENSE, CHANGELOG.md and the plugin assembly), signs the folder, zips it with plugin.json at the root and runs the registry package checks on the zip. Use the key file from the signing key step and the key id you registered.
shellsh scripts/build-package.sh ~/hostpanel-plugin.key mycompany-2026The result is dist/my-first-plugin-1.0.0.zip. A package never holds Hostpanel.Sdk.dll or a framework library: the registry refuses those. Every version needs release notes: CHANGELOG.md must hold a section headed ## [x.y.z] for the version, with at least 10 characters of text, or you write the notes in the notes field of the upload form in the dashboard. Without them the registry answers 422 RELEASE_NOTES_VALIDATION_FAILED and stores nothing. The starter already has a section for 1.0.0, so add one for every new version before you build.
Step 8: Upload by command line
The script sends the zip with your API key. 201 means the registry accepted the version. It is scanned, and it is Published at once only for a Verified plugin with nothing new in the scan, such as a new permission. Otherwise it waits in review. A refusal prints the registry code and the rule that failed. You can upload the same zip in the dashboard, under Upload, and follow the checks there.
shellsh scripts/upload.sh dist/my-first-plugin-1.0.0.zipStep 9: Publish from a release workflow
The starter ships .github/workflows/release.yml. It builds and tests without any secret, then in a protected release environment it signs the package, checks it, uploads it and creates the GitHub release. Store the signing key and the API key as environment secrets and the key id as a variable.
shellgh api --method PUT "repos/{owner}/{repo}/environments/release" gh secret set PLUGIN_SIGNING_KEY --env release < ~/hostpanel-plugin.key gh secret set HOSTPANEL_PLUGINS_API_KEY --env release gh variable set PLUGIN_SIGNING_KEY_ID --body mycompany-2026shellgit tag v1.0.1 git push origin v1.0.1A version number is never reused, so raise the version in plugin.json and in the project file, merge to main and push a tag. The workflow refuses a tag whose commit is not on main or that disagrees with the manifest.
Step 10: See it in the catalogue
Open the Plugins tab of the dashboard. Every version has a status: In review, Published, Deprecated, Yanked or Rejected. A plugin is listed once a version is Published, unless you hide it or make it private. There you can set the pricing and visibility. A paid plugin shows your Buy link and you issue the licence keys. You can deprecate a version or withdraw it if it has a problem.
Have a plugin for Hostpanel?
Publish it here and reach everyone who runs Hostpanel.