CLI tool for OTA Update system - self-hosted CodePush/EAS Updates alternative
npm install @vanikya/ota-cli> Beta Notice: This package is currently in beta. Testing is in progress and APIs may change. Use in production at your own discretion. We welcome feedback and bug reports via GitHub Issues.
CLI tool for managing OTA (Over-The-Air) updates for React Native and Expo apps. A self-hosted alternative to CodePush and EAS Updates.
``bash`
npm install -g @vanikya/ota-cli
`bash`
ota login
You'll be prompted for:
- Server URL (your Cloudflare Workers deployment)
- API Key
`bash`
ota apps create --name "My App" --slug my-app --platform both
`bash`
ota channels create --app my-app --name production
`bash`
ota keys generate --app my-app
`bash`
ota release --app my-app --channel production --version 1.0.0
`bash`
ota login # Login to OTA server
ota logout # Clear stored credentials
`bash`
ota apps list # List all apps
ota apps create --name
ota apps delete --app
`bash`
ota channels list --app
ota channels create
ota channels delete
`bash`
ota release --app
ota releases list --app
ota rollback --app
`bash`
ota keys generate --app
ota keys export --app
`bash`
ota analytics --app
ota analytics --app
Configuration is stored in ~/.ota-update/config.json:
`json`
{
"serverUrl": "https://your-server.workers.dev",
"apiKey": "ota_xxx..."
}
Signing keys are stored in ~/.ota-update/keys/
This CLI requires a backend server. See @ota-update/server for deployment instructions.
MIT