Skip to content
Yell edited this page Aug 25, 2026 · 2 revisions

Welcome to the Markdy Wiki

Markdy
Open-source diagram-as-code DSL for animated architecture & system design explainers.


⚑ Quick Navigation Portal


πŸš€ Interactive Links


πŸ’‘ What is Markdy?

Markdy is a diagram-as-code DSL built specifically for animated architecture diagrams and system-design explainers. Instead of drawing static boxes in visual design apps, you declare semantic nodes, groups, flows, and timed beats in plain text β€” Markdy compiles smooth 60fps Web Animations directly in the browser.

scene "Cache-Aside Architecture" theme=paper
layout LR

browser Client "Web Client"
gateway Gateway "API Gateway"
service Shortener "URL Service"
cache Redis "Redis Cluster"
database Postgres "PostgreSQL 16"

group app "Application Tier": Gateway Shortener
group data "Persistence Tier": Redis Postgres

beat hit "1. Sub-2ms Cache Hit Path":
  show $nodes stagger=60ms
  frame Client Gateway Shortener Redis zoom=1.1
  Client -> Gateway "GET /x9" -> Shortener "resolve"
  Shortener -> Redis "GET slug:x9"
  Shortener <- Redis "200 Target URL"
  Client <- Gateway "301 Redirect"

beat miss "2. Cache Miss Fallback & Async Warm":
  frame Shortener Redis Postgres zoom=1.15
  Shortener -> Postgres "SELECT destination WHERE slug = 'x9'"
  Shortener <- Postgres "Row Found"
  Shortener ~> Redis "SETEX slug:url (Warm Cache)"
  glow Postgres color=#38bdf8 & glow Redis color=#22c55e

Clone this wiki locally