{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "caru-ini-stack-diagram--export-and-share-your-diagram",
 "repo": "caru-ini/stack-diagram",
 "repo_url": "https://github.com/caru-ini/stack-diagram",
 "repo_slug": "caru-ini-stack-diagram",
 "title": "Export a diagram as HTML, PNG or React",
 "page_title": "How to export a diagram as HTML, PNG or React with Stack Diagram",
 "summary": "Pick the format you need and share it as an artifact or in a repo.",
 "who": "A team that wants the diagram in a wiki, a README or a Claude artifact.",
 "problem": "A diagram is only useful if it fits where your docs live.",
 "outcome": "A self-contained HTML file, PNG, dependency-free React component or Artifact.",
 "steps": [
  "Draw your stack with the skill",
  "Ask for the format you need: self-contained HTML file (default), PNG, a React component, or an Artifact",
  "For PNG export make sure Playwright with Chromium is available",
  "Drop the file into a repo or wiki, or publish it as a Claude artifact"
 ],
 "agent_prompt": "Using the stack-diagram skill, draw <stack> and export it as <HTML, PNG, React component or Artifact>.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "The agent offers once to post the diagram to a public gallery and only posts after you say yes twice.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "An agent that supports skills",
  "Python 3.9+",
  "Network access for the logos",
  "Playwright with Chromium for PNG export"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/caru-ini-stack-diagram/export-and-share-your-diagram/",
 "md": "https://dedupedai.com/use-cases/caru-ini-stack-diagram/export-and-share-your-diagram/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/caru-ini-stack-diagram--export-and-share-your-diagram.json",
 "api_version": "v1"
}
