Date: 2026-02-01 Status: Accepted
QNTX has multiple Rust components integrated into a Go server via CGO. The vision includes running entirely in the browser (offline-first), on mobile, and as a Tauri desktop app — all sharing the same core logic.
All shared computation moves to Rust crates compiled to WebAssembly, running on:
┌─────────────┐ ┌──────────────┐ ┌────────────┐
│ Browser │ │ Tauri Desktop│ │ Go Server │
│ (web/ts) │ │ (src-tauri) │ │ (cmd/qntx)│
└──────┬──────┘ └──────┬───────┘ └─────┬──────┘
│ │ │
└───────────────────┼────────────────────┘
│
┌──────▼──────┐
│ Rust WASM │
│ (shared) │
└─────────────┘
go:embed) and browser (wasm-bindgen, IndexedDB storage)qntxwasm / !qntxwasm build tags during migrationAny logic that both browser and server need: parsing, fuzzy search, classification, sync, identity generation, expansion. See wasm-capabilities.md for the current capability matrix and migration candidates.
make wasm required before Go compilation