# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Gopeed
spec:
    description: |
        Gopeed is a modern, high-speed download manager supporting HTTP, BitTorrent, Magnet, and ED2K protocols. Features a clean web UI for managing downloads, built with Golang and Flutter for cross-platform performance.
    coverImage: https://github.com/GopeedLab.png
    icon: https://github.com/GopeedLab.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Gopeed
    tags:
        - Tool
        - Productivity
    readme: |
        # Gopeed

        A modern, high-speed download manager with a web UI. Supports HTTP, BitTorrent, Magnet links, and ED2K protocols. Built with Golang for maximum download performance.

        ## Default Credentials

        - **Username**: not required by default
        - To enable authentication, set `GOPEED_API_TOKEN` in environment variables

        ## What You Can Do After Deployment

        1. **Visit your domain** — the Gopeed web UI is ready immediately
        2. **Add downloads** — paste URLs, magnet links, or upload torrent files
        3. **Manage tasks** — pause, resume, delete, and prioritize downloads
        4. **Configure settings** — set download limits, concurrent connections, and storage paths
        5. **Install extensions** — add browser extensions or community plugins
        6. **Use the API** — automate downloads via the REST API

        ## Key Features

        - HTTP, HTTPS, BitTorrent, Magnet, and ED2K protocol support
        - Multi-connection downloads for maximum speed
        - BitTorrent with DHT, PEX, and uTP support
        - Download queue with priority management
        - Browser extension support (Chrome, Firefox)
        - REST API for automation
        - Extension system for custom protocols
        - Clean, modern web interface

        ## License

        GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    services:
        - name: gopeed
          icon: https://github.com/GopeedLab.png
          template: PREBUILT_V2
          spec:
            source:
                image: liwei2633/gopeed:v1.9.3
            ports:
                - id: web
                  port: 9999
                  type: HTTP
            volumes:
                - id: gopeed-storage
                  dir: /app/storage
                - id: gopeed-downloads
                  dir: /app/Downloads
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
                TZ:
                    default: UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Gopeed es un gestor de descargas moderno y rapido que soporta HTTP, BitTorrent, Magnet y ED2K. Incluye una interfaz web para gestionar descargas.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Gopeed
        readme: |
            # Gopeed

            Gestor de descargas moderno y rapido con interfaz web. Soporta HTTP, BitTorrent, Magnet y ED2K.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — la interfaz web esta lista inmediatamente
            2. **Anade descargas** — pega URLs, enlaces magnet o sube archivos torrent
            3. **Gestiona tareas** — pausa, reanuda, elimina y prioriza descargas
            4. **Configura** — limites de descarga, conexiones simultaneas y rutas
            5. **Instala extensiones** — anade extensiones de navegador o plugins
            6. **Usa la API** — automatiza descargas via REST API

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    id-ID:
        description: |
            Gopeed adalah manajer unduhan modern berkecepatan tinggi yang mendukung HTTP, BitTorrent, Magnet, dan ED2K. Dilengkapi antarmuka web untuk mengelola unduhan.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Gopeed
        readme: |
            # Gopeed

            Manajer unduhan modern berkecepatan tinggi dengan antarmuka web. Mendukung HTTP, BitTorrent, Magnet, dan ED2K.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — antarmuka web langsung siap digunakan
            2. **Tambah unduhan** — tempel URL, tautan magnet, atau upload file torrent
            3. **Kelola tugas** — jeda, lanjutkan, hapus, dan atur prioritas unduhan
            4. **Konfigurasi** — batas unduhan, koneksi simultan, dan jalur penyimpanan
            5. **Install ekstensi** — tambahkan ekstensi browser atau plugin
            6. **Gunakan API** — otomatisasi unduhan melalui REST API

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    ja-JP:
        description: |
            Gopeed は HTTP、BitTorrent、Magnet、ED2K をサポートする高速ダウンロードマネージャーです。Web UI でダウンロードを管理できます。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Gopeed にアクセスするためのドメイン
        readme: |
            # Gopeed

            モダンな高速ダウンロードマネージャー。HTTP、BitTorrent、Magnet リンク、ED2K をサポート。

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

            1. **ドメインにアクセス** — Web UI がすぐに使えます
            2. **ダウンロードを追加** — URL、マグネットリンク、トレントファイルを追加
            3. **タスクを管理** — 一時停止、再開、削除、優先度変更
            4. **設定** — ダウンロード制限、同時接続数、保存パスを設定
            5. **拡張機能をインストール** — ブラウザ拡張やプラグインを追加
            6. **API を使用** — REST API でダウンロードを自動化

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    ko-KR:
        description: |
            Gopeed는 HTTP, BitTorrent, Magnet, ED2K를 지원하는 고속 다운로드 매니저입니다. 깔끔한 웹 UI로 다운로드를 관리할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Gopeed에 접속할 도메인
        readme: |
            # Gopeed

            모던한 고속 다운로드 매니저. HTTP, BitTorrent, Magnet 링크, ED2K 지원.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 웹 UI가 바로 사용 가능
            2. **다운로드 추가** — URL, 마그넷 링크, 토렌트 파일 추가
            3. **작업 관리** — 일시정지, 재개, 삭제, 우선순위 변경
            4. **설정** — 다운로드 제한, 동시 연결 수, 저장 경로 설정
            5. **확장 설치** — 브라우저 확장이나 플러그인 추가
            6. **API 사용** — REST API로 다운로드 자동화

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    th-TH:
        description: |
            Gopeed เป็นตัวจัดการดาวน์โหลดความเร็วสูง รองรับ HTTP, BitTorrent, Magnet และ ED2K พร้อม Web UI สำหรับจัดการดาวน์โหลด
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Gopeed
        readme: |
            # Gopeed

            ตัวจัดการดาวน์โหลดความเร็วสูง พร้อม Web UI รองรับ HTTP, BitTorrent, Magnet และ ED2K

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

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

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

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    zh-CN:
        description: |
            Gopeed 是现代化的高速下载管理器，支持 HTTP、BitTorrent、Magnet 和 ED2K 协议。提供简洁的 Web 界面管理下载，使用 Golang 和 Flutter 开发。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Gopeed 的域名
        readme: |
            # Gopeed

            现代化的高速下载管理器，提供 Web 界面。支持 HTTP、BitTorrent、Magnet 链接和 ED2K 协议。

            ## 部署后可以做什么

            1. **打开域名** — Gopeed Web 界面立即可用
            2. **添加下载** — 粘贴 URL、磁力链接或上传种子文件
            3. **管理任务** — 暂停、继续、删除和调整下载优先级
            4. **配置设置** — 设置下载限制、并发连接数和存储路径
            5. **安装扩展** — 添加浏览器扩展或社区插件
            6. **使用 API** — 通过 REST API 自动化下载

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
    zh-TW:
        description: |
            Gopeed 是現代化的高速下載管理器，支援 HTTP、BitTorrent、Magnet 和 ED2K 協定。提供簡潔的網頁介面管理下載，使用 Golang 和 Flutter 開發，跨平台高效能。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Gopeed 的網域
        readme: |
            # Gopeed

            現代化的高速下載管理器，提供網頁介面。支援 HTTP、BitTorrent、Magnet 連結和 ED2K 協定。

            ## 部署後可以做什麼

            1. **開啟網域** — Gopeed 網頁介面立即可用
            2. **新增下載** — 貼上 URL、磁力連結或上傳種子檔案
            3. **管理任務** — 暫停、繼續、刪除和調整下載優先順序
            4. **設定** — 設定下載限制、並行連接數和儲存路徑
            5. **安裝擴充** — 新增瀏覽器擴充或社群外掛
            6. **使用 API** — 透過 REST API 自動化下載

            ## 主要功能

            - 支援 HTTP、BitTorrent、Magnet 和 ED2K 協定
            - 多連接下載以達到最高速度
            - BitTorrent 支援 DHT、PEX 和 uTP
            - 下載佇列與優先順序管理
            - 瀏覽器擴充支援
            - REST API 自動化

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/GopeedLab/gopeed)
