# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: mStream
spec:
    description: |
        mStream is a personal music streaming server. Stream your music collection from anywhere with a web-based player featuring gapless playback, playlists, and a Milkdrop visualizer. No database required.
    coverImage: https://raw.githubusercontent.com/IrosTheBeggar/mStream/master/docs/designs/mstreamv5.png
    icon: https://avatars.githubusercontent.com/u/1396994?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access mStream
    tags:
        - Media
        - Entertainment
    readme: |
        # mStream

        A personal music streaming server. Stream your music library from anywhere through a web browser with gapless playback and playlist support.

        ## First-Time Setup

        1. **Visit your domain** — the mStream web player loads immediately
        2. **Configure via settings** — set up users and music library paths through the web UI or `config.json`
        3. **Upload music** — add files to the mounted music volume
        4. **Stream anywhere** — access your library from any device with a browser

        ## Key Features

        - Gapless playback
        - Milkdrop visualizer
        - Playlist creation and sharing
        - FLAC, MP3, OGG, and other format support
        - Album art display
        - Multi-user support
        - Mobile-friendly web interface
        - Scrobbling support

        ## License

        GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
    services:
        - name: mstream
          icon: https://avatars.githubusercontent.com/u/1396994?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/mstream:5.14.3
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: config
                  dir: /config
                - id: music
                  dir: /music
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            mStream es un servidor personal de streaming de música. Reproduce tu colección desde cualquier lugar con un reproductor web con reproducción sin pausas, listas y visualizador Milkdrop. Sin base de datos.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a mStream
        readme: |
            # mStream

            Servidor personal de streaming de música. Reproduce tu biblioteca musical desde cualquier lugar con un navegador. Reproducción sin pausas y listas de reproducción.

            ## Configuración inicial

            1. **Visita tu dominio** — el reproductor web se carga inmediatamente
            2. **Configura** — establece usuarios y rutas de la biblioteca en la interfaz web o `config.json`
            3. **Sube música** — añade archivos al volumen de música montado
            4. **Reproduce desde cualquier lugar** — accede a tu biblioteca desde cualquier dispositivo

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
    id-ID:
        description: |
            mStream adalah server streaming musik pribadi. Streaming koleksi musik Anda dari mana saja dengan pemutar web yang mendukung pemutaran tanpa jeda, playlist, dan visualizer Milkdrop. Tanpa database.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses mStream
        readme: |
            # mStream

            Server streaming musik pribadi. Streaming pustaka musik Anda dari mana saja melalui browser. Mendukung pemutaran tanpa jeda dan playlist.

            ## Pengaturan Awal

            1. **Buka domain** — pemutar web mStream langsung dimuat
            2. **Konfigurasi** — atur pengguna dan path pustaka musik melalui UI web atau `config.json`
            3. **Upload musik** — tambahkan file ke volume musik yang di-mount
            4. **Streaming di mana saja** — akses pustaka Anda dari perangkat apa pun

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
    ja-JP:
        description: |
            mStream はパーソナル音楽ストリーミングサーバーです。ギャップレス再生、プレイリスト、Milkdrop ビジュアライザー付きのウェブプレーヤーで音楽をストリーミング。データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: mStream にアクセスするためのドメイン
        readme: |
            # mStream

            パーソナル音楽ストリーミングサーバー。ブラウザからどこでも音楽ライブラリをストリーミング。ギャップレス再生とプレイリストに対応。

            ## 初回セットアップ

            1. **ドメインにアクセス** — mStream ウェブプレーヤーがすぐにロード
            2. **設定で構成** — Web UI または `config.json` でユーザーと音楽ライブラリパスを設定
            3. **音楽をアップロード** — マウントされた音楽ボリュームにファイルを追加
            4. **どこでもストリーミング** — ブラウザからどのデバイスでもアクセス

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
    ko-KR:
        description: |
            mStream은 개인 음악 스트리밍 서버입니다. 갭리스 재생, 재생목록, Milkdrop 비주얼라이저를 갖춘 웹 플레이어로 음악을 스트리밍합니다. 데이터베이스 불필요.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: mStream에 접속할 도메인
        readme: |
            # mStream

            개인 음악 스트리밍 서버. 브라우저에서 어디서든 음악 라이브러리를 스트리밍. 갭리스 재생과 재생목록 지원.

            ## 첫 설정

            1. **도메인 접속** — mStream 웹 플레이어가 즉시 로드
            2. **설정으로 구성** — 웹 UI 또는 `config.json`에서 사용자와 음악 라이브러리 경로 설정
            3. **음악 업로드** — 마운트된 음악 볼륨에 파일 추가
            4. **어디서든 스트리밍** — 브라우저로 모든 기기에서 접속

            ## 라이선스

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

            เซิร์ฟเวอร์สตรีมเพลงส่วนตัว สตรีมคลังเพลงจากทุกที่ผ่านเบราว์เซอร์ รองรับการเล่นไร้รอยต่อและเพลย์ลิสต์

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

            1. **เข้าสู่โดเมน** — เว็บเพลเยอร์ mStream โหลดทันที
            2. **ตั้งค่า** — กำหนดผู้ใช้และพาธคลังเพลงผ่าน UI หรือ `config.json`
            3. **อัปโหลดเพลง** — เพิ่มไฟล์ไปยังโวลุ่มเพลงที่ mount
            4. **สตรีมทุกที่** — เข้าถึงคลังเพลงจากอุปกรณ์ใดก็ได้

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

            GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
    zh-CN:
        description: |
            mStream 是个人音乐串流服务器。通过网页播放器串流你的音乐收藏，支持无缝播放、播放列表和 Milkdrop 可视化。无需数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 mStream 的域名
        readme: |
            # mStream

            个人音乐串流服务器。通过网页浏览器从任何地方串流你的音乐库，支持无缝播放和播放列表。

            ## 首次设置

            1. **打开域名** — mStream 网页播放器立即加载
            2. **通过设置配置** — 在网页界面或 `config.json` 中设置用户和音乐库路径
            3. **上传音乐** — 将文件添加到挂载的音乐卷
            4. **随时串流** — 从任何设备通过浏览器访问音乐库

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
    zh-TW:
        description: |
            mStream 是個人音樂串流伺服器。透過網頁播放器串流你的音樂收藏，支援無縫播放、播放清單和 Milkdrop 視覺效果。無需資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 mStream 的網域
        readme: |
            # mStream

            個人音樂串流伺服器。透過網頁瀏覽器從任何地方串流你的音樂庫，支援無縫播放和播放清單。

            ## 首次設定

            1. **開啟網域** — mStream 網頁播放器立即載入
            2. **透過設定配置** — 在網頁介面或 `config.json` 中設定使用者和音樂庫路徑
            3. **上傳音樂** — 將檔案加入掛載的音樂磁碟區
            4. **隨時串流** — 從任何裝置透過瀏覽器存取音樂庫

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/IrosTheBeggar/mStream)
