konoe-akitoshi/shumoku
About
Network diagram software. Diagrams that don't drift away from reality — drawn from NetBox, Zabbix, SNMP/LLDP or YAML, with live traffic and alerts.
Systems & InfrastructureMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalShumoku
Network diagrams that don't drift away from reality.
Shumoku draws your network from NetBox, Zabbix, SNMP/LLDP or YAML, and shows live traffic and alerts on the same map. Self-hosted and open source.
Docs · Playground · Roadmap · Blog · Discord

Try it
# a random admin password, kept in .shumoku/admin-password
install -d -m 700 .shumoku && openssl rand -base64 32 > .shumoku/admin-password
docker run -d --name shumoku -p 8080:8080 -v shumoku-data:/data \
-v "$PWD/.shumoku/admin-password:/run/secrets/shumoku_admin_password:ro" \
-e SHUMOKU_BOOTSTRAP_ADMIN_PASSWORD_FILE=/run/secrets/shumoku_admin_password \
-e DEMO_MODE=true \
ghcr.io/konoe-akitoshi/shumoku:latest
Open http://localhost:8080, sign in with the password in .shumoku/admin-password, and open Sample Network.
Remove -e DEMO_MODE=true to start with an empty server, then add your own sources. Compose, Kubernetes (Helm) and systemd are in the
Server Setup Guide.
No Docker at hand? Draw a network from YAML in the Playground.

What you get
Traffic on the links |
Alerts on the map |
Drawn the way you would draw it |
The same network, the same diagram |
Also in the Server: dashboards that combine maps and metric widgets, and read-only share links.
Where the data comes from
| Source | What Shumoku reads |
|---|---|
| NetBox | Devices, cables end to end, virtual chassis, clusters, VLANs and prefixes |
| Zabbix | Hosts, LLDP neighbor links, traffic and alerts |
| SNMP / LLDP | Interfaces and LLDP neighbors, read from the devices |
| Prometheus | Link traffic (SNMP / node exporter), hosts and Alertmanager alerts |
| Grafana | Alerts, by webhook or Alertmanager |
| Arista CV-CUE · Huawei NCE-Campus · New Relic | Devices, links, metrics and alerts from each service |
| Aruba Instant On | Devices, metrics and alerts |
| YAML | A network written by hand, in the YAML format |
Several sources can describe one network. Shumoku matches the devices across them and draws one map.
Reading a subnet to find devices on its own is on the roadmap; today a device is registered, or comes from one of the sources above. To add a source of your own, see Plugin Authoring.
In the field

Shumoku ran in the NOC of JANOG57, a meeting of the Japan Network Operators' Group, on the live stream above (an earlier version of the drawing), and at Inter BEE 2026. More on the blog.
Why
Networks need maps, too. ネットワークにも、地図を。
A network diagram is drawn by hand, updated by hand, and slowly drifts away from the network. Shumoku treats the diagram as a generated view of the network: it is drawn from the data, and drawn again when the data changes. It still has to read like a diagram an engineer drew, so the layout is the part we work on most.
Read the full design philosophy.
For developers
The drawing engine is also a library, a CLI and an editor.
The layout is not force-directed and not ELK. Ranks, left-to-right order and wire routes are decided from the network's relations first, and coordinates are solved once at the end, so the same network gives the same drawing. See Architecture.
| Product | What it does | Path |
|---|---|---|
| Server | Maps with live traffic and alerts, dashboards, share links | apps/server |
| Library + CLI | A network YAML to SVG / HTML in Node or the browser, PNG in Node | libs/shumoku |
| Editor | Design a network visually and derive a bill of materials: editor.shumoku.dev | apps/editor |
YAML
name: Simple Network
groups:
- id: core
label: Core Layer
nodes:
- id: rt-01
label: Router 01
type: router
product: yamaha/rtx3510
group: core
- id: sw-01
label: Switch 01
type: l3-switch
group: core
links:
- endpoints:
- { node: rt-01, port: lan1 }
- { node: sw-01, port: ge-0/0/0 }
speed: 10G
Library
The rendering engine is also published to npm as standalone packages.
npm install shumoku
import { readNetworkModel, renderHtml } from 'shumoku'
const model = readNetworkModel(yamlString)
// Interactive HTML (pan / zoom / tooltips)
const html = renderHtml(model, { title: 'My Network' })
Need SVG or PNG instead? Use the dedicated renderers:
import { renderNetworkSvg } from '@shumoku/renderer-svg'
import { renderNetworkPng } from '@shumoku/renderer-png' // Node.js only
const svg = renderNetworkSvg(model)
const png = await renderNetworkPng(model, { scale: 2 })
CLI
npx @shumoku/cli render network.yaml -o diagram.svg
npx @shumoku/cli render network.yaml -f html -o diagram.html
npx @shumoku/cli render network.yaml -f png -o diagram.png --scale 3
Packages
| Package | Path | Description |
|---|---|---|
shumoku |
libs/shumoku |
All-in-one — core + SVG/HTML renderers |
@shumoku/core |
libs/@shumoku/core |
Models, YAML reader, the drawing engine (drawNetwork), themes, plugin kit |
@shumoku/renderer-svg |
libs/@shumoku/renderer-svg |
Thin wrapper: re-exports @shumoku/renderer/static (renderNetworkSvg, renderSceneSvg, drawNetworkScene) plus renderGraphToSvg and icon fetch helpers |
@shumoku/renderer-html |
libs/@shumoku/renderer-html |
Interactive HTML output |
@shumoku/renderer-png |
libs/@shumoku/renderer-png |
PNG output (Node.js, via resvg) |
@shumoku/renderer |
libs/@shumoku/renderer |
Canonical Svelte + static SVG renderer |
@shumoku/catalog |
libs/@shumoku/catalog |
Device / service catalog (vendor, model, sysObjectID) |
@shumoku/plugin-sdk |
libs/@shumoku/plugin-sdk |
HTTP client + pagination for data-source plugins |
@shumoku/cli |
apps/cli |
shumoku render command-line tool |
Data-source plugins live in libs/plugins: zabbix, prometheus, netbox, grafana, aruba-instant-on, arista-cv-cue, huawei-nce-campus, newrelic, network-scan.
Contributing
Setup, tests and pull requests are in CONTRIBUTING.md. The repository is a Bun workspaces +
Turborepo monorepo; each top-level directory has an index: apps/ · libs/ ·
examples/.
Documentation
- Server Guide — Setup, data sources, dashboards
- YAML Reference — Full YAML syntax
- Roadmap — What is being worked on, and what comes later
- Architecture — Monorepo overview, load pipeline, drawing engine
- Plugin Authoring — Writing a
DataSourcePlugin: capability mixins, data shapes, severity mapping
Community & governance
Shumoku is an open-source project led by @konoe-akitoshi. Contributions are welcome under the AGPL-3.0 license.
- Contributing — dev setup, pull requests, DCO sign-off
- Governance — roles, decision-making, releases
- Support — community help on GitHub · Commercial support — paid implementation / integration services
- Code of Conduct · Security · Brand guidelines · Name & logo story (Japanese)
- News: @shumoku_dev on X · Blog
License
Shumoku is free and open-source software, licensed under AGPL-3.0 (LICENSE).
For enterprise use, we provide paid commercial support and implementation services (deployment, NetBox/Zabbix integration, PoC, custom plugin development, priority handling) — separate from the open-source license, in collaboration with our commercial support partner. See COMMERCIAL_SUPPORT.md, or reach out at [email protected]. If AGPL-3.0 does not fit your use case, contact us to discuss the options.
Explore related projects
Loading…