Skip to content

netsim-labs/netsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetSim Community Edition

NetSim Logo

The Open Source Network Simulator

License: AGPL v3 Version PRs Welcome Rust TypeScript

Engineered for High-Performance Network Labs.
A deterministic simulation engine written in Rust and compiled to WebAssembly.
Zero virtualization. Zero latency. 100% Browser-native.

Live Demo (SaaS)Report BugRequest Feature


🚀 Overview

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.

NetSim Dashboard

✨ Key Features (v1.1.0 WASM Core)

  • 🦀 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.

👀 Visuals

NetSim Lab Session

📦 Quick Start

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 dev

🏗️ Architecture

NetSim 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.

🤝 Contributing & Governance

We welcome contributions! Please follow these steps:

  1. Read our Code of Conduct to maintain a professional environment.
  2. Fork the repo and create your feature branch.
  3. Ensure your Rust modules pass all tests (cargo test).
  4. Open a Pull Request.

📄 License

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.

About

Browser-based network simulation engine powered by WebAssembly. Master Cisco and Huawei syntax locally.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors