v2.1.8 "Azimuth" · free & open source · MIT

If it isn't diagrammed, it's just a rumor.

Free Mermaid network diagramming, from the data you already have

NerdGram1337 is a free, local Mermaid editor for network diagramming. Build network diagrams from command output (CDP, LLDP, routing and ARP tables), or from CSV, JSON or Visio, keep them as a real .mmd file on disk, and export SVG, PNG, JPG or PDF.

docker pull ghcr.io/networknerd1337/nerdgram1337:latest
  • No account
  • No paywall
  • No AI generation
  • Runs on your machine
HQ.mmd
Live preview Rendered diagram: Internet to Firewall to Core, Core to two access switches in an HQ campus group, and a dotted WAN link to Sites/Atlanta

Paste neighbor output from

  • Cisco IOS
  • IOS-XE
  • NX-OS
  • Arista EOS
  • Juniper Junos
  • ArubaOS-CX
  • HPE Comware
  • Dell OS10
  • Extreme EXOS
  • MikroTik RouterOS
  • Linux lldpd

// why NerdGram

Not a better mousetrap. Fewer mice.

The big-name diagramming apps are great tools, perfect if your network diagram doubles as a gallery piece. NerdGram1337 is for the rest of us, who just need the map to match the network by Friday. The drawing is fine the day it's made. The pain is everything after that day: keeping it current, knowing what changed, and trusting it on a bridge call at 2 AM.

NerdGram1337 goes after that pain. The picture comes from text, the text can come from your real data, and the file stays yours.

Read the story behind it →

“People don't want a better trap. They want the mice gone.”

Ryan Huff, creator of NerdGram1337

// how it works

From show cdp neighbors to a diagram you can trust

  1. 01

    Paste or import

    Write Mermaid, paste Mermaid, or open From data with a CSV, JSON, network JSON, CDP, LLDP, show ip route, or ARP and MAC paste. Auto-detect picks the format.

  2. 02

    Preview and check

    Type on one side, watch the preview render on the other. Diagram checks flag problems while you type, before they turn into a broken picture.

  3. 03

    Refresh, export, share

    When the network changes, refresh from data. Hand edits outside the generated block stay put. Export SVG, PNG, JPG or PDF, or sync to a private GitHub repo you own.

// features

A free, open source network diagram tool built for the job

Everything below ships in the free, MIT-licensed app today.

Code-first .mmd files

Every diagram is a plain Mermaid file in a folder. Diff it, search it, review it, and keep it in version control next to your configs.

Generate from data

CSV, JSON, network JSON, Cisco CDP, vendor-neutral LLDP, Cisco show ip route, and ARP plus MAC tables. A link seen from both ends becomes one edge.

Refresh without losing edits

Generated lines live between markers. Refresh shows what was added, removed or changed, and leaves your notes, styling and hand-added nodes alone.

Local and private

No account, no hosted service, no paywall. It listens only on your machine by default and doesn't need the internet to edit, preview or export.

Exports and design exports

SVG, PNG, JPG and PDF. Design exports write a pyATS testbed, a containerlab, CML, GNS3 or EVE-NG lab, or an Ansible or Nornir inventory. Credentials are placeholders.

API, CLI and MCP

A token-protected REST API at /api/v1 for scripts and CI, the nerdgram CLI on npm, and an MCP server so a client can list, read, lint, render and update diagrams.

Import Visio and Lucid

Bring a Visio .vsdx drawing or a Lucid CSV or JSON export in as a Mermaid flowchart, one diagram per page or just the page you pick.

History, trash and compare

See what a diagram looked like before somebody “fixed” it. Compare side by side, restore from trash, and link one diagram to another.

Optional GitHub sync

Turn it on and your diagrams copy to a private repository you own, using an OAuth app you register in your own GitHub account. Leave it off and nothing leaves the box.

// try it

Text in. Topology out.

This playground renders Mermaid right here in your browser with mermaid.js, the same engine NerdGram1337 uses. Edit the text and watch the diagram follow. The real app adds files, checks, history, data import and exports.

Playground.mmd

// quick start

Up and running in a couple of commands

Pick one install at a time. Both production and development want port 8787. Full details live in the install guide.

Docker is the install to use when you just want the app.

1 · Pull the image
docker pull ghcr.io/networknerd1337/nerdgram1337:latest
2 · Run it
docker run -d \
  --name nerdgram1337 \
  --restart unless-stopped \
  -p 127.0.0.1:8787:8787 \
  -e NERDGRAM_DATA_DIR=/data \
  -e NERDGRAM_INSTALL=docker \
  -v nerdgram-data:/data \
  ghcr.io/networknerd1337/nerdgram1337:latest

3 · Open http://127.0.0.1:8787. Sample diagrams are waiting for you.

// watch

See it in action

A 30-second explainer of what NerdGram1337 is and why network diagrams belong in code. A fuller product demo will land here later.

Want to go deeper? The docs walk through every feature in plain language, and new walkthroughs will land on the NetworkNerd1337 YouTube channel.

// help

Questions? There's a place for that.

Is it really free?

Yes. NerdGram1337 is MIT licensed, with no account, no hosted service, no paywall and no AI generation. If it helps you, a Ko-fi donation, a star on GitHub, or a good bug report all help.

Does my data leave this machine?

No, unless you turn on GitHub sync. The app doesn't need the internet to edit, preview or export. The only call out to GitHub is the update check, and only when you use it.

Is this a Visio or Lucidchart replacement?

Not really, and that's on purpose. It isn't a freeform drawing canvas: the picture comes from the text. If you need pixel-perfect placement of every icon, those tools are still great at that. NerdGram1337 is about diagrams that stay accurate and easy to update.

Does it log in to my devices or tools?

No. You produce the output (CDP, LLDP, routing tables, CSV, JSON) and NerdGram1337 parses it. It doesn't call NetBox, LibreNMS or pyATS, and design exports use placeholder credentials. A script or cron job can POST the data you already collect to the API.

Will a refresh overwrite my hand edits?

No. Generated lines sit between %% nerdgram:generated markers. Refresh rewrites only that block. Notes, theme and anything outside the markers stay, including nodes you added by hand.

Can a team share it?

It's a local, single-user tool with no accounts or roles. Two or three people can still share a folder or one process on a network they trust. See Team use.

Is there a mobile app?

Not yet. A narrow window stacks the editor panes, and Present fills the window.

NetworkNerd1337 avatar: a cartoon network engineer holding a tablet with a network diagram and a Wi-Fi coffee mug

Free today. Free tomorrow.

NerdGram1337 is a gift to the open-source community, built and maintained by NetworkNerd1337. A donation helps fund continued development and feature prioritization. A star or an issue helps just as much.

// contact

Say hello

Feedback, ideas, or just want to tell me how you're using NerdGram1337? Drop a note. For bugs, a GitHub issue is the fastest way to a fix.

Email: ryan@networknerd1337.com