Publish to the Mota App Store
The Mota App Store at apps.motaware.com offers apps for Mota OS (desktop) and Mota Mobile OS.
Publishing is free, and for now the store takes free apps only. You publish from the
publisher console at apps.motaware.com/console: sign in with your Motaware account,
name your publisher (shown on store pages as the developer) and choose Submit a new app.
A publisher is the same thing as a project here; projects you made in this console show up there as publishers.
Steps
- Create the app. Give it a name, its platforms, a category and its package id, the reverse-DNS
idof your manifest, such ascom.example.notes. The id is yours from then on and can't be changed. Ids undercom.motaware.,com.mota.,org.mota.,org.motaos.andos.mota.are reserved. - Register a signing key on the publisher's Signing keys page (see below).
- Build and sign an .ospkg v2 package for each architecture you ship.
- Upload it on the app's Releases tab, or from the command line with an upload token. Every upload is checked at once; a refused upload says why.
- Fill in the listing: summary, a description of at least 50 characters, a 512 x 512 PNG icon, at least 2 screenshots (up to 10), and a support email or support page.
- Submit the release from the app's overview (Stable, everyone) or its Releases tab, on a channel, with a rollout share and release notes. The first release of a new app is reviewed by a person.
Signing keys
Packages are signed with Ed25519. Motaware stores only your public key; keep the private key to yourself. A key belongs to one publisher, and a publisher can have several keys (say, one per machine or CI job).
oskit keys generate # writes ~/.oskit/keys/signing.key and signing.pub oskit keys export --public # prints the public key to paste in the console
The console takes that output (-----BEGIN MOTA ED25519 PUBLIC KEY-----), an OpenSSL PUBLIC KEY PEM
(openssl pkey -in key.pem -pubout), or the 32 key bytes in base64 or hex. It shows the key's fingerprint, the
SHA-256 of the 32 key bytes in hex; oskit prints the first 8 characters of the same value.
Revoking a key can't be undone. New uploads signed with it are refused; apps people already installed keep working. If a private key leaks, revoke it and sign the next release with a new key.
Package format
The store takes .ospkg version 2 files with an embedded signature block:
| Part | Contents |
|---|---|
| Header (48 bytes) | OSPK, u16 version (2), u16 flags, then u64 manifest offset, manifest length, signature offset, signature length and payload offset, all little-endian. |
| Manifest | manifest.yaml as YAML. |
| Signature block | JSON: algorithm (Ed25519), developer_key_fingerprint, manifest_hash and payload_hash (hex SHA-256), signature (hex Ed25519 over the raw 32-byte manifest hash followed by the raw 32-byte payload hash), timestamp, oskit_version. |
| Payload | A zstd-compressed tar with payload/ and optionally hooks/, to the end of the file. |
The manifest fields the store reads:
id: com.example.notes # the app's package id name: Field Notes version: 1.2.0 # semantic version; higher than every earlier upload description: Notes that sync runtime: native # native, web, electron, flatpak or python entry_point: bin/notes # inside payload/ icon: share/icon.png # inside payload/ (optional) architectures: [x86_64] # x86_64, aarch64 or any; native packages must name one sandbox_profile: standard # strict, standard or relaxed (relaxed is reviewed) permissions: [network, notifications] min_os_version: "1.0" # optional
A release has one package per architecture (x86_64, aarch64), or one package for all
(any, for web apps and scripts), not both. Upload each architecture's package; packages with the same version
join the same draft release. Packages can be up to 4 GB.
Checks on every upload
- Package format: the
OSPKheader, version 2, every section inside the file, the size limit. - Manifest: the YAML parses;
idis the app's package id; the version is a semantic version; name, description, runtime and entry point are there; the architectures are known. - Version: higher than every earlier upload of the app, on any channel.
- Signature: Ed25519, with a key registered to the app's project and not revoked, and the hashes match the file.
- Contents: the payload is a zstd tar; paths stay inside
payload/orhooks/; no devices and no links that leave the package; the entry point and icon exist; the unpacked size is within limits. - Malware scan with ClamAV. If the scanner can't be reached, the upload is refused; try again a little later.
- Permissions: known names are listed in plain words on the store page. Sensitive ones (camera, microphone, location, files, contacts, background running and similar) and custom ones send the release to review, the first time the app asks for them.
- Sandbox and install scripts:
sandbox_profile: noneis refused; the relaxed sandbox, install hooks (hooks/) and setuid or setgid files send the release to review.
The console shows the result of every check for every upload: passed, failed (the upload is refused) or needs review.
Review
- The first release of a new app is always reviewed by a person at Motaware, together with the listing, usually within a few business days. If we request changes, the console says why; fix them and send the release again.
- Once the app is approved, later releases go live by themselves when every check passes. A release waits for a person only when a check flags it (see above), or when Motaware reviews every release of the app.
- Internal releases reach only you and are never reviewed, so you can try a package on your own devices before the first review.
- Motaware can suspend an app that breaks the developer terms. A suspended app leaves the store, but installed copies are never disabled remotely.
Channels and staged rollout
| Channel | Who gets it |
|---|---|
| Stable | Everyone. |
| Beta | People who joined the app's beta. |
| Internal | Only you (the project owner). No review. |
When you send a release you choose its rollout: everyone, or a share of devices (1% to 50%). A device either is or isn't in the share, and stays that way for the release. Raise the share at any time; at 100% the release replaces the older ones on its channel. A rollout can only grow.
Halt a live release if something is wrong: devices that don't have it yet are offered the previous live release again, and devices that installed it keep it. Resume it at its last share, or upload a fixed, higher version.
Remove from the store takes the app out of the store, search and updates. People who installed it keep their copy and it keeps working. You can put it back later.
Publishing from the command line
Create an upload token on the publisher's Upload tokens page in the publisher console. A token starts with
mws_, is shown once, and can only upload releases of that publisher's apps. Packages still need your signature.
With oskit (the Mota SDK, built from 13 October 2026 on):
oskit keys generate # once; register the key in the console (see above) oskit package --release --sign # embeds the signature; fails if there is no key export OSKIT_API_TOKEN=mws_... # or --token, or save it in ~/.config/oskit/token oskit publish --channel stable --staged 10 --release-notes "Faster sync"
--channelisstable,betaorinternal(nightlyalso means internal).--stagedis a percentage; leave it out for everyone.- oskit uploads to
https://apps.motaware.com. Point it elsewhere with--store,OSKIT_STORE_URLoroskit config set publish.store_url. - It prints the result of every store check, and whether the release is live or waiting for review and why.
- Release notes can span several lines; oskit sends them percent-encoded (
X-Release-Notes-Encoding: percent). oskit newgives new apps the idcom.example.<name>: change it to your own before you create the app here.- Older oskit builds wrote a separate
.ospkg.sigfile and uploaded toapi.motaos.org; they can't publish to this store.
Or with any HTTP client:
curl -X POST https://apps.motaware.com/v1/packages/upload \ -H "Authorization: Bearer $MOTA_STORE_TOKEN" \ -H "Content-Type: application/octet-stream" \ -H "X-Package-ID: com.example.notes" \ -H "X-Package-Version: 1.2.0" \ -H "X-Channel: stable" \ -H "X-Staged-Rollout: 10" \ -H "X-Release-Notes: Faster sync" \ --data-binary @build/release/notes.ospkg
X-Channel is stable, beta or internal; X-Staged-Rollout (1 to 100)
and X-Release-Notes are optional. The release is sent as soon as it's accepted, under the same review rules as the console.