# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Dillinger
spec:
    description: |
        Dillinger is a cloud-enabled, mobile-ready, HTML5 Markdown editor. Write and preview Markdown in real time with a clean split-pane interface — no database required.
    coverImage: https://dillinger.io/favicon.ico
    icon: https://dillinger.io/favicon.ico
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Dillinger
    tags:
        - Tool
        - Productivity
    readme: |
        # Dillinger

        A cloud-enabled, mobile-ready, HTML5 Markdown editor with live preview. Write Markdown on the left, see the rendered output on the right.

        ## What You Can Do After Deployment

        1. **Visit your domain** — Dillinger opens immediately with no login required
        2. **Write Markdown** — use the split-pane editor with real-time preview
        3. **Import files** — drag and drop Markdown files, or import from GitHub, Dropbox, Google Drive, or OneDrive
        4. **Export** — save your work as Markdown, HTML, or styled PDF
        5. **Link accounts** — connect GitHub, Bitbucket, Dropbox, Google Drive, or OneDrive for cloud storage

        ## Key Features

        - Real-time split-pane Markdown preview
        - Import/export Markdown, HTML, PDF
        - GitHub Flavored Markdown support
        - Cloud integrations (GitHub, Dropbox, Google Drive, OneDrive)
        - Offline-capable with HTML5 local storage
        - Mobile-friendly responsive design

        ## License

        MIT — [GitHub](https://github.com/joemccann/dillinger)
    services:
        - name: dillinger
          icon: https://dillinger.io/favicon.ico
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/dillinger:3.39.1
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Dillinger es un editor Markdown HTML5 en la nube, compatible con moviles. Escribe y previsualiza Markdown en tiempo real con una interfaz de panel dividido, sin base de datos.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Dillinger
        readme: |
            # Dillinger

            Editor Markdown HTML5 en la nube, compatible con moviles, con vista previa en tiempo real. Escribe Markdown a la izquierda, ve el resultado a la derecha.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — Dillinger se abre sin necesidad de iniciar sesion
            2. **Escribe Markdown** — usa el editor de panel dividido con vista previa en tiempo real
            3. **Importa archivos** — arrastra archivos Markdown, o importa desde GitHub, Dropbox, Google Drive u OneDrive
            4. **Exporta** — guarda tu trabajo como Markdown, HTML o PDF
            5. **Vincula cuentas** — conecta GitHub, Bitbucket, Dropbox, Google Drive u OneDrive para almacenamiento en la nube

            ## Licencia

            MIT — [GitHub](https://github.com/joemccann/dillinger)
    id-ID:
        description: |
            Dillinger adalah editor Markdown HTML5 berbasis cloud, siap mobile. Tulis dan pratinjau Markdown secara real-time dengan antarmuka panel terpisah, tanpa database.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Dillinger
        readme: |
            # Dillinger

            Editor Markdown HTML5 berbasis cloud, siap mobile, dengan pratinjau langsung. Tulis Markdown di kiri, lihat hasilnya di kanan.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — Dillinger langsung terbuka tanpa login
            2. **Tulis Markdown** — gunakan editor panel terpisah dengan pratinjau real-time
            3. **Impor file** — seret file Markdown, atau impor dari GitHub, Dropbox, Google Drive, OneDrive
            4. **Ekspor** — simpan sebagai Markdown, HTML, atau PDF
            5. **Hubungkan akun** — sambungkan GitHub, Bitbucket, Dropbox, Google Drive, atau OneDrive untuk penyimpanan cloud

            ## Lisensi

            MIT — [GitHub](https://github.com/joemccann/dillinger)
    ja-JP:
        description: |
            Dillinger はクラウド対応、モバイル対応の HTML5 Markdown エディタです。リアルタイムで Markdown を記述・プレビューでき、データベース不要です。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Dillinger にアクセスするためのドメイン
        readme: |
            # Dillinger

            クラウド対応・モバイル対応の HTML5 Markdown エディタ。左側で Markdown を記述し、右側でリアルタイムプレビュー。

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

            1. **ドメインにアクセス** — ログイン不要ですぐに使用可能
            2. **Markdown を記述** — 分割ペインエディタでリアルタイムプレビュー
            3. **ファイルをインポート** — Markdown ファイルをドラッグ＆ドロップ、または GitHub・Dropbox・Google Drive・OneDrive から取り込み
            4. **エクスポート** — Markdown、HTML、PDF として保存
            5. **アカウント連携** — GitHub、Bitbucket、Dropbox、Google Drive、OneDrive と連携してクラウド保存

            ## ライセンス

            MIT — [GitHub](https://github.com/joemccann/dillinger)
    ko-KR:
        description: |
            Dillinger는 클라우드 지원, 모바일 대응 HTML5 Markdown 편집기입니다. 실시간으로 Markdown을 작성하고 미리볼 수 있으며 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Dillinger에 접속할 도메인
        readme: |
            # Dillinger

            클라우드 지원, 모바일 대응 HTML5 Markdown 편집기. 왼쪽에서 Markdown을 작성하고 오른쪽에서 실시간 미리보기.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 로그인 없이 바로 사용 가능
            2. **Markdown 작성** — 분할 화면 편집기로 실시간 미리보기
            3. **파일 가져오기** — Markdown 파일 드래그 앤 드롭, 또는 GitHub, Dropbox, Google Drive, OneDrive에서 가져오기
            4. **내보내기** — Markdown, HTML, PDF로 저장
            5. **계정 연결** — GitHub, Bitbucket, Dropbox, Google Drive, OneDrive 연결하여 클라우드 저장

            ## 라이선스

            MIT — [GitHub](https://github.com/joemccann/dillinger)
    th-TH:
        description: |
            Dillinger เป็นโปรแกรมแก้ไข Markdown แบบ HTML5 บนคลาวด์ รองรับมือถือ เขียนและดูตัวอย่าง Markdown แบบเรียลไทม์ ไม่ต้องใช้ฐานข้อมูล
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Dillinger
        readme: |
            # Dillinger

            โปรแกรมแก้ไข Markdown แบบ HTML5 บนคลาวด์ รองรับมือถือ พร้อมตัวอย่างแบบเรียลไทม์ เขียน Markdown ด้านซ้าย ดูผลลัพธ์ด้านขวา

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

            1. **เข้าสู่โดเมน** — Dillinger เปิดใช้ได้ทันทีไม่ต้องเข้าสู่ระบบ
            2. **เขียน Markdown** — ใช้โปรแกรมแก้ไขแบบแบ่งหน้าจอ ดูตัวอย่างแบบเรียลไทม์
            3. **นำเข้าไฟล์** — ลากวางไฟล์ Markdown หรือนำเข้าจาก GitHub, Dropbox, Google Drive, OneDrive
            4. **ส่งออก** — บันทึกเป็น Markdown, HTML หรือ PDF
            5. **เชื่อมต่อบัญชี** — เชื่อมต่อ GitHub, Bitbucket, Dropbox, Google Drive หรือ OneDrive สำหรับจัดเก็บบนคลาวด์

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

            MIT — [GitHub](https://github.com/joemccann/dillinger)
    zh-CN:
        description: |
            Dillinger 是云端即用、支持移动设备的 HTML5 Markdown 编辑器。实时编写与预览 Markdown，简洁的分栏界面，无需数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Dillinger 的域名
        readme: |
            # Dillinger

            云端即用、支持移动设备的 HTML5 Markdown 编辑器，支持实时预览。左侧编写 Markdown，右侧实时渲染。

            ## 部署后可以做什么

            1. **打开域名** — Dillinger 无需登录即可使用
            2. **编写 Markdown** — 使用分栏编辑器，实时预览
            3. **导入文件** — 拖放 Markdown 文件，或从 GitHub、Dropbox、Google Drive、OneDrive 导入
            4. **导出** — 将内容保存为 Markdown、HTML 或 PDF
            5. **关联账号** — 连接 GitHub、Bitbucket、Dropbox、Google Drive 或 OneDrive 进行云端存储

            ## 授权

            MIT — [GitHub](https://github.com/joemccann/dillinger)
    zh-TW:
        description: |
            Dillinger 是雲端即用、支援行動裝置的 HTML5 Markdown 編輯器。即時撰寫與預覽 Markdown，介面簡潔的分割面板，無需資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Dillinger 的網域
        readme: |
            # Dillinger

            雲端即用、支援行動裝置的 HTML5 Markdown 編輯器，支援即時預覽。左側撰寫 Markdown，右側即時呈現結果。

            ## 部署後可以做什麼

            1. **開啟網域** — Dillinger 無需登入即可使用
            2. **撰寫 Markdown** — 使用分割面板編輯器，即時預覽
            3. **匯入檔案** — 拖放 Markdown 檔案，或從 GitHub、Dropbox、Google Drive、OneDrive 匯入
            4. **匯出** — 將內容儲存為 Markdown、HTML 或 PDF
            5. **連結帳號** — 連結 GitHub、Bitbucket、Dropbox、Google Drive 或 OneDrive 進行雲端儲存

            ## 授權

            MIT — [GitHub](https://github.com/joemccann/dillinger)
