Build Your Chattree Plugin

Develop fast, modular, and sandboxed WebAssembly tools for Chattree in seconds using the official CLI.

$npx @chattree/cli create plugin my-plugin
DEVELOPER CLI PIPELINE

Developer Workflow

From zero to an install-ready WebAssembly package in four simple commands.

chattree-cli — 1. createwasm32

Scaffold with starter templates

Launch the interactive wizard and choose your favorite runtime: AssemblyScript (TypeScript), Rust, or WAT.

$npx @chattree/cli create plugin my-plugin

==> Chattree Plugin Scaffold Wizard

? Select template: › AssemblyScript (TypeScript)

✔ Project created successfully at ./my-plugin!

ℹ Created files: plugin.json, src/index.ts, asconfig.json

ZERO TOOLCHAIN LOCK-IN

Supported Languages & Runtimes

Any language or toolchain compiling to standard WebAssembly 1.0 is compatible with Chattree.

TYPESCRIPT@chattree/plugin-sdk

AssemblyScript

Write in familiar, strictly-typed TypeScript syntax and compile directly to lightweight WebAssembly bytecode.

SYSTEMSwasm32

Rust

Peak execution speed and memory safety compiling with cargo build --target wasm32-unknown-unknown.

LOW-LEVEL0 deps

WebAssembly Text (WAT)

Hand-crafted WebAssembly text format. Zero external toolchains and instant compilation using wat2wasm.

Ready to share your plugin?

Attach your .chattree-plugin bundle to a public GitHub Release and register it in the official Chattree Marketplace.

Publish to Marketplace ↗