Marketplace Submission & Publishing Guide
Package requirements, GitHub release contract, official catalog PR workflow, security review checklist, and static market sources
Once your plugin builds cleanly and passes netcatty-plugin validate, you can distribute it to Netcatty users through three supported channels:
- Install from GitHub — Publish a
.ncpkgasset on a public GitHub Release (immediate, self-serve). - Official Marketplace / Curated Catalog — Open a Pull Request to list your plugin in the official curated catalog and static distribution (
https://plugins.netcatty.app/v1/snapshot.json). - Self-Hosted Static Market Source — Publish your own HTTPS
/v1/snapshot.jsonfeed for teams or organizations.
Distribution Comparison
| Aspect | Install from GitHub | Official Marketplace (plugins.netcatty.app) | Self-Hosted Static Source |
|---|---|---|---|
| Setup time | Immediate after publishing a GitHub Release | Requires maintainer review & PR merge | Immediate on any static HTTPS host |
Max .ncpkg size | 100 MiB archive (250 MiB uncompressed) | 16 MiB (Delivery v2 static mirror) | 16 MiB (Delivery v2) |
| User install flow | Paste owner/repo in Install from GitHub | Browse directly in Official marketplace | Add origin URL in Third-party marketplace |
| Updates | Re-enter repository to review latest stable release | Automatic update checks on plugin views + explicit one-click Update | Automatic update checks on plugin views + explicit one-click Update |
| Maintainer badge | None | Verified checkmark (✓) automatically computed by the host for official binaricat/* plugins from plugins.netcatty.app | None |
Install from GitHub
Install from GitHub is the fastest way to share a community plugin. Users open Settings → Plugins → Browse → Install from GitHub and paste owner/repo, github.com/owner/repo, or https://github.com/owner/repo.
Release Contract
Netcatty enforces a strict, zero-code-execution release contract (it never clones source code or runs npm install / build scripts):
- Public GitHub repository — Private repositories and auth tokens are unsupported.
- Published stable release — Netcatty queries
/repos/{owner}/{repo}/releases/latest. Draft-only and prerelease-only repositories fail closed. - Non-empty tag — Must resolve cleanly to a commit SHA via
/repos/{owner}/{repo}/commits/{tag}. - Exactly one
.ncpkgrelease asset — Filename must start with an ASCII alphanumeric character, contain only letters, digits,.,_,-, and be<= 200characters. Multiple.ncpkgassets in a single release are rejected so Netcatty never guesses which package to install. - Validated package archive — Produced by
netcatty-plugin packwithnetcatty.plugin.jsonat the root, within package limits (<= 100 MiBarchive,<= 250 MiBuncompressed,<= 5,000files,<= 50 MiBsingle file).
Recommended GitHub Release Workflow
# 1. Build and validate locally
npm ci --ignore-scripts
netcatty-plugin build .
netcatty-plugin pack . --out dist/my-plugin-1.0.0.ncpkg
netcatty-plugin validate dist/my-plugin-1.0.0.ncpkg
# 2. Tag and publish a GitHub Release with the single .ncpkg asset
git tag v1.0.0
git push origin v1.0.0
gh release create v1.0.0 dist/my-plugin-1.0.0.ncpkg \
--title "v1.0.0" \
--notes "Initial release."The manifest version is authoritative; the Git tag provides release context. Both the tag, resolved commit SHA, manifest permissions, and computed SHA-256 are shown to users before installation.
Submitting to the Official Marketplace
The official curated catalog is maintained in the dedicated registry repository binaricat/netcatty-plugins, which builds and publishes immutable static snapshots to https://plugins.netcatty.app/v1/snapshot.json.
Publishing a new plugin or releasing a new version does not require a PR to binaricat/Netcatty or an app update. Clients fetch the latest /v1/snapshot.json directly from plugins.netcatty.app.
Pre-Submission Checklist
Before opening a Pull Request in binaricat/netcatty-plugins, verify every requirement below:
- Runtime Eligibility: Must be a browser-only plugin (
main.browser) or a data-only theme pack (main.data: "theme"). Node utility entrypoints, native companions, and raw terminal interceptors are excluded from the public catalog. - Stable Identity: Unique reverse-domain
id(e.g.,com.yourorg.plugin-name), accuratepublisher,author,name, and concisedescription. - Open-Source Provenance: Public GitHub repository, explicit SPDX
licensematching the packagednetcatty.plugin.json, an immutable release tag, and an exact 40-character Git commit SHA (never a floating branch name). - Complete Validated Manifest: Engine ranges (
engines.netcatty,engines.api), required/optionalpermissions, boundedresources,features, andcontributesmust match the built package bytes verbatim. - Least-Privilege Permissions:
- Keep optional capabilities in
permissions.optionalwith clearreasonstrings. - Required resource-scoped permissions (
network,filesystem.*) must declare non-empty concrete bounds (wildcard*is invalid on required resource-scoped permissions).
- Keep optional capabilities in
- Brand Icon (
metadata.brand-icon):- Static
.pngor.webp(128×128or256×256recommended),<= 256 KiB, dimensions1..512px. - Provide both
lightanddarkvariants when appropriate; no SVG or animated images for top-level brand icons.
- Static
- README & Verified Screenshots:
- Relative
.mdpath from repository root,<= 256 KiB. Safe structural Markdown/GFM tables and theme-aware<picture>tags are supported; raw scripts and external remote image URLs are never fetched. - To display screenshots inside Netcatty's detail view, pin up to 8 repository-local
readmeImages(static.pngor.webp,<= 256 KiBeach) with exact SHA-256 digests indistribution/sources.json. Snapshot builds verify each file, mirror it to same-origin/assets/<sha256>.<ext>, and rewrite the pinned paths inside the published README.
- Relative
- Delivery v2 Artifact Size: Release artifacts must use
https://github.com/OWNER/REPO/releases/download/TAG/NAME.ncpkg, be<= 16 MiB(ZIP32 as produced bynetcatty-plugin pack), and match the exact lowercase SHA-256 recorded inindex.json. Never fabricate an artifact URL—source-only entries usedistribution: "source-only"and omitartifactandtag.
Pull Request Process (binaricat/netcatty-plugins)
Open a PR against binaricat/netcatty-plugins that modifies one plugin entry and includes:
- Registry Ledger & Distribution Metadata:
- Append the new version record to
index.jsonand pointcurrentto the new version (never delete or modify previously published versions—the ledger is append-only; usewithdrawalmetadata if a version must be withdrawn). - Pin
README.md,iconLight/iconDark, optionalreadmeImages(up to 8.png/.webpfiles<= 256 KiB), andauthorSubjectindistribution/sources.json. - Regenerate and commit
catalog.jsonwithpython scripts/validate.py --write.
- Append the new version record to
- PR Description Details:
- Concise changelog (for updates) or overview (for new submissions).
- Permission diff: explicitly list every added, widened, or removed permission and why it is needed.
- OS test matrix: which desktop platforms (macOS, Windows, Linux) were tested and with what Netcatty version.
- Reproducible build & provenance steps: exact commands to reproduce the
.ncpkgfrom the pinned tag and commit SHA.
- Local Automated Checks:
Validate your package locally, then run the
binaricat/netcatty-pluginsregistry validator before pushing:
# 1. Validate plugin directory and packed .ncpkg in your plugin repository
netcatty-plugin validate ./path/to/plugin
netcatty-plugin pack ./path/to/plugin --out /tmp/plugin.ncpkg
netcatty-plugin validate /tmp/plugin.ncpkg
# 2. Validate index.json, regenerate catalog.json, and run unit tests in binaricat/netcatty-plugins
python3 -m venv .venv && . .venv/bin/activate
python -m pip install -r requirements.txt
python scripts/validate.py --write
python -m unittest discover -s tests -vReview, Maintenance & Trust Boundaries
- Human review is mandatory: Automated CI validates schema, path safety, archive bounds, and append-only ledger integrity, while maintainers manually review source provenance and permission changes before merge.
- What listing means: Listing in the official marketplace is a curated integrity assertion—not a safety certification, endorsement, or legal warranty. Authors remain responsible for maintaining their plugin, documenting data handling, and responding to security reports.
- Official Maintainer Badge: The verified checkmark (
✓) in Netcatty is host-computed strictly when a plugin comes from the built-in official source (https://plugins.netcatty.app), belongs to abinaricat/*repository, uses thecom.binaricat.*orcom.netcatty.*ID namespace, and declaresbinaricatornetcattyas publisher. Third-party listings, local imports, and README content cannot forge it.
Versioning, Updates & Source Ownership
- Semantic Versioning: Bump
versioninnetcatty.plugin.jsonfor every release. Never retarget tags or replace.ncpkgbytes under an existing version tag. - Automatic Update Checks, Explicit Installation: Netcatty automatically checks for updates when you open Settings → Plugins, the Installed list, or a plugin detail view, but never silently downloads or swaps plugin code in the background. Fresh installs always install disabled until reviewed and enabled; explicit one-click Update from Settings → Plugins / Installed list preserves your enabled state after upgrading, while updating from the Marketplace detail view installs the new version stopped for review.
- Single-source ownership: A plugin ID can belong to only one installed source at a time. Private settings, KV data, grants, secrets, and cloud sync sidecars are isolated per host-derived source owner. Switching a plugin from local import or GitHub to the official marketplace requires explicitly uninstalling and selecting clear this source's private data, grants and secrets.
Hosting a Third-Party Static Market Source
Teams and enterprises can publish an internal or community marketplace on any static HTTPS host (such as Cloudflare Pages, GitHub Pages, or S3 + CloudFront).
Protocol Requirements
- Serve
/v1/snapshot.jsonat a public HTTPS origin (no credentials, query strings, custom ports, redirects, or private/reserved IPv4 addresses). - Point
/v1/snapshot.json(<= 16 KiB) to immutable, hash-bound documents under/snapshots/<delivery-sha256>/:catalog.json(<= 2 MiB, up to 1,000 entries)index.json(<= 2 MiB)delivery.json(<= 2 MiB,schemaVersion: 2for installable artifacts)
- Serve content-addressed assets on the same origin under
/assets/:- Packages:
/assets/<64-lowercase-hex-sha256>.ncpkg(<= 16 MiB) - READMEs:
/assets/<sha256>.md(<= 256 KiB) - Brand icons, avatars & up to 8 pinned
readmeImages:/assets/<sha256>.pngor.webp(<= 256 KiBeach)
- Packages:
Users add your origin in Settings → Plugins → Browse → Third-party marketplace → Add source. Every install re-fetches and validates the full snapshot before writing package bytes.