Vmux Framework · Rust made easy · MIT / Apache-2.0
Cross-platform application framework.
Rust made easy—through ECS composition, clear conventions, and typed macros. Build desktop, mobile, web, TUI, and server applications with Bevy ECS, Dioxus, native WebViews (wry), Tailwind CSS, declarative menus, persistence, and wake-driven async runners.
01 / CLI· desktop · web · tui · mobile · service
vmux new my_app --template desktop
cd my_app
vmux serve
vmux bundle --platform macos
vmux example --list
vmux example desktop_counterOne CLI scaffolds projects, auto-compiles Tailwind CSS, reloads during development, runs any example, and bundles platform artifacts.
02 / src/main.rs· vmux_sdk (MIT OR Apache-2.0)
use dioxus::prelude::*;
use vmux_sdk::prelude::*;
#[component]
fn HomePage() -> Element {
rsx! { main { h1 { "Hello from Vmux SDK" } } }
}
static HOME: Page = Page::pane("app://home/", HomePage)
.titled("My App");
fn main() {
App::new()
.add_plugins(DefaultPlugins.set(WindowHostPlugin::new(
WindowHostConfig::new("My App")
.size(960, 640)
.page(&HOME),
)))
.run();
}Workspace layout & licensing
Clear crate boundaries from SDK to product
| Layer | License | Scope |
|---|---|---|
| crates/sdk/* (vmux_sdk) | MIT OR Apache-2.0 | 36 publishable crates: ECS vocabulary, async tasks, HTTP/QUIC servers, SSR web pages, Wry/Dioxus pages, native windows, relaunch & macOS glass, tray, capture, updater, mobile nav & QR scanner, UI kit, Git, LSP, and TUI DOM. |
| crates/feature/* & crates/product/* | GPL-3.0-or-later | Vmux Browser + Agent + Harness capabilities: Chromium/CEF browser, ACP agents, remote host/client, native editor, terminal, MCP server, layout, and Linux VM. |
| crates/app/* | GPL-3.0-or-later | End-user binaries: vmux_desktop, vmux_cli, and vmux_mobile. |
Documentation
Read the framework guides
- 01Framework overviewCLI workflow, external SDK validation, and version pinning.→
- 02QuickstartScaffold with vmux new, serve locally, and write a typed desktop or headless app.→
- 03Examples catalog42 runnable Desktop, Web, TUI, Mobile, Service, feature, and primitive examples.→
- 04Core conceptsThe eight primitives, entity vocabulary, operation policies, async tasks, and autosave.→
- 05Windows, pages, and menusWindowHostPlugin, PageHostPlugin, UiState/UiEvent IPC, native menus, and web hosting.→
- 06Testing and plugin authoringDeterministic headless tests, feature.ron manifests, and isolated product namespaces.→
- 07Crates and macros referenceFeature matrix, attribute macros, target support, and crates.io publish order.→