Kroki

API

Diagram rendering API for PlantUML, Mermaid, Graphviz, D2 and more

Fiyat
Free, open source
Erişim
None

Hakkında

Open-source HTTP API that turns text diagram sources such as PlantUML, Mermaid, Graphviz, D2 and BPMN into SVG, PNG or PDF. A free public instance runs at kroki.io, and you can self-host it with Docker. MIT licensed.

Neler yapabilirsin

  • Render Mermaid, PlantUML or Graphviz text into SVG or PNG images
  • Embed diagrams in docs with a GET URL that encodes the diagram source
  • Self-host a diagram server with Docker for private documentation

Başlarken

  1. POST the diagram source to https://kroki.io; no key is needed
  2. Or run the yuzutech/kroki Docker image yourself

Örnek kod

curl -X POST https://kroki.io/ \
  -H "Content-Type: application/json" \
  -d '{"diagram_source": "digraph G {Hello->World}", "diagram_type": "graphviz", "output_format": "svg"}' \
  -o diagram.svg

Ayrıntılar

Barındırma
Hazır hizmet (bulut), Kendi sunucunda
Kullanılabildiği yerler
Tüm dünya
MCP sunucusu
Yok

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .