Publishing
Prepare a module, presets and assets for a versioned release.
Publish a module update with maru publish from its project folder. The command
builds the module, uploads its files and activates a versioned publication people
can open or install. Publishing a module works independently of updating the
Maru website.
In the Help Center: Publishing plugins for preparing a listing and release decisions.
The words
Maru uses the same few words on the command line, in Studio and on the website.
| Word | Meaning |
|---|---|
| project | Your source: the folder (or Studio project) you edit, build and publish. Anyone the licence allows can fork it with maru init --from. |
| reference | The name of something published: @handle/slug, which always means its live release. The same spelling works in the terminal, in Studio, in the Maru plug-ins and as a page link. @handle/slug@version names one release and only answers while that release is live. |
| publish | Put a new version online under your name. maru publish works out what the folder holds (a module, a sampler bank) and runs that kind's own process. |
| release | One published version of a project: numbered, unchangeable, and playable on any Maru host that meets what it declares it needs. A noun, never a verb. Publishing changed files makes the next release number; publishing unchanged files does nothing and says so. You never bump a number by hand. |
| bundle | A release in one file (.maru), for installing without a connection or sharing by hand. Opening or repacking it never changes which release it is. |
| unpublish | Take a publication offline; its page and downloads stop answering until you publish again. maru unpublish handles sampler banks; archive a module from its project on maruaudio.com. |
| build | Produce the browser or plug-in files, on your computer or on the server for a release. |
| visibility | Who can find it: public, or unlisted (reachable by link only). |
| source access | Who can read the source a release was published with: only you, purchasers, or anyone who can open the page. |
Older guides say "deploy"; it means publish. maru module deploy still runs,
but maru publish takes every option it had.
The Maru bundle format explains how .maru
keeps a release's processing, interface, assets and requirements together,
including the consolidation of sampler content into the shared release model.
Publish changed modules
maru publish --stale --plan --project ./my-module --json compares local inputs
with a receipt matching the active publication, without building or opening a
browser. Repeat --project, or use a workspace folder containing modules/.
Use the same source, Program and qualification options as the prior publication.
Remove --plan to publish selected stale modules serially. Missing provenance is
reported as unknown and skipped; --include-unknown explicitly permits a full
build for those rows. --dry-run builds without uploading. Successful normal
publications establish the receipts. Unrelated dependency files do not trigger a
build; an edit within a used file remains a conservative reason to rebuild.
Eligible face/source changes reuse verified Program bytes and qualification.
Public playback files contain executable Programs and a distribution face. New JS Programs remove ordinary comments and source-map references while retaining legal notices. Authored source faces are excluded from playback and downloads; editable source archives have separate access control. Executable browser JS can still be inspected. Existing Programs receive changed bytes through publication.
Prepare the product
Keep the module declaration, DSP, interface, presets, demo inputs and runtime assets together. Add a clear name, description, artwork, category and usage instructions. Record the rights and attribution for code, recordings, samples, models and other dependencies. Use the current licensing guidance for access and commercial terms.
For a source project, Define a Processor module
connects the declaration, processing, parameters, face, resources and tests, with
a checklist to work through before maru publish.
A good demo explains the musical purpose. Give listeners a useful starting preset and a representative input; do not rely on undocumented processing to make the preview sound finished.
Save, validate, build, review
Save a durable source revision before requesting a release. Validate audio
health, control behavior, state/preset restoration and assets. Build only the
targets the module and host support, then test the actual artifacts. In a
local project, maru module check runs these checks (add maru module eval
for a Graph module), and maru module pack prepares a versioned Release
without uploading it. maru publish --dry-run shows the upload without signing
in; after maru login, maru publish uploads the module to your profile and
prints its @handle/slug reference. See
Check, build and export.
Choose the build checks explicitly. Plain maru publish builds a development
JavaScript release without browser qualification. For a qualified JavaScript
release, use the same options for inspection and publication:
maru publish . --qualify --programs js --dry-run maru publish . --qualify --programs js
A dry run builds and lists the upload without writing to the platform. The
second command builds again, verifies the uploaded files and activates the new
publication. Request js,wasm only when the module supports both Programs and
the required compiler is available. Native downloads have separate build and
verification requirements.
How an update reaches players
The platform records the published files and their content identities. Module pages and hosted players read that publication; they do not rebuild your source when somebody opens the page. A change to a preset, interface or sound engine therefore needs a new module publication even after the source has been saved or committed.
Keep the module identity stable and let publication allocate the next counter.
Changed content makes a new version; an unchanged upload is a no-op. Share the
printed Reference, and verify its page, initial preset, playback and saved-state
behavior after publication. Use --expected-version <current-version> when you
want publication to refuse an intervening update.
A Reference always resolves to the live release, so @handle/slug keeps working
after every publish. Only the live release can be resolved: a pin such as
@handle/slug@3 answers while version 3 is live and is refused once a newer
version is published, with the refusal naming the live version. To check that
what you tested is still live, use the pin; to share a module, use the
Reference without one. Saved parameter state can also take precedence over a new
default preset. Test a fresh instance to hear the new starting sound.
The host supplies the runtime a release declares it needs. Updating that host and publishing your module are separate operations; a browser release does not establish support for every native or hardware target.
A browser preview, a packed Release and a verified native plugin are different milestones. See Check, build and export, Native plugins and audio consistency.
Web-only projects retain that scope until their runtime is qualified for another target. Available formats and download links should come from the actual release, not a blanket platform promise.
For platform builds, installers and download delivery, follow Package and release audio plug-ins.
Updates and shared content
To automate a local project, follow Build and publish a module in CI. It shows build downloads first, then optional publication on stable GitHub releases, with the required toolkit and credential setup.
Preserve module identity and parameter/state compatibility. Review migrations when parameter meaning, range or asset dependencies change. Shared presets need the correct module/schema and assets to remain useful; version a preset or bank alongside the content it depends on.
Keep published artifacts and their source identity traceable. Review rollback, withdrawal and existing-session behavior before replacing a release. Current availability and support should be stated on its product page.
Continue with Studio workflow, Project structure or the framework.