threadloom
Full-stack Rust — one language, one codebase, WASM frontend + native backend.
Threadloom is a Rust framework for building full-stack web apps. Write your UI in Rust using a JSX-like macro, compile to WASM for the browser, and deploy your API as a native binary — to a server or Vercel.
Quick Start
# Install the CLI
# Scaffold a new project
# Start dev server with hot reload
Features
- ⚡ Rust everywhere — no JS/TS in your codebase
- 🕸️ WASM-first frontend — compile your UI to WebAssembly
- 🛠️
distaffCLI — hot reload, dev server, production builds - 🚀 One-command Vercel deployment —
distaff build --vercel - 🔄 Reactive state with signals — fine-grained reactivity
Example
use *;
Crate Structure
| Crate | Purpose |
|---|---|
threadloom |
Main re-export crate (start here) |
threadloom-core |
Shared types, signal primitives, HTTP client |
threadloom-dom |
WASM DOM diffing and rendering engine |
threadloom-macro |
view! proc macro for JSX-like templates |
threadloom-ui |
Built-in UI components |
threadloom-scheduler |
Async task scheduler |
threadloom-server |
Server abstraction (Actix + Vercel runtime) |
threadloom-desktop |
Desktop app wrapper (coming soon) |
distaff |
CLI tool: new, dev, build, hot-reload |