# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Morphos
spec:
    description: |
        Morphos is a self-hosted file conversion server written in Go. Convert images and documents between formats privately through a clean web UI or REST API -- no third-party cloud services involved. Supports common image formats with document conversion coming soon.
    coverImage: https://raw.githubusercontent.com/danvergara/morphos/main/docs/static/img/screenshot.png
    icon: https://raw.githubusercontent.com/danvergara/morphos/main/docs/static/img/logo.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Morphos
    tags:
        - Tool
        - Productivity
    readme: |
        # Morphos

        A self-hosted file conversion server for private file format conversion. Convert images and documents through a web UI or REST API without relying on third-party services.

        ## What You Can Do After Deployment

        1. **Visit your domain** -- open the web interface
        2. **Upload a file** -- drag and drop or select a file to convert
        3. **Choose output format** -- select the target format from available options
        4. **Download the result** -- get your converted file instantly
        5. **Use the API** -- integrate file conversion into your workflows via REST API

        ## Key Features

        - Clean, drag-and-drop web interface
        - Image format conversion (PNG, JPEG, GIF, BMP, TIFF, WebP, and more)
        - REST API for programmatic access
        - No external dependencies or databases
        - Written in Go for fast, efficient processing
        - Stateless design -- no data stored on the server
        - Lightweight single binary

        ## License

        MIT -- [GitHub](https://github.com/danvergara/morphos)
    services:
        - name: morphos
          icon: https://raw.githubusercontent.com/danvergara/morphos/main/docs/static/img/logo.svg
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/danvergara/morphos-server:v0.6.0
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            env: {}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Morphos es un servidor de conversion de archivos autoalojado escrito en Go. Convierte imagenes y documentos de forma privada a traves de una interfaz web o API REST.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Morphos
        readme: |
            # Morphos

            Servidor de conversion de archivos autoalojado. Convierte imagenes y documentos de forma privada mediante interfaz web o API REST.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** -- abre la interfaz web
            2. **Sube un archivo** -- arrastra o selecciona un archivo para convertir
            3. **Elige el formato** -- selecciona el formato de salida deseado
            4. **Descarga el resultado** -- obtiene tu archivo convertido al instante
            5. **Usa la API** -- integra la conversion en tus flujos de trabajo

            ## Licencia

            MIT -- [GitHub](https://github.com/danvergara/morphos)
    id-ID:
        description: |
            Morphos adalah server konversi file self-hosted yang ditulis dalam Go. Konversi gambar dan dokumen secara privat melalui antarmuka web atau REST API tanpa layanan cloud pihak ketiga.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Morphos
        readme: |
            # Morphos

            Server konversi file self-hosted. Konversi gambar dan dokumen secara privat melalui antarmuka web atau REST API.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** -- buka antarmuka web
            2. **Unggah file** -- seret dan lepas atau pilih file untuk dikonversi
            3. **Pilih format output** -- pilih format tujuan dari opsi yang tersedia
            4. **Unduh hasil** -- dapatkan file yang dikonversi secara instan
            5. **Gunakan API** -- integrasikan konversi file ke alur kerja melalui REST API

            ## Lisensi

            MIT -- [GitHub](https://github.com/danvergara/morphos)
    ja-JP:
        description: |
            Morphos はGoで書かれたセルフホスト型ファイル変換サーバーです。クリーンなWeb UIまたはREST APIで画像やドキュメントをプライベートに変換。サードパーティ不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Morphos にアクセスするためのドメイン
        readme: |
            # Morphos

            セルフホスト型ファイル変換サーバー。Web UIまたはREST APIで画像やドキュメントをプライベートに変換。

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

            1. **ドメインにアクセス** -- Webインターフェースを開く
            2. **ファイルをアップロード** -- ドラッグ＆ドロップまたはファイルを選択
            3. **出力形式を選択** -- 利用可能なオプションから変換先を選択
            4. **結果をダウンロード** -- 変換済みファイルを即座に取得
            5. **APIを使用** -- REST APIでワークフローに統合

            ## ライセンス

            MIT -- [GitHub](https://github.com/danvergara/morphos)
    ko-KR:
        description: |
            Morphos는 Go로 작성된 셀프 호스팅 파일 변환 서버입니다. 깔끔한 웹 UI 또는 REST API를 통해 이미지와 문서를 비공개로 변환합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Morphos에 접속할 도메인
        readme: |
            # Morphos

            셀프 호스팅 파일 변환 서버. 웹 UI 또는 REST API로 이미지와 문서를 비공개로 변환.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** -- 웹 인터페이스 열기
            2. **파일 업로드** -- 드래그 앤 드롭 또는 파일 선택
            3. **출력 형식 선택** -- 사용 가능한 옵션에서 대상 형식 선택
            4. **결과 다운로드** -- 변환된 파일을 즉시 받기
            5. **API 사용** -- REST API로 워크플로우에 통합

            ## 라이선스

            MIT -- [GitHub](https://github.com/danvergara/morphos)
    th-TH:
        description: |
            Morphos เป็นเซิร์ฟเวอร์แปลงไฟล์แบบ self-hosted เขียนด้วย Go แปลงรูปภาพและเอกสารแบบส่วนตัวผ่าน Web UI หรือ REST API โดยไม่ต้องใช้บริการคลาวด์
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Morphos
        readme: |
            # Morphos

            เซิร์ฟเวอร์แปลงไฟล์ self-hosted แปลงรูปภาพและเอกสารแบบส่วนตัวผ่าน Web UI หรือ REST API

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

            1. **เข้าสู่โดเมน** -- เปิดอินเทอร์เฟซเว็บ
            2. **อัปโหลดไฟล์** -- ลากและวางหรือเลือกไฟล์ที่จะแปลง
            3. **เลือกรูปแบบผลลัพธ์** -- เลือกรูปแบบเป้าหมายจากตัวเลือก
            4. **ดาวน์โหลดผลลัพธ์** -- รับไฟล์ที่แปลงแล้วทันที
            5. **ใช้ API** -- รวมการแปลงไฟล์เข้ากับเวิร์กโฟลว์ผ่าน REST API

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

            MIT -- [GitHub](https://github.com/danvergara/morphos)
    zh-CN:
        description: |
            Morphos 是用 Go 编写的自托管文件转换服务器。通过简洁的网页界面或 REST API 私密地转换图片与文档格式，无需第三方云服务。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Morphos 的域名
        readme: |
            # Morphos

            自托管的文件转换服务器，私密地转换文件格式。通过网页界面或 REST API 转换图片与文档。

            ## 部署后可以做什么

            1. **打开域名** -- 打开网页界面
            2. **上传文件** -- 拖放或选择要转换的文件
            3. **选择输出格式** -- 从可用选项中选择目标格式
            4. **下载结果** -- 立即获取转换后的文件
            5. **使用 API** -- 通过 REST API 将文件转换集成到工作流程

            ## 授权

            MIT -- [GitHub](https://github.com/danvergara/morphos)
    zh-TW:
        description: |
            Morphos 是以 Go 撰寫的自架檔案轉換伺服器。透過簡潔的網頁介面或 REST API 私密地轉換圖片與文件格式，無需第三方雲端服務。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Morphos 的網域
        readme: |
            # Morphos

            自架的檔案轉換伺服器，私密地轉換檔案格式。透過網頁介面或 REST API 轉換圖片與文件。

            ## 部署後可以做什麼

            1. **開啟網域** -- 開啟網頁介面
            2. **上傳檔案** -- 拖放或選擇要轉換的檔案
            3. **選擇輸出格式** -- 從可用選項中選擇目標格式
            4. **下載結果** -- 立即取得轉換後的檔案
            5. **使用 API** -- 透過 REST API 整合檔案轉換到工作流程

            ## 授權

            MIT -- [GitHub](https://github.com/danvergara/morphos)
