How to configure Russd
Describe packages with russd.toml, wire the editor, and rely on runtime sandboxing for files and HTTP.
russd.toml
Run russd pkg init at the repo root to write a package manifest.
russd.toml
[package]
name = "russd-core"
version = "0.2.0"
license = "GPL-3.0-only"
[dependencies]Editor
Add editors/russd.tmLanguage.json to a TextMate-compatible editor for .rsd highlighting.
russd complete path.rsd prints keywords and symbols for autocomplete.
Safe defaults
read_file / write_file stay inside the current working directory; .. and absolute escapes are rejected.
http_get allows only http://, blocks private networks (SSRF), and caps timeout and body size.
spawn accepts identifier names only. sleep_ms and file writes are capped.
No unsafe. Structs cannot store references. Overflow is an error by default.
Website
Docs live in web/ (Next.js). Responses include CSP and related security headers.