all projects

Mesh Sim

▶ Live demo: app/
The full service-backed build running live — browser/WASM mesh simulator with the Rust/WASM mesh core, plus the bun backend (server-backed saves and run history via SQLite). No install needed.

Mesh network simulator: TypeScript fullstack app (React client in client/, bun server actions in server/, Drizzle schema in drizzle/) with a Rust/WASM mesh core (client/src/mesh_core.rs), packet engine, PHY/MAC protocol machinery, RPC sim shell (rpc-sim/), and browser E2E test sequences.

Version: fullstack 2026-09-29 (git a9333ba, committed 2026-09-28; deployed 2026-09-29). The live app is served by the standalone bun server (server.mjs: static client, POST /actions saves/runs on SQLite, /api/health). Native-tunnel proxy is enabled: mesh-sim-native 0.1.0 (rebuilt 2026-09-29 from ts-spaces/mesh-sim/backend-rust/mesh-sim-native, bit-identical behavior to the 2026-09-14 binary) serves the meshsim.v2 WebSocket authority on 127.0.0.1:3103, proxied at /api/tunnel/ws. The client auto-discovers it and can transfer simulation authority to the native Rust service, including device integration (attach_external_node for real peer devices).

Use

tar xzf mesh-sim-snapshot-2026-09-27.tar.gz
cd mesh-sim
bun install
bun run build        # server actions bundle + client build
cd client/dist && python3 -m http.server 8000   # serve the built browser/WASM client

The fullstack app runs as a Hatch space (server actions under the space runtime); the built client runs standalone in the browser. bun test runs the control / negative-control suite.

Releases

releases/ — mesh-sim-fullstack-2026-09-29.tar.gz (1.8 MB, the deployed service-backed package), mesh-sim-snapshot-2026-09-27.tar.gz (2.7 MB source snapshot), SHA256SUMS.


CrashProof Press · projects