# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Gonic
spec:
    description: |
        Gonic is a lightweight, Subsonic-compatible music streaming server. Browse and stream your music collection from any Subsonic client or web browser with minimal resource usage and no runtime dependencies.
    coverImage: https://raw.githubusercontent.com/sentriz/gonic/master/.github/logo.png
    icon: https://avatars.githubusercontent.com/u/6832539
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Gonic
        - key: PASSWORD
          type: PASSWORD
          name: Password
          description: The initial admin password for Gonic
    tags:
        - Tool
        - Media
    readme: |
        # Gonic

        A lightweight, Subsonic-compatible music streaming server. Stream your music collection from any Subsonic client or web browser with minimal resource usage.

        ## What You Can Do After Deployment

        1. **Visit your domain** — log in with the default admin credentials to set up your library
        2. **Scan your music** — point Gonic at your /music volume and trigger a scan
        3. **Connect Subsonic clients** — use any Subsonic-compatible app (DSub, Ultrasonic, Submariner, etc.)
        4. **Stream anywhere** — listen to your music from any device with a browser or Subsonic client
        5. **Manage podcasts** — subscribe to and download podcasts directly

        ## Key Features

        - Subsonic API compatible
        - Web UI for browsing and playback
        - Multi-user support
        - Podcast support
        - On-the-fly audio transcoding
        - Scrobble to Last.fm and ListenBrainz
        - Low memory and CPU usage

        ## License

        GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    services:
        - name: gonic
          icon: https://avatars.githubusercontent.com/u/6832539
          template: PREBUILT_V2
          spec:
            source:
                image: sentriz/gonic:v0.20.1
            ports:
                - id: web
                  port: 4747
                  type: HTTP
            volumes:
                - id: gonic-data
                  dir: /data
                - id: gonic-music
                  dir: /music
            env:
                GONIC_DB_PATH:
                    default: /data/gonic.db
                GONIC_MUSIC_PATH:
                    default: /music
                GONIC_SCAN_INTERVAL:
                    default: "60"
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Gonic es un servidor de streaming de musica ligero y compatible con Subsonic. Transmite tu coleccion de musica desde cualquier cliente Subsonic o navegador con un uso minimo de recursos.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Gonic
            - key: PASSWORD
              type: STRING
              name: Contrasena
              description: La contrasena inicial de administrador de Gonic
        readme: |
            # Gonic

            Servidor de streaming de musica ligero y compatible con Subsonic. Transmite tu musica desde cualquier cliente o navegador.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — inicia sesion como administrador y configura tu biblioteca
            2. **Escanea tu musica** — apunta al volumen /music e inicia el escaneo
            3. **Conecta clientes Subsonic** — usa cualquier app compatible
            4. **Transmite desde cualquier lugar** — escucha desde cualquier dispositivo

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    id-ID:
        description: |
            Gonic adalah server streaming musik ringan yang kompatibel dengan Subsonic. Streaming koleksi musik Anda dari klien Subsonic atau browser apa pun dengan penggunaan sumber daya minimal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Gonic
            - key: PASSWORD
              type: STRING
              name: Kata Sandi
              description: Kata sandi admin awal Gonic
        readme: |
            # Gonic

            Server streaming musik ringan yang kompatibel dengan Subsonic. Streaming musik dari klien atau browser apa pun.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — login sebagai admin dan atur perpustakaan musik
            2. **Pindai musik** — arahkan ke volume /music dan mulai pemindaian
            3. **Hubungkan klien Subsonic** — gunakan aplikasi yang kompatibel
            4. **Streaming dari mana saja** — dengarkan dari perangkat apa pun

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    ja-JP:
        description: |
            Gonic は軽量な Subsonic 互換の音楽ストリーミングサーバーです。任意の Subsonic クライアントやブラウザから音楽コレクションをストリーミングできます。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Gonic にアクセスするためのドメイン
            - key: PASSWORD
              type: STRING
              name: パスワード
              description: Gonic の初期管理者パスワード
        readme: |
            # Gonic

            軽量な Subsonic 互換の音楽ストリーミングサーバー。任意のクライアントやブラウザから音楽をストリーミング。

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

            1. **ドメインにアクセス** — 管理者アカウントでログインしライブラリを設定
            2. **音楽をスキャン** — /music ボリュームを指定してスキャン開始
            3. **Subsonic クライアントを接続** — 任意の互換アプリを使用
            4. **どこでもストリーミング** — 任意のデバイスから音楽を再生

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    ko-KR:
        description: |
            Gonic은 가벼운 Subsonic 호환 음악 스트리밍 서버입니다. 모든 Subsonic 클라이언트나 브라우저에서 음악 컬렉션을 스트리밍할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Gonic에 접속할 도메인
            - key: PASSWORD
              type: STRING
              name: 비밀번호
              description: Gonic 초기 관리자 비밀번호
        readme: |
            # Gonic

            가벼운 Subsonic 호환 음악 스트리밍 서버. 모든 클라이언트나 브라우저에서 음악을 스트리밍.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 관리자 계정으로 로그인하여 라이브러리 설정
            2. **음악 스캔** — /music 볼륨을 지정하고 스캔 시작
            3. **Subsonic 클라이언트 연결** — 호환 앱 사용
            4. **어디서나 스트리밍** — 모든 기기에서 음악 재생

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    th-TH:
        description: |
            Gonic เป็นเซิร์ฟเวอร์สตรีมเพลงน้ำหนักเบาที่เข้ากันได้กับ Subsonic สตรีมคอลเลกชันเพลงจากไคลเอนต์ Subsonic หรือเบราว์เซอร์ใดก็ได้ด้วยการใช้ทรัพยากรน้อย
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Gonic
            - key: PASSWORD
              type: STRING
              name: รหัสผ่าน
              description: รหัสผ่านแอดมินเริ่มต้นของ Gonic
        readme: |
            # Gonic

            เซิร์ฟเวอร์สตรีมเพลงน้ำหนักเบาที่เข้ากันได้กับ Subsonic สตรีมเพลงจากไคลเอนต์หรือเบราว์เซอร์ใดก็ได้

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

            1. **เข้าสู่โดเมน** — ล็อกอินเป็นแอดมินและตั้งค่าคลังเพลง
            2. **สแกนเพลง** — ชี้ไปที่โวลุ่ม /music และเริ่มสแกน
            3. **เชื่อมต่อไคลเอนต์ Subsonic** — ใช้แอปที่เข้ากันได้
            4. **สตรีมจากทุกที่** — ฟังเพลงจากอุปกรณ์ใดก็ได้

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

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    zh-CN:
        description: |
            Gonic 是一个轻量级、兼容 Subsonic 的音乐流媒体服务器。通过任何 Subsonic 客户端或浏览器浏览和串流您的音乐收藏，资源占用极低。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Gonic 的域名
            - key: PASSWORD
              type: STRING
              name: 密码
              description: Gonic 的初始管理员密码
        readme: |
            # Gonic

            轻量级、兼容 Subsonic 的音乐流媒体服务器。通过任何 Subsonic 客户端或浏览器串流您的音乐收藏。

            ## 部署后可以做什么

            1. **打开域名** — 使用默认管理员账号登录设置音乐库
            2. **扫描音乐** — 将 Gonic 指向 /music 卷并触发扫描
            3. **连接 Subsonic 客户端** — 使用任何兼容 Subsonic 的应用
            4. **随处串流** — 从任何设备收听音乐
            5. **管理播客** — 订阅和下载播客

            ## 许可证

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
    zh-TW:
        description: |
            Gonic 是一個輕量級、相容 Subsonic 的音樂串流伺服器。透過任何 Subsonic 客戶端或瀏覽器瀏覽和串流您的音樂收藏，資源佔用極低。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Gonic 的網域
            - key: PASSWORD
              type: STRING
              name: 密碼
              description: Gonic 的初始管理員密碼
        readme: |
            # Gonic

            輕量級、相容 Subsonic 的音樂串流伺服器。透過任何 Subsonic 客戶端或瀏覽器串流您的音樂收藏。

            ## 部署後可以做什麼

            1. **開啟網域** — 使用預設管理員帳號登入設定音樂庫
            2. **掃描音樂** — 將 Gonic 指向 /music 磁碟區並觸發掃描
            3. **連接 Subsonic 客戶端** — 使用任何相容 Subsonic 的應用程式
            4. **隨處串流** — 從任何裝置聆聽音樂
            5. **管理 Podcast** — 訂閱和下載 Podcast

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/sentriz/gonic)
