Skip to content

Getting Started

This guide assumes you are working from the repository root.

  • Rust toolchain with edition 2024 support.
  • cargo.
  • protoc if protobuf compilation fails during server builds.
  • Flutter and Dart for the mobile client.

Check the CLI:

Terminal window
cargo run -p cli -- --help

Start the server:

Terminal window
cargo run -p cli -- serve

The server listens on 0.0.0.0:50051 by default.

When the server starts, it prints a loka://pair URL. The URL contains:

  • The server address and port.
  • The TLS certificate fingerprint.
  • A time-limited pairing token.

Open the mobile app and use this URL to connect.