# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Exatorrent
spec:
    description: |
        Exatorrent is a self-hosted BitTorrent client written in Go. It features a built-in web UI, streaming support in the browser or external media players, and uses embedded BoltDB — no external database required. Single binary, lightweight, and easy to deploy.
    coverImage: https://raw.githubusercontent.com/varbhat/exatorrent/main/docs/screenshots/files.png
    icon: https://avatars.githubusercontent.com/u/33919078
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Exatorrent
        - key: PASSWORD
          type: PASSWORD
          name: Password
          description: Password for the admin user
    tags:
        - Tool
        - Media
    readme: |
        # Exatorrent

        A self-hosted BitTorrent client with a clean web UI. Written in Go as a single binary with embedded BoltDB storage — no external database needed.

        ## What You Can Do After Deployment

        Visit your domain to access the web interface. Add torrents via magnet links or .torrent files.

        **Stream in browser:** Play video and audio files directly in your browser while they download — no need to wait for completion.

        **External player support:** Stream to VLC, mpv, or other media players using the provided stream URLs.

        **File management:** Select which files to download from multi-file torrents. Browse, download, or delete completed files through the web UI.

        **Lightweight:** Single Go binary with embedded BoltDB. Minimal resource usage suitable for small VPS or cloud instances.

        ## Configuration

        - **Password:** Set via the `PASSWORD` environment variable (generated automatically on first deploy)
        - **Default username:** `adminuser`
        - **Data directory:** Torrent data is stored in the `/exa/exadir` volume

        ## License

        GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    services:
        - name: exatorrent
          icon: https://avatars.githubusercontent.com/u/33919078
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/varbhat/exatorrent:v1.3.0
            ports:
                - id: web
                  port: 5000
                  type: HTTP
            volumes:
                - id: data
                  dir: /exa/exadir
            env:
                EXA_ADMIN_PASSWORD:
                    default: ${PASSWORD}
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Exatorrent es un cliente BitTorrent autoalojado escrito en Go. Interfaz web integrada, streaming en el navegador y BoltDB embebido — sin base de datos externa. Binario único y ligero.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Exatorrent
            - key: PASSWORD
              type: STRING
              name: Contraseña
              description: Contraseña del administrador
        readme: |
            # Exatorrent

            Cliente BitTorrent autoalojado con interfaz web. Binario único en Go con almacenamiento BoltDB embebido.

            ## Qué puedes hacer después del despliegue

            Visita tu dominio para acceder a la interfaz web. Agrega torrents mediante enlaces magnéticos o archivos .torrent.

            **Streaming en el navegador:** Reproduce videos y audio directamente mientras se descargan.

            **Gestión de archivos:** Selecciona qué archivos descargar de torrents con múltiples archivos.

            ## Configuración

            - Contraseña: variable de entorno `PASSWORD`
            - Usuario por defecto: `adminuser`

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    id-ID:
        description: |
            Exatorrent adalah klien BitTorrent self-hosted yang ditulis dalam Go. Dilengkapi web UI bawaan, streaming di browser, dan BoltDB tertanam — tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Exatorrent
            - key: PASSWORD
              type: STRING
              name: Kata Sandi
              description: Kata sandi administrator
        readme: |
            # Exatorrent

            Klien BitTorrent self-hosted dengan web UI. Binary tunggal Go dengan penyimpanan BoltDB tertanam.

            ## Apa yang bisa dilakukan setelah deploy

            Buka domain Anda untuk mengakses web interface. Tambahkan torrent melalui magnet link atau file .torrent.

            **Streaming di browser:** Putar video dan audio langsung di browser saat mengunduh.

            **Manajemen file:** Pilih file yang ingin diunduh dari torrent multi-file.

            ## Konfigurasi

            - Kata sandi: variabel lingkungan `PASSWORD`
            - Username default: `adminuser`

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    ja-JP:
        description: |
            ExatorrentはGoで書かれたセルフホストのBitTorrentクライアントです。内蔵WebUI、ブラウザ内ストリーミング、組み込みBoltDBを搭載。外部データベース不要の単一バイナリ。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Exatorrentにアクセスするためのドメイン
            - key: PASSWORD
              type: STRING
              name: パスワード
              description: 管理者パスワード
        readme: |
            # Exatorrent

            セルフホストのBitTorrentクライアント。Go単一バイナリ、組み込みBoltDBストレージ。

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

            ドメインにアクセスしてWebインターフェースを使用。マグネットリンクや.torrentファイルでトレントを追加。

            **ブラウザ内ストリーミング：** ダウンロード中にブラウザで直接再生可能。

            **ファイル管理：** マルチファイルトレントから必要なファイルを選択してダウンロード。

            ## 設定

            - パスワード：`PASSWORD` 環境変数で設定
            - デフォルトユーザー名：`adminuser`

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    ko-KR:
        description: |
            Exatorrent은 Go로 작성된 셀프호스팅 BitTorrent 클라이언트입니다. 내장 웹 UI, 브라우저 내 스트리밍, 임베디드 BoltDB를 사용하며 외부 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Exatorrent에 접속할 도메인
            - key: PASSWORD
              type: STRING
              name: 비밀번호
              description: 관리자 비밀번호
        readme: |
            # Exatorrent

            셀프호스팅 BitTorrent 클라이언트. Go 단일 바이너리, 임베디드 BoltDB 스토리지.

            ## 배포 후 할 수 있는 것

            도메인에 접속하여 웹 인터페이스를 사용합니다. 마그넷 링크나 .torrent 파일로 토렌트를 추가합니다.

            **브라우저 내 스트리밍:** 다운로드 중에 브라우저에서 직접 재생 가능.

            **파일 관리:** 멀티파일 토렌트에서 원하는 파일을 선택하여 다운로드.

            ## 설정

            - 비밀번호: `PASSWORD` 환경 변수로 설정
            - 기본 사용자명: `adminuser`

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    th-TH:
        description: |
            Exatorrent คือ BitTorrent client แบบ self-hosted เขียนด้วย Go มี web UI ในตัว รองรับ streaming ผ่านเบราว์เซอร์ ใช้ BoltDB แบบฝังตัว — ไม่ต้องการฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Exatorrent
            - key: PASSWORD
              type: STRING
              name: รหัสผ่าน
              description: รหัสผ่านผู้ดูแลระบบ
        readme: |
            # Exatorrent

            BitTorrent client แบบ self-hosted พร้อม web UI ไฟล์เดียวจาก Go พร้อม BoltDB ในตัว

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

            เปิดโดเมนเพื่อเข้าสู่หน้าเว็บ เพิ่ม torrent ผ่าน magnet link หรือไฟล์ .torrent

            **สตรีมในเบราว์เซอร์:** เล่นวิดีโอและเสียงในเบราว์เซอร์ขณะดาวน์โหลด

            **จัดการไฟล์:** เลือกไฟล์ที่ต้องการดาวน์โหลดจาก torrent หลายไฟล์

            ## การตั้งค่า

            - รหัสผ่าน: ตัวแปร `PASSWORD`
            - ชื่อผู้ใช้เริ่มต้น: `adminuser`

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

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    zh-CN:
        description: |
            Exatorrent 是用 Go 编写的自托管 BitTorrent 客户端。内置 Web 界面，支持浏览器内流媒体播放，使用嵌入式 BoltDB——无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Exatorrent 的域名
            - key: PASSWORD
              type: STRING
              name: 密码
              description: 管理员密码
        readme: |
            # Exatorrent

            自托管 BitTorrent 客户端，具有简洁的 Web 界面。Go 单二进制文件，嵌入式 BoltDB 存储。

            ## 部署后可以做什么

            打开域名进入 Web 界面。通过磁力链接或 .torrent 文件添加种子。

            **浏览器内串流：** 下载过程中直接在浏览器播放视频和音频。

            **文件管理：** 选择多文件种子中要下载的文件，浏览、下载或删除已完成文件。

            ## 设置

            - 密码：通过 `PASSWORD` 环境变量设置
            - 默认用户名：`adminuser`

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
    zh-TW:
        description: |
            Exatorrent 是用 Go 編寫的自架 BitTorrent 客戶端。內建網頁介面，支援瀏覽器內串流播放，使用嵌入式 BoltDB 資料庫——不需要外部資料庫。單一執行檔，輕量且易於部署。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Exatorrent 的網域
            - key: PASSWORD
              type: STRING
              name: 密碼
              description: 管理員密碼
        readme: |
            # Exatorrent

            自架的 BitTorrent 客戶端，具有簡潔的網頁介面。使用 Go 編寫的單一執行檔，內嵌 BoltDB 儲存——不需要外部資料庫。

            ## 部署後可以做什麼

            開啟網域即可進入網頁介面。透過磁力連結或 .torrent 檔案新增種子。

            **瀏覽器內串流：** 在下載的同時直接在瀏覽器中播放影片和音訊。

            **外部播放器支援：** 使用串流 URL 在 VLC、mpv 等播放器中播放。

            **檔案管理：** 從多檔案種子中選擇要下載的檔案。透過網頁介面瀏覽、下載或刪除已完成的檔案。

            ## 設定

            - **密碼：** 透過 `PASSWORD` 環境變數設定（首次部署時自動產生）
            - **預設使用者名稱：** `adminuser`

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/varbhat/exatorrent)
