@zilolota/cli
v1.0.0
Published
CLI for ZilolOta — self-hosted over-the-air updates for React Native.
Maintainers
Readme
@zilolota/cli
CLI for ZilolOta — self-hosted over-the-air updates for React Native, with Ed25519 signature verification and bsdiff delta patches.
Install
npm install -g @zilolota/cli
# or one-shot
npx @zilolota/cli initQuick start
# 1. Initialise: registers an app on your ZilolOta server,
# writes zilolota.json + .zilolota/private.key (gitignored)
yarn zilolota init
# 2. Build the JS bundle (auto-detects RN's hermesc on 0.76+)
yarn zilolota build --platform ios
# 3. Upload + promote a release
yarn zilolota release --platform ios
# Auto-bump runtimeVersion on each release
yarn zilolota release --platform ios --bump-runtimeCommands
| Command | Purpose |
| --- | --- |
| zilolota init | Register app, generate Ed25519 keypair, write config |
| zilolota build --platform <ios\|android> | Bundle JS (and Hermes-compile if enabled) into .zilolota/ |
| zilolota release --platform <ios\|android> | Sign + upload + promote a release |
| zilolota promote <releaseId> | Promote a release to a channel |
| zilolota rollback <releaseId> | Roll back a release |
| zilolota status | Show current config and recent releases |
| zilolota keys generate | Generate a new Ed25519 keypair |
Version resolution for release
appVersion and runtimeVersion are resolved in this order:
--app-version/--runtime-versionflagszilolota.jsonfields (appVersion,runtimeVersion)- The RN app's
package.jsonversion "1.0.0"fallback
Pass --bump-runtime to increment the patch of runtimeVersion and persist it back to zilolota.json.
License
MIT
