Static Mermaid and Excalidraw diagrams work great—until you want your GitHub README.md to actually show data flowing through your architecture like Stripe, Linear, or Vercel docs.

The catch? GitHub's Camo proxy strips all <script> tags and external assets inside Markdown SVGs. So GSAP, React Flow, and interactive HTML diagrams simply break when embedded in a README.

To solve this, I built wirepulse — a zero-dependency open-source Diagram-as-Code compiler and local/browser Visual Studio (MIT license) that compiles a compact text DSL (or existing Mermaid flowcharts!) into pure zero-JS animated SVGs.

👉 Try the Live Browser Studio (zero install, 100% client-side): rynia.github.io/wirepulse

👉 GitHub Repo (MIT): github.com/Rynia/wirepulse

How Zero-JS Animation Works Safely on GitHub

Instead of shipping JavaScript, wirepulse compiles everything into a single ~20 KB self-contained SVG:

  1. Pure CSS @keyframes + SVG <animateMotion>: Flowing dashed wires, glowing data packets moving along Bezier/orthogonal curves, pulse waves, and subtle active node LEDs.
  2. Automatic GitHub Light & Dark Mode: Uses CSS custom properties with @media (prefers-color-scheme: dark) so a single SVG adapts seamlessly to GitHub Light and GitHub Dark.
  3. Frame-0 & prefers-reduced-motion Safe: Every node, wire, arrow, and label is fully drawn at t = 0 so PDF exports, email previews, and reduced-motion browsers still look razor sharp.
  4. 30 Built-In Inline Vector Icons: Zero external <image> or CDN links that GitHub Camo could block—verified by a built-in CSP validator (wirepulse validate).

Clean DSL Syntax (.wp)

You don't even have to specify x/y coordinates—the layout engine computes a cycle-safe topological layered layout automatically (or you can drag nodes right on the canvas in Studio):

title: AI Coding Agent & MCP Runtime theme: auto direction: LR group client "Developer" color=cyan group runtime "Agent Harness" color=violet group tools "MCP Servers" color=emerald node ide "IDE / Terminal" sub="Claude Code · Cursor" icon=terminal color=cyan group=client pulse=true node agent "Agent Loop" sub="200k Context" icon=sparkles color=violet badge="LLM" group=runtime pulse=true node router "MCP Router" sub="JSON-RPC 2.0" icon=cpu color=blue group=runtime node repo "Codebase" sub="AST + Git Diffs" icon=git color=emerald group=tools ide -> agent "prompt" flow=packet color=cyan speed=fast agent <-> router "tools/call" flow=packet color=violet packets=2 router <-> repo "read / edit" flow=dash color=emerald 

Upgrade Existing Mermaid Diagrams in 1 Click

Already have a static Mermaid flowchart in your README? Click ✨ Import Mermaid in the Live Studio—or run it from your terminal:

# Convert Mermaid (.mmd) -> editable .wp with auto-inferred icons & colors npx wirepulse import architecture.mmd -o architecture.wp # Or compile Mermaid straight into an animated zero-JS SVG npx wirepulse build architecture.mmd -o docs/architecture.svg # Launch the local drag-and-drop Visual Studio npx wirepulse studio 

wirepulse automatically recognizes databases, Redis/caches, Kafka/queues, API gateways, browsers, and AI agents—assigning crisp icons, semantic colors, and animated flows automatically.

Try It & Contribute!

We also opened a few good first issue tickets (Catppuccin/Nord themes, Kubernetes/Docker/GraphQL icons, reusable GitHub Action, sequence diagram layout). Feedback and PRs are very welcome!