# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: PlantUML Server
spec:
    description: |
        PlantUML Server is a web application that generates UML diagrams on-the-fly from plain text descriptions. Supports sequence, class, activity, component, state, and many other diagram types with a built-in editor and live preview.
    coverImage: https://raw.githubusercontent.com/plantuml/plantuml-server/master/docs/screenshot.png
    icon: https://avatars.githubusercontent.com/u/5711322?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access PlantUML Server
    tags:
        - Tool
        - Development
    readme: |
        # PlantUML Server

        A web application that generates UML diagrams on-the-fly from plain text descriptions. Write diagram code and see results instantly.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the PlantUML editor is ready immediately
        2. **Write diagram code** — use PlantUML syntax to describe your diagrams
        3. **See live preview** — diagrams render automatically as you type
        4. **Export diagrams** — download as PNG, SVG, ASCII art, or PDF
        5. **Share via URL** — each diagram has a unique URL for sharing

        ## Key Features

        - Sequence, class, activity, component, state diagrams and more
        - Built-in web editor with syntax highlighting
        - Live preview as you type
        - Export to PNG, SVG, ASCII art, PDF, and LaTeX
        - URL-based diagram encoding for easy sharing
        - REST API for integration with other tools
        - Support for themes and styling
        - Stateless — no data storage needed

        ## License

        GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    services:
        - name: plantuml-server
          icon: https://avatars.githubusercontent.com/u/5711322?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: plantuml/plantuml-server:v1.2026.2
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            env:
                BASE_URL:
                    default: ${ZEABUR_WEB_URL}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            PlantUML Server es una aplicación web que genera diagramas UML en tiempo real a partir de descripciones en texto plano. Soporta secuencia, clases, actividad y muchos otros tipos de diagramas.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a PlantUML Server
        readme: |
            # PlantUML Server

            Aplicación web que genera diagramas UML en tiempo real desde texto plano. Escribe el código del diagrama y ve los resultados al instante.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — el editor PlantUML está listo de inmediato
            2. **Escribe código de diagrama** — usa la sintaxis PlantUML para describir diagramas
            3. **Vista previa en vivo** — los diagramas se renderizan automáticamente al escribir
            4. **Exporta diagramas** — descarga en PNG, SVG, arte ASCII o PDF
            5. **Comparte por URL** — cada diagrama tiene una URL única

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    id-ID:
        description: |
            PlantUML Server adalah aplikasi web yang menghasilkan diagram UML secara real-time dari deskripsi teks biasa. Mendukung sequence, class, activity, dan banyak jenis diagram lainnya.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses PlantUML Server
        readme: |
            # PlantUML Server

            Aplikasi web yang menghasilkan diagram UML secara real-time dari teks biasa. Tulis kode diagram dan lihat hasilnya langsung.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — editor PlantUML langsung siap digunakan
            2. **Tulis kode diagram** — gunakan sintaks PlantUML untuk mendeskripsikan diagram
            3. **Pratinjau langsung** — diagram dirender otomatis saat mengetik
            4. **Ekspor diagram** — unduh sebagai PNG, SVG, ASCII art, atau PDF
            5. **Bagikan via URL** — setiap diagram memiliki URL unik

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    ja-JP:
        description: |
            PlantUML Server はプレーンテキストからUML図をリアルタイムに生成するWebアプリケーションです。シーケンス図、クラス図、アクティビティ図など多数の図に対応。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: PlantUML Server にアクセスするためのドメイン
        readme: |
            # PlantUML Server

            プレーンテキストからUML図をリアルタイム生成するWebアプリ。コードを書くだけで即座に結果を確認。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — PlantUMLエディタがすぐに使えます
            2. **図のコードを記述** — PlantUML構文で図を定義
            3. **リアルタイムプレビュー** — 入力と同時に図が自動レンダリング
            4. **図をエクスポート** — PNG、SVG、ASCIIアート、PDFでダウンロード
            5. **URLで共有** — 各図にユニークなURLが生成

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    ko-KR:
        description: |
            PlantUML Server는 일반 텍스트에서 UML 다이어그램을 실시간으로 생성하는 웹 애플리케이션입니다. 시퀀스, 클래스, 액티비티 다이어그램 등 다양한 유형을 지원합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: PlantUML Server에 접속할 도메인
        readme: |
            # PlantUML Server

            일반 텍스트에서 UML 다이어그램을 실시간 생성하는 웹 앱. 코드를 작성하면 즉시 결과를 확인.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — PlantUML 편집기가 바로 사용 가능
            2. **다이어그램 코드 작성** — PlantUML 구문으로 다이어그램 정의
            3. **실시간 미리보기** — 입력과 동시에 자동 렌더링
            4. **다이어그램 내보내기** — PNG, SVG, ASCII 아트, PDF로 다운로드
            5. **URL로 공유** — 각 다이어그램에 고유 URL 생성

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    th-TH:
        description: |
            PlantUML Server เป็นเว็บแอปที่สร้างไดอะแกรม UML แบบเรียลไทม์จากข้อความธรรมดา รองรับ sequence, class, activity และไดอะแกรมอีกหลายประเภท
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง PlantUML Server
        readme: |
            # PlantUML Server

            เว็บแอปที่สร้างไดอะแกรม UML แบบเรียลไทม์จากข้อความธรรมดา เขียนโค้ดไดอะแกรมแล้วเห็นผลลัพธ์ทันที

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — ตัวแก้ไข PlantUML พร้อมใช้ทันที
            2. **เขียนโค้ดไดอะแกรม** — ใช้ไวยากรณ์ PlantUML อธิบายไดอะแกรม
            3. **ดูตัวอย่างแบบเรียลไทม์** — ไดอะแกรมเรนเดอร์อัตโนมัติขณะพิมพ์
            4. **ส่งออกไดอะแกรม** — ดาวน์โหลดเป็น PNG, SVG, ASCII art หรือ PDF
            5. **แชร์ผ่าน URL** — แต่ละไดอะแกรมมี URL เฉพาะ

            ## สัญญาอนุญาต

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    zh-CN:
        description: |
            PlantUML Server 是一个从纯文本描述实时生成 UML 图的网页应用。支持序列图、类图、活动图等多种类型，内置编辑器与实时预览。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 PlantUML Server 的域名
        readme: |
            # PlantUML Server

            从纯文本描述实时生成 UML 图的网页应用。编写图表代码，即时看到结果。

            ## 部署后可以做什么

            1. **打开域名** — PlantUML 编辑器立即可用
            2. **编写图表代码** — 使用 PlantUML 语法描述图表
            3. **实时预览** — 输入时图表自动渲染
            4. **导出图表** — 下载为 PNG、SVG、ASCII art 或 PDF
            5. **通过 URL 分享** — 每个图表都有唯一的 URL

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
    zh-TW:
        description: |
            PlantUML Server 是一個從純文字描述即時生成 UML 圖的網頁應用。支援序列圖、類別圖、活動圖等多種類型，內建編輯器與即時預覽。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 PlantUML Server 的網域
        readme: |
            # PlantUML Server

            從純文字描述即時生成 UML 圖的網頁應用。撰寫圖表程式碼，即時看到結果。

            ## 部署後可以做什麼

            1. **開啟網域** — PlantUML 編輯器立即可用
            2. **撰寫圖表程式碼** — 使用 PlantUML 語法描述圖表
            3. **即時預覽** — 輸入時圖表自動渲染
            4. **匯出圖表** — 下載為 PNG、SVG、ASCII art 或 PDF
            5. **透過 URL 分享** — 每個圖表都有唯一的 URL

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/plantuml/plantuml-server)
