Skip to content

Welcome! These docs cover the three parts of Zaun you can build with:

Project What it is Language
zaun-host The program that runs a community: channels, roles, permissions, history, voice signalling, bots. Rust (one binary or a Docker image)
zaun-client The library apps and bots use to talk to a host. Rust, and JavaScript/WebAssembly for browsers, Node.js and Bun
zaun-bot SDKs for bots that run inside a host as sandboxed WebAssembly. TypeScript and Rust
  • Guide: step-by-step pages. Start with What is Zaun? and the quick start, then follow the section you need: running a host, building a client, or writing bots.
  • Examples: complete, working programs with explanations.
  • Reference: generated API documentation for every public type and function, plus the zaun-host command line and configuration.
  • For a host: basic command-line use. Docker makes it easiest; building from source needs Rust.
  • For a client or an external bot: Rust, or JavaScript (async/await, npm).
  • For a hosted bot: TypeScript (@zaun/bot, the default in these docs) or Rust. See TypeScript or Rust?. If you have written an interactions-based bot elsewhere, read Porting an existing bot.

Open an issue in the repository the question is about: zaun-community, zaun-client or zaun-bot. Found a mistake in the docs? Use “Edit page” at the bottom of any page.