Build Blerivo from source
Clone the repository, build the Rust core and generate the SDK of your choice.
- Complexity
- 2/5
- Clients
- Kotlin, Swift, Flutter, React Native
- Time
- About 10 minutes
The SDKs are not on any package registry yet, so you build them from the repository.
Set up
You need:
- Node.js 24 and pnpm, through
corepack enable. - Rust through rustup. The repository pins the version in
rust-toolchain.toml, and rustup installs it on first use. - For the mobile SDKs: Android Studio with the NDK, Xcode, or Flutter, depending on your target.
Build and test everything
Clone the repository and run the same checks CI runs:
git clone https://github.com/Vestcodes/Blerivo.git
cd Blerivo
pnpm install
pnpm run cipnpm run ci runs lint, typecheck, tests and builds for every package.
Verify your build
The run ends with every task successful, for example Tasks: 16 successful, 16 total. If a task fails:
- Check that
node --versionprints 24 or newer. - Run
rustup showinside the repository to install the pinned Rust version. - Run the failing package on its own, such as
pnpm --filter @blerivo/ffi build, to see its full output.
Build one SDK
Build only what your app needs:
| Piece | Command | Output |
|---|---|---|
| Rust core | cargo build -p blerivo-core --release | blerivo-core, the codecs and sessions |
| Kotlin and Swift | pnpm --filter @blerivo/ffi build | Bindings in crates/ffi/dist |
| Flutter | See Flutter | The blerivo plugin in packages/flutter |
| React Native | See React Native | react-native-blerivo in packages/react-native |