Engineered for High-Performance Network Labs.
A deterministic simulation engine written in Rust and compiled to WebAssembly.
Zero virtualization. Zero latency. 100% Browser-native.
NetSim Community Edition is the open-source core engine behind NetSim.dev. Starting with v1.1.0, the core simulation logic has been migrated from TypeScript to Rust/WebAssembly to achieve near-native execution speeds and deterministic protocol behavior.
It provides a high-performance, client-side network simulation environment that runs entirely in your browser, bypassing the need for heavy VMs or backend servers.
- 🦀 Rust-Powered Engine: High-performance core handling packet switching and complex routing logic with memory safety.
- 🌐 100% Client-Side: Runs entirely in your browser using WebAssembly. Zero latency, zero data egress.
- 🔌 Multi-Vendor CLI: Native support for Cisco (IOS) and Huawei (VRP) command syntaxes.
- 🔒 Privacy First: Your topologies and configurations never leave your machine.
- 🔋 Built-in Labs: Ready-to-use scenarios for STP, OSPF, and VLAN practice.
- 🛠️ Modern Stack: Built with React 18, Rust, and React Flow.
Prerequisites: Node.js 18+, Rust toolchain, and wasm-pack.
# 1. Clone the repository
git clone [https://github.com/netsim-labs/netsim.git](https://github.com/netsim-labs/netsim.git)
# 2. Enter the directory
cd netsim-community-v1.1.0
# 3. Build the WASM Core and Install JS dependencies
npm install
# 4. Start the local engine
npm run devNetSim utilizes a decoupled architecture where a high-speed Rust core manages the network state, exposed to a React frontend via a typed WebAssembly bridge.
| Layer | Technology | Description |
|---|---|---|
| Core Engine | Rust + WASM | Logic for OSPF, BGP, STP, and CLI parsing. |
| State Management | Zustand | Syncs the WASM state with the UI components. |
| Visualization | React Flow | Interactive node-based topology editor. |
| Interface | Tailwind CSS | Responsive, dark-themed professional UI. |
We welcome contributions! Please follow these steps:
- Read our Code of Conduct to maintain a professional environment.
- Fork the repo and create your feature branch.
- Ensure your Rust modules pass all tests (
cargo test). - Open a Pull Request.
Distributed under the GNU Affero General Public License v3.0 (AGPL-3.0).
- Free for personal and educational use.
- Commercial use requires a dedicated license. Contact
info@netsim.dev.
Made with ❤️ and Data Packets by the NetSim Labs Team
Copyright © 2026 NetSim Labs. All rights reserved.

