Torollo is an open-source interactive visual playground designed to learn system design and networking, all locally.
Last updated Jul 7, 2026
226
Stars
22
Forks
3
Issues
+35
Stars/day
Attention Score
86
Topics
Language breakdown
TypeScript 89.1%
HTML 5.1%
CSS 4.5%
JavaScript 1.3%
▸ Files
click to expand
README

TOROLLO — Backend Systems Lab
A local-first visual simulator and educational playground for backend engineering and system design, inspired by Packet Tracer.
TOROLLO is an interactive, visual sandbox designed to help students and developers learn backend architecture, Docker, networking, databases, and system design by actually building and running systems on their local machines.
Technology Stack
- Frontend: React, TypeScript, Vite, React Flow, xterm.js
- Backend: Node.js, Express, TypeScript, Socket.io
- Orchestration: Docker, Dockerode (Interacts directly with your local Docker Daemon)
Quick Start
Run the lab instantly from your terminal without needing to clone the repo or install anything permanently:
npx torollo start
(Note: Ensure Docker Desktop is running before starting, as Torollo orchestrates real local containers)
Supported Infrastructure Nodes
You can drag and drop a wide range of infrastructure components onto the canvas. Everything is backed by real Docker containers running locally on your machine.
- Computing
- Databases / Caches
- Networking & Security
iptables injected securely into the containers.
* Load Balancer (Nginx): Automatically generates upstream nginx.conf configurations based on the nodes you wire to it.
* NAT Gateway: Provides outbound internet access for private subnets using true Linux ip_forward=1 and MASQUERADE routing.
Coming Very Soon
- Terraform Generation: Automatic Infrastructure-as-Code (IaC) generation for your visual architectures, supporting every major cloud provider (AWS, Azure, GCP).
- Message Brokers: RabbitMQ, Kafka
- Application Services: API Service, Microservices Host, Serverless Functions
- Observability: Live Metrics, Logs, & Monitoring Components
Core Features & Architecture
Interactive Learning by Doing
Instead of reading passive, theory-heavy documentation, you learn by doing:- Create Systems: Drag and drop real components to build architectures.
- Run & Connect: Wire services together and see how they interact.
- Simulate Traffic: Use the built-in Network Simulator to send pings and watch mock traffic flow through the system.
- Web Terminals: Instantly open a root shell into any Ubuntu or Database container straight from the browser.
Architecture Overview
- Backend: Node.js, Express, TypeScript, and Dockerode. The backend acts as the supervisor—it manipulates the local Docker daemon, compiles your visual network topology into real
iptablesrules, and manages persistent state in~/.torollo/projects.json. - Frontend: React, TypeScript, Vite, and React Flow. Renders the interactive visual grid, node inspector modals, database explorers, and
xterm.jsterminals.
Core Philosophy
Everything runs locally on your machine.
- No Cloud integrations (No AWS credentials needed).
- No remote infrastructure is created, billed, or managed.
- All nodes in the workspace correspond exactly to live Docker containers on your local system.
🔗 More in this category