Skip to content

Build

Cargo for the Windows apps, Bun for the web apps and these docs.

The Rust apps build on Windows with the MSVC toolchain. rust-toolchain.toml pins the version.

Terminal window
cargo build --release -p tide

Binaries land in target/release/ at the root. Some apps need a setup step first, such as Aperture’s text recognition models; see Contributing to Aperture.

The web apps use Bun 1.4.5 to install, test, type check and format, and Node 24 underneath Cloudflare’s cf CLI, which builds and deploys and doesn’t run on Bun. Install once at the root, then work inside the app:

Terminal window
bun install
cd apps/colibri
bun dev # local app and Worker
bun check # lint, format check, typecheck and tests, as CI runs them
bun run build # production build (not `bun build`, which is Bun's own bundler)
Terminal window
cd apps/docs
bun dev # live preview at http://localhost:4321
bun check # format check and astro check
bun run build # static site in apps/docs/dist, with the search index

Pages are Markdown or MDX files in apps/docs/src/content/docs. The sidebar and the section tabs come from apps/docs/src/sections.ts.