# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: EmulatorJS
spec:
    description: |
        EmulatorJS is a self-hosted retro game emulator that runs entirely in the browser. Supports NES, SNES, Game Boy, N64, PlayStation, Sega, and many more consoles with a built-in ROM management UI.
    coverImage: https://raw.githubusercontent.com/EmulatorJS/EmulatorJS/main/docs/Logo.png
    icon: https://avatars.githubusercontent.com/u/86049672
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access EmulatorJS
    tags:
        - Entertainment
        - Tool
    readme: |
        # EmulatorJS

        Self-hosted retro game emulator running entirely in the browser. Upload your own ROM files and play classic games from NES, SNES, Game Boy, N64, PlayStation, Sega Genesis, and 30+ other systems.

        ## What You Can Do After Deployment

        1. **Open your domain** — the EmulatorJS management interface loads
        2. **Upload ROMs** — drag and drop ROM files into the appropriate system folder
        3. **Scan library** — the system automatically detects and organizes your games
        4. **Play in browser** — click any game to launch the emulator with gamepad support
        5. **Save states** — save and load game progress directly in the browser

        ## Supported Systems

        - Nintendo: NES, SNES, N64, Game Boy, GBA, DS
        - Sony: PlayStation 1
        - Sega: Master System, Genesis/Mega Drive, Game Gear, Saturn
        - Atari: 2600, 7800, Jaguar, Lynx
        - And many more (30+ systems total)

        ## License

        GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    services:
        - name: emulatorjs
          icon: https://avatars.githubusercontent.com/u/86049672
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/emulatorjs:1.9.2
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: config
                  dir: /config
                - id: data
                  dir: /data
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            EmulatorJS es un emulador de juegos retro autohospedado que funciona completamente en el navegador. Soporta NES, SNES, Game Boy, N64, PlayStation, Sega y mas de 30 sistemas.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a EmulatorJS
        readme: |
            # EmulatorJS

            Emulador de juegos retro autohospedado que funciona en el navegador. Sube tus archivos ROM y juega clasicos de mas de 30 sistemas.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — la interfaz de gestion carga
            2. **Sube ROMs** — arrastra y suelta archivos ROM en la carpeta del sistema correspondiente
            3. **Escanea la biblioteca** — el sistema detecta y organiza juegos automaticamente
            4. **Juega en el navegador** — haz clic en cualquier juego, soporte de gamepad
            5. **Estados de guardado** — guarda y carga progreso en el navegador

            ## Sistemas soportados

            - Nintendo: NES, SNES, N64, Game Boy, GBA, DS
            - Sony: PlayStation 1
            - Sega: Master System, Genesis, Game Gear, Saturn
            - Atari: 2600, 7800, Jaguar, Lynx

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    id-ID:
        description: |
            EmulatorJS adalah emulator game retro self-hosted yang berjalan sepenuhnya di browser. Mendukung NES, SNES, Game Boy, N64, PlayStation, Sega, dan 30+ sistem lainnya.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses EmulatorJS
        readme: |
            # EmulatorJS

            Emulator game retro self-hosted yang berjalan di browser. Upload file ROM dan mainkan game klasik dari 30+ sistem.

            ## Yang Dapat Dilakukan Setelah Deploy

            1. **Buka domain** — antarmuka manajemen dimuat
            2. **Upload ROM** — drag and drop file ROM ke folder sistem yang sesuai
            3. **Scan library** — sistem otomatis mendeteksi dan mengorganisir game
            4. **Main di browser** — klik game untuk memulai emulator, dukungan gamepad
            5. **Save state** — simpan dan muat progres di browser

            ## Sistem yang Didukung

            - Nintendo: NES, SNES, N64, Game Boy, GBA, DS
            - Sony: PlayStation 1
            - Sega: Master System, Genesis, Game Gear, Saturn
            - Atari: 2600, 7800, Jaguar, Lynx

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    ja-JP:
        description: |
            EmulatorJSはブラウザで動作するセルフホスト型レトロゲームエミュレーターです。NES、SNES、Game Boy、N64、PlayStation、Segaなど30以上のシステムに対応。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: EmulatorJSにアクセスするためのドメイン
        readme: |
            # EmulatorJS

            ブラウザで完全に動作するセルフホスト型レトロゲームエミュレーター。ROMファイルをアップロードして30以上のクラシックシステムのゲームをプレイ。

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

            1. **ドメインにアクセス** — 管理インターフェースがロード
            2. **ROMをアップロード** — ファイルを対応するフォルダにドラッグ＆ドロップ
            3. **ライブラリをスキャン** — ゲームを自動検出・整理
            4. **ブラウザでプレイ** — ゲームをクリックしてエミュレーター起動、ゲームパッド対応
            5. **セーブステート** — ブラウザ内で進行状況を保存・ロード

            ## 対応システム

            - 任天堂：NES、SNES、N64、Game Boy、GBA、DS
            - Sony：PlayStation 1
            - Sega：Master System、Genesis、Game Gear、Saturn
            - Atari：2600、7800、Jaguar、Lynx

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    ko-KR:
        description: |
            EmulatorJS는 브라우저에서 실행되는 셀프 호스팅 레트로 게임 에뮬레이터입니다. NES, SNES, Game Boy, N64, PlayStation, Sega 등 30개 이상의 시스템을 지원합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: EmulatorJS에 접속할 도메인
        readme: |
            # EmulatorJS

            브라우저에서 완전히 실행되는 셀프 호스팅 레트로 게임 에뮬레이터. ROM 파일을 업로드하고 30개 이상의 클래식 시스템 게임을 플레이하세요.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 관리 인터페이스 로드
            2. **ROM 업로드** — 해당 시스템 폴더에 드래그 앤 드롭
            3. **라이브러리 스캔** — 게임 자동 감지 및 정리
            4. **브라우저에서 플레이** — 게임 클릭으로 에뮬레이터 시작, 게임패드 지원
            5. **세이브 스테이트** — 브라우저에서 진행 상황 저장 및 로드

            ## 지원 시스템

            - 닌텐도: NES, SNES, N64, Game Boy, GBA, DS
            - Sony: PlayStation 1
            - Sega: Master System, Genesis, Game Gear, Saturn
            - Atari: 2600, 7800, Jaguar, Lynx

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    th-TH:
        description: |
            EmulatorJS เป็นอีมูเลเตอร์เกมย้อนยุคแบบ self-hosted ที่ทำงานในเบราว์เซอร์ รองรับ NES, SNES, Game Boy, N64, PlayStation, Sega และอีกกว่า 30 ระบบ
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง EmulatorJS
        readme: |
            # EmulatorJS

            อีมูเลเตอร์เกมย้อนยุคแบบ self-hosted ที่ทำงานในเบราว์เซอร์ อัปโหลดไฟล์ ROM แล้วเล่นเกมคลาสสิกจากกว่า 30 ระบบ

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

            1. **เปิดโดเมน** — หน้าจัดการโหลดขึ้นมา
            2. **อัปโหลด ROM** — ลากและวางไฟล์ ROM ไปยังโฟลเดอร์ระบบที่เหมาะสม
            3. **สแกนไลบรารี** — ระบบตรวจจับและจัดระเบียบเกมอัตโนมัติ
            4. **เล่นในเบราว์เซอร์** — คลิกเกมเพื่อเริ่มอีมูเลเตอร์ รองรับ gamepad
            5. **Save state** — บันทึกและโหลดความคืบหน้าในเบราว์เซอร์

            ## ระบบที่รองรับ

            - Nintendo: NES, SNES, N64, Game Boy, GBA, DS
            - Sony: PlayStation 1
            - Sega: Master System, Genesis, Game Gear, Saturn
            - Atari: 2600, 7800, Jaguar, Lynx

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

            GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    zh-CN:
        description: |
            EmulatorJS 是一个自托管的复古游戏模拟器，完全在浏览器中运行。支持 NES、SNES、Game Boy、N64、PlayStation、Sega 等 30 多种主机系统。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 EmulatorJS 的域名
        readme: |
            # EmulatorJS

            完全在浏览器中运行的自托管复古游戏模拟器。上传 ROM 文件，畅玩 30 多种经典主机游戏。

            ## 部署后可以做什么

            1. **打开域名** — 管理界面立即可用
            2. **上传 ROM** — 将 ROM 文件拖放到对应的系统文件夹
            3. **扫描游戏库** — 系统自动检测并整理游戏
            4. **在浏览器中游玩** — 点击任何游戏启动模拟器
            5. **存档** — 在浏览器中保存和加载游戏进度

            ## 支持的系统

            - 任天堂：NES、SNES、N64、Game Boy、GBA、DS
            - Sony：PlayStation 1
            - Sega：Master System、Genesis、Game Gear、Saturn
            - Atari：2600、7800、Jaguar、Lynx

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/EmulatorJS/EmulatorJS)
    zh-TW:
        description: |
            EmulatorJS 是一個自架的復古遊戲模擬器，完全在瀏覽器中運行。支援 NES、SNES、Game Boy、N64、PlayStation、Sega 等 30 多種主機系統，內建 ROM 管理介面。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 EmulatorJS 的網域
        readme: |
            # EmulatorJS

            完全在瀏覽器中運行的自架復古遊戲模擬器。上傳 ROM 檔案，遊玩 NES、SNES、Game Boy、N64、PlayStation、Sega 等 30 多種經典主機遊戲。

            ## 部署後可以做什麼

            1. **開啟網域** — EmulatorJS 管理介面載入
            2. **上傳 ROM** — 將 ROM 檔案拖放到對應的系統資料夾
            3. **掃描遊戲庫** — 系統自動偵測並整理遊戲
            4. **在瀏覽器中遊玩** — 點擊任何遊戲啟動模擬器，支援手把
            5. **存檔** — 在瀏覽器中直接儲存和載入遊戲進度

            ## 支援的系統

            - 任天堂：NES、SNES、N64、Game Boy、GBA、DS
            - Sony：PlayStation 1
            - Sega：Master System、Genesis/Mega Drive、Game Gear、Saturn
            - Atari：2600、7800、Jaguar、Lynx
            - 以及更多（共 30 多種系統）

            ## 授權

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