mindroid
v0.3.0
Published
Mindroid CLI for creating and building JS-first Android apps
Maintainers
Readme
mindroid
CLI for scaffolding, building, and managing Mindroid JS-first Android apps.
Install
npm install -g mindroidOr use without installing:
npx mindroid create my-appCommands
| Command | Description |
|---------|-------------|
| mindroid create <app-name> | Scaffold a new Mindroid Android app with @mindroid/sdk pre-installed |
| mindroid plugin add <name> | Add a Mindroid plugin to mindroid.config.json |
| mindroid plugin list | List installed plugins and their capabilities |
| mindroid build [debug\|release\|aab] | Build the Android APK or AAB (delegates to Gradle) |
| mindroid run | Build and install a debug APK on a connected device/emulator |
| mindroid icon <input.png> [name] | Generate all mipmap icon densities + adaptive icon XML |
Scaffold a new app
mindroid create my-app
cd my-app
# edit src/app.ts
mindroid build debugmindroid create copies the Android host template, generates a package.json with @mindroid/sdk, creates src/app.ts as a starter, and runs npm install automatically.
Release signing
copy keystore.properties.example keystore.properties
# fill in your keystore details
mindroid build releaseSensitive plugins
Plugins that access SMS, contacts, or call logs require explicit opt-in before a release or AAB build:
{
"policy": {
"allowSensitiveModules": true,
"playStoreDisclosureConfirmed": true
}
}Links
- @mindroid/sdk — runtime SDK for app code
- Mindroid monorepo
