Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
An open-source mobile video editor in Rust while using Kotlin as the UI framework.
Saved setup from 16 h ago
Will it work on Windows?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git. The project lives in its src/ folder: every step below runs there.
git clone https://github.com/artcraft-android/capcraft-android.git cd capcraft-android/src
Rust 1.93.1
winget install Rustlang.Rustup rustup show # installs the pinned toolchain
cargo build
cargo test
The steps run shell scripts (.sh). Use Git Bash (winget install Git.Git) or WSL2 (wsl --install).
One Gradle command builds the app: it compiles the Rust engine with cargo-ndk and generates the Kotlin bindings. FFmpeg and sherpa-onnx are fetched and built first, once.
src, with ANDROID_HOME pointing at your Android SDK:
scripts/ffmpeg-mobile.sh aarch64-linux-android
scripts/sherpa-mobile.sh aarch64-linux-android
eval "$(scripts/mobile-env.sh aarch64-linux-android)"
src/crates/capcraft-android/android and run ./gradlew assembleRelease.Build time dependencies:
<details> <summary>required tools</summary> Linux or macOS (on Windows, WSL)
rustup (it installs the Rust release rust-toolchain.toml names)
rustup target add aarch64-linux-android
cargo install cargo-ndk --version 4.1.2 --locked
Android SDK (API 37) and NDK 29.0.14206865
JDK 17 or newer
cmake, make, clang (libclang-dev), curl
</details>
Builds are only tested in WSL Ubuntu on Windows 11.
<br>No reports for Windows yet.
GitManual AI Agent reads the 4 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.