# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: TubeSync
spec:
    description: |
        TubeSync is a PVR (Personal Video Recorder) for YouTube. It monitors YouTube channels and playlists, automatically downloading new videos as they are published. It includes a web dashboard for managing sources and monitoring downloads.
    coverImage: https://avatars.githubusercontent.com/u/2082077
    icon: https://avatars.githubusercontent.com/u/2082077
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access TubeSync
    tags:
        - Tool
        - Media
    readme: |
        # TubeSync

        A PVR (Personal Video Recorder) for YouTube. Monitors channels and playlists, automatically downloading new videos as they are published. Includes a web dashboard for managing sources and downloads.

        ## What You Can Do After Deployment

        1. **Visit your domain** — open the TubeSync dashboard
        2. **Add sources** — subscribe to YouTube channels or playlists to monitor
        3. **Configure quality** — set preferred video resolution and format
        4. **Monitor downloads** — track download progress and history from the dashboard
        5. **Organize media** — downloaded videos are stored in the `/downloads` volume
        6. **Schedule checks** — TubeSync periodically checks for new videos automatically

        ## Key Features

        - YouTube channel and playlist monitoring
        - Automatic video downloading
        - Configurable video quality and format
        - Web-based management dashboard
        - Download scheduling and history
        - Media organization with metadata
        - SQLite storage (no external database needed)

        ## License

        AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    services:
        - name: tubesync
          icon: https://avatars.githubusercontent.com/u/2082077
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/meeb/tubesync:v0.17.1
            ports:
                - id: web
                  port: 4848
                  type: HTTP
            volumes:
                - id: tubesync-config
                  dir: /config
                - id: tubesync-downloads
                  dir: /downloads
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
                TZ:
                    default: UTC
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            TubeSync es un PVR (grabador de video personal) para YouTube. Monitorea canales y listas de reproduccion, descargando automaticamente nuevos videos cuando se publican.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a TubeSync
        readme: |
            # TubeSync

            PVR para YouTube. Monitorea canales y listas de reproduccion, descargando automaticamente nuevos videos. Panel web para gestionar fuentes y descargas.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — abre el panel de TubeSync
            2. **Agrega fuentes** — suscribete a canales o listas de reproduccion de YouTube
            3. **Configura calidad** — elige resolucion y formato preferidos
            4. **Monitorea descargas** — rastrea progreso e historial desde el panel

            ## Licencia

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    id-ID:
        description: |
            TubeSync adalah PVR (Perekam Video Pribadi) untuk YouTube. Memantau saluran dan daftar putar YouTube, secara otomatis mengunduh video baru saat dipublikasikan.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses TubeSync
        readme: |
            # TubeSync

            PVR untuk YouTube. Memantau saluran dan daftar putar, mengunduh video baru secara otomatis. Dasbor web untuk mengelola sumber dan unduhan.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — buka dasbor TubeSync
            2. **Tambahkan sumber** — berlangganan saluran atau daftar putar YouTube
            3. **Konfigurasi kualitas** — pilih resolusi dan format yang diinginkan
            4. **Pantau unduhan** — lacak progres dan riwayat dari dasbor

            ## Lisensi

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    ja-JP:
        description: |
            TubeSync は YouTube 用の PVR（パーソナルビデオレコーダー）です。YouTube チャンネルとプレイリストを監視し、新しい動画が公開されると自動的にダウンロードします。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: TubeSync にアクセスするためのドメイン
        readme: |
            # TubeSync

            YouTube 用 PVR。チャンネルとプレイリストを監視し、新しい動画を自動ダウンロード。Web ダッシュボードでソースとダウンロードを管理。

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

            1. **ドメインにアクセス** — TubeSync ダッシュボードを開く
            2. **ソースを追加** — YouTube チャンネルやプレイリストを登録
            3. **品質を設定** — 動画の解像度とフォーマットを選択
            4. **ダウンロードを監視** — ダッシュボードで進捗と履歴を確認

            ## ライセンス

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    ko-KR:
        description: |
            TubeSync는 YouTube용 PVR(개인 비디오 레코더)입니다. YouTube 채널과 재생목록을 모니터링하고 새 동영상이 게시되면 자동으로 다운로드합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: TubeSync에 접속할 도메인
        readme: |
            # TubeSync

            YouTube용 PVR. 채널과 재생목록을 모니터링하고 새 동영상을 자동 다운로드. 웹 대시보드로 소스와 다운로드 관리.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — TubeSync 대시보드 열기
            2. **소스 추가** — YouTube 채널이나 재생목록 구독
            3. **품질 설정** — 선호하는 해상도와 포맷 선택
            4. **다운로드 모니터링** — 대시보드에서 진행 상황 확인

            ## 라이선스

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    th-TH:
        description: |
            TubeSync เป็น PVR (เครื่องบันทึกวิดีโอส่วนบุคคล) สำหรับ YouTube ติดตามช่องและเพลย์ลิสต์ YouTube ดาวน์โหลดวิดีโอใหม่โดยอัตโนมัติเมื่อเผยแพร่
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง TubeSync
        readme: |
            # TubeSync

            PVR สำหรับ YouTube ติดตามช่องและเพลย์ลิสต์ ดาวน์โหลดวิดีโอใหม่อัตโนมัติ แดชบอร์ดเว็บสำหรับจัดการแหล่งที่มาและดาวน์โหลด

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

            1. **เข้าสู่โดเมน** — เปิดแดชบอร์ด TubeSync
            2. **เพิ่มแหล่งที่มา** — สมัครรับช่องหรือเพลย์ลิสต์ YouTube
            3. **ตั้งค่าคุณภาพ** — เลือกความละเอียดและรูปแบบที่ต้องการ
            4. **ตรวจสอบดาวน์โหลด** — ติดตามความคืบหน้าจากแดชบอร์ด

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

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    zh-CN:
        description: |
            TubeSync 是 YouTube 的 PVR（个人录像机）。监控 YouTube 频道和播放列表，在新视频发布时自动下载。包含 Web 仪表板管理来源和监控下载。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 TubeSync 的域名
        readme: |
            # TubeSync

            YouTube 的 PVR（个人录像机）。监控频道和播放列表，新视频发布时自动下载。包含 Web 仪表板管理来源和下载。

            ## 部署后可以做什么

            1. **打开域名** — 进入 TubeSync 仪表板
            2. **添加来源** — 订阅 YouTube 频道或播放列表进行监控
            3. **配置质量** — 选择偏好的视频分辨率和格式
            4. **监控下载** — 从仪表板追踪下载进度和历史记录
            5. **整理媒体** — 下载的视频存储在 `/downloads` 卷中

            ## 许可证

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
    zh-TW:
        description: |
            TubeSync 是 YouTube 的 PVR（個人錄影機）。監控 YouTube 頻道和播放清單，在新影片發布時自動下載。包含網頁儀表板管理來源和監控下載。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 TubeSync 的網域
        readme: |
            # TubeSync

            YouTube 的 PVR（個人錄影機）。監控頻道和播放清單，新影片發布時自動下載。包含網頁儀表板管理來源和下載。

            ## 部署後可以做什麼

            1. **開啟網域** — 進入 TubeSync 儀表板
            2. **新增來源** — 訂閱 YouTube 頻道或播放清單進行監控
            3. **設定品質** — 選擇偏好的影片解析度和格式
            4. **監控下載** — 從儀表板追蹤下載進度和歷史記錄
            5. **整理媒體** — 下載的影片儲存在 `/downloads` 卷中
            6. **排程檢查** — TubeSync 會自動定期檢查新影片

            ## 授權

            AGPL-3.0 — [GitHub](https://github.com/meeb/tubesync)
