# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Cloud Torrent
spec:
    description: |
        Cloud Torrent is a self-hosted remote torrent client with a mobile-friendly web UI. Add magnet links or torrent files through the browser, and Cloud Torrent downloads them to the server. Stream or download completed files directly from the web interface. Single binary, no external dependencies.
    coverImage: https://user-images.githubusercontent.com/1033224/64239393-e0510900-cf46-11e9-9c42-567e6ee5e6d3.png
    icon: https://avatars.githubusercontent.com/u/1033224
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Cloud Torrent
    tags:
        - Tool
    readme: |
        # Cloud Torrent

        A self-hosted remote torrent client with a real-time web interface. Add torrents via magnet links or .torrent files, monitor download progress, and retrieve completed files -- all from your browser.

        ## What You Can Do After Deployment

        1. **Visit your domain** -- the Cloud Torrent web UI loads immediately
        2. **Add a torrent** -- paste a magnet link or upload a .torrent file
        3. **Monitor downloads** -- watch real-time progress in the browser
        4. **Download files** -- retrieve completed files directly through the web interface
        5. **Set authentication** (recommended) -- use `--auth user:pass` via the command or set environment variables to protect access

        ## Key Features

        - Mobile-friendly web UI with real-time download progress
        - Add torrents via magnet links or .torrent file upload
        - Stream or download completed files from the browser
        - Single binary with no external dependencies
        - Search for torrents directly from the web interface
        - RSS feed support for automated downloads
        - Configurable download directory and connection limits

        ## Configuration

        - **AUTH** -- set basic authentication credentials to protect the web UI
        - Downloads are stored in `/downloads` inside the container
        - Mount a volume to `/downloads` to persist downloaded files

        ## License

        AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    services:
        - name: cloud-torrent
          icon: https://avatars.githubusercontent.com/u/1033224
          template: PREBUILT_V2
          spec:
            id: cloud-torrent
            source:
                image: jpillora/cloud-torrent:0.9.4
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: downloads
                  dir: /downloads
            env:
                AUTH:
                    default: ""
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Cloud Torrent es un cliente de torrents remoto autoalojado con interfaz web adaptada a moviles. Agrega enlaces magnet o archivos torrent desde el navegador y descarga en el servidor.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Cloud Torrent
        readme: |
            # Cloud Torrent

            Cliente de torrents remoto autoalojado con interfaz web en tiempo real.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** -- la interfaz web carga inmediatamente
            2. **Agrega un torrent** -- pega un enlace magnet o sube un archivo .torrent
            3. **Monitorea descargas** -- progreso en tiempo real en el navegador
            4. **Descarga archivos** -- obtiene archivos completados desde la interfaz web
            5. **Configura autenticacion** (recomendado) -- protege el acceso con AUTH

            ## Caracteristicas

            - Interfaz web adaptada a moviles con progreso en tiempo real
            - Enlaces magnet y archivos .torrent
            - Streaming y descarga desde el navegador
            - Binario unico sin dependencias

            ## Licencia

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    id-ID:
        description: |
            Cloud Torrent adalah klien torrent jarak jauh self-hosted dengan UI web yang ramah mobile. Tambahkan magnet link atau file torrent melalui browser dan unduh di server.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Cloud Torrent
        readme: |
            # Cloud Torrent

            Klien torrent jarak jauh self-hosted dengan antarmuka web real-time.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** -- UI web Cloud Torrent langsung dimuat
            2. **Tambah torrent** -- tempel magnet link atau unggah file .torrent
            3. **Monitor unduhan** -- progres real-time di browser
            4. **Unduh file** -- ambil file selesai langsung dari antarmuka web
            5. **Atur autentikasi** (disarankan) -- lindungi akses dengan AUTH

            ## Fitur utama

            - UI web ramah mobile dengan progres real-time
            - Magnet link dan file .torrent
            - Streaming dan unduh dari browser
            - Binary tunggal tanpa dependensi

            ## Lisensi

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    ja-JP:
        description: |
            Cloud Torrentはセルフホスト型のリモートトレントクライアントです。モバイル対応のWeb UIからマグネットリンクやトレントファイルを追加し、サーバー上でダウンロード。完了ファイルはブラウザから直接取得できます。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Cloud Torrentにアクセスするためのドメイン
        readme: |
            # Cloud Torrent

            セルフホスト型リモートトレントクライアント。リアルタイムWeb UI付き。

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

            1. **ドメインにアクセス** -- Web UIがすぐに表示されます
            2. **トレントを追加** -- マグネットリンクまたは.torrentファイル
            3. **ダウンロード監視** -- ブラウザでリアルタイム進捗確認
            4. **ファイル取得** -- 完了ファイルをブラウザから直接ダウンロード
            5. **認証設定**（推奨）-- AUTHでアクセスを保護

            ## 主な機能

            - モバイル対応Web UI、リアルタイム進捗
            - マグネットリンク/トレントファイル対応
            - ブラウザからストリーミング/ダウンロード
            - 単一バイナリ、外部依存なし

            ## ライセンス

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    ko-KR:
        description: |
            Cloud Torrent는 셀프호스팅 원격 토렌트 클라이언트로 모바일 친화적인 웹 UI를 제공합니다. 브라우저에서 마그넷 링크나 토렌트 파일을 추가하고 서버에서 다운로드합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Cloud Torrent에 접속할 도메인
        readme: |
            # Cloud Torrent

            셀프호스팅 원격 토렌트 클라이언트. 실시간 웹 인터페이스 포함.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** -- 웹 UI가 즉시 로드됩니다
            2. **토렌트 추가** -- 마그넷 링크 또는 .torrent 파일
            3. **다운로드 모니터링** -- 브라우저에서 실시간 진행 상황 확인
            4. **파일 다운로드** -- 완료된 파일을 브라우저에서 직접 가져오기
            5. **인증 설정** (권장) -- AUTH로 접근 보호

            ## 주요 기능

            - 모바일 친화적 웹 UI, 실시간 진행 상황
            - 마그넷 링크/토렌트 파일 지원
            - 브라우저에서 스트리밍/다운로드
            - 단일 바이너리, 외부 의존성 없음

            ## 라이선스

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    th-TH:
        description: |
            Cloud Torrent คือไคลเอนต์ทอร์เรนต์ระยะไกลแบบ self-hosted พร้อม UI เว็บที่รองรับมือถือ เพิ่ม magnet link หรือไฟล์ทอร์เรนต์ผ่านเบราว์เซอร์และดาวน์โหลดบนเซิร์ฟเวอร์
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Cloud Torrent
        readme: |
            # Cloud Torrent

            ไคลเอนต์ทอร์เรนต์ระยะไกล self-hosted พร้อมอินเทอร์เฟซเว็บแบบเรียลไทม์

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

            1. **เข้าสู่โดเมน** -- UI เว็บของ Cloud Torrent โหลดทันที
            2. **เพิ่มทอร์เรนต์** -- วาง magnet link หรืออัปโหลดไฟล์ .torrent
            3. **ติดตามการดาวน์โหลด** -- ดูความคืบหน้าแบบเรียลไทม์
            4. **ดาวน์โหลดไฟล์** -- รับไฟล์ที่เสร็จแล้วจากเว็บ
            5. **ตั้งค่าการยืนยันตัวตน** (แนะนำ) -- ป้องกันด้วย AUTH

            ## ฟีเจอร์หลัก

            - UI เว็บรองรับมือถือ ความคืบหน้าแบบเรียลไทม์
            - magnet link และไฟล์ .torrent
            - สตรีมและดาวน์โหลดจากเบราว์เซอร์
            - ไฟล์เดียว ไม่มี dependency

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

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    zh-CN:
        description: |
            Cloud Torrent 是自托管的远程种子下载客户端，带有移动端友好的网页界面。通过浏览器添加磁力链接或种子文件，在服务器上下载。可直接从网页界面流式播放或下载完成的文件。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Cloud Torrent 的域名
        readme: |
            # Cloud Torrent

            自托管的远程种子下载客户端，带有实时网页界面。

            ## 部署后可以做什么

            1. **打开域名** -- Cloud Torrent 网页界面立即加载
            2. **添加种子** -- 粘贴磁力链接或上传 .torrent 文件
            3. **监控下载** -- 浏览器中实时查看进度
            4. **下载文件** -- 从网页界面直接获取完成的文件
            5. **设置认证**（建议）-- 设置 AUTH 保护访问

            ## 主要功能

            - 移动端友好的网页界面
            - 磁力链接或种子文件上传
            - 实时下载进度和文件管理
            - 单一可执行文件，无外部依赖

            ## 授权

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
    zh-TW:
        description: |
            Cloud Torrent 是自架的遠端種子下載客戶端，附帶手機友善的網頁介面。透過瀏覽器加入磁力連結或種子檔案，Cloud Torrent 會在伺服器上下載。可直接從網頁介面串流或下載完成的檔案。單一執行檔，無外部依賴。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Cloud Torrent 的網域
        readme: |
            # Cloud Torrent

            自架的遠端種子下載客戶端，附帶即時網頁介面。透過磁力連結或 .torrent 檔案新增種子，監控下載進度，並從瀏覽器取回完成的檔案。

            ## 部署後可以做什麼

            1. **開啟網域** -- Cloud Torrent 網頁介面立即載入
            2. **新增種子** -- 貼上磁力連結或上傳 .torrent 檔案
            3. **監控下載** -- 在瀏覽器中即時查看進度
            4. **下載檔案** -- 直接從網頁介面取回完成的檔案
            5. **設定認證**（建議）-- 設定 AUTH 保護存取

            ## 主要功能

            - 手機友善的網頁介面，即時下載進度
            - 磁力連結或種子檔案上傳
            - 從瀏覽器串流或下載完成的檔案
            - 單一執行檔，無外部依賴
            - 網頁介面內建搜尋功能

            ## 授權

            AGPL-3.0 -- [GitHub](https://github.com/jpillora/cloud-torrent)
