Skip to Content

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:

Terminal
git clone https://github.com/Vestcodes/Blerivo.git
cd Blerivo
pnpm install
pnpm run ci

pnpm 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:

  1. Check that node --version prints 24 or newer.
  2. Run rustup show inside the repository to install the pinned Rust version.
  3. 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:

PieceCommandOutput
Rust corecargo build -p blerivo-core --releaseblerivo-core, the codecs and sessions
Kotlin and Swiftpnpm --filter @blerivo/ffi buildBindings in crates/ffi/dist
FlutterSee FlutterThe blerivo plugin in packages/flutter
React NativeSee React Nativereact-native-blerivo in packages/react-native

See also

On this page