# Build OH Router from source

Run or modify the standalone Router under your choice of the MIT or Apache-2.0 license. The snapshot includes the Rust workspace, dependency lockfile, regression fixtures and license texts.

Canonical URL: https://ohputer.com/router/docs/source

## Download the source

[Download the source archive](https://ohrouter.com/downloads/3e323214dd35009fecceecfc6cefbe7fd1c33e13e9030ac578d866f546193502/oh-router-source.tar.gz) or read the [source manifest](https://ohrouter.com/source.json).

[Download the SHA-256 checksum](https://ohrouter.com/downloads/3e323214dd35009fecceecfc6cefbe7fd1c33e13e9030ac578d866f546193502/oh-router-source.tar.gz.sha256). SHA-256: `3e323214dd35009fecceecfc6cefbe7fd1c33e13e9030ac578d866f546193502`. The archive records the source revision in `SOURCE_REVISION`.

## Build and test

Extract the archive and enter its directory. Use a stable Rust toolchain with Cargo and the platform C compiler. Keep the three executables together.

**Build from a source checkout**

```sh
cargo build --workspace --bins --locked
cargo test --workspace --locked
./target/debug/oh-router --version
```

The standalone engine starts with all eligible accounts available. You can configure automatic selection, run manual sessions and connect a Board or paired device. [OH for Mac](https://oh.computer/pro) adds the desktop workspace and its paid routing and scheduling features.
