# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Gladys Assistant
spec:
    description: |
        Gladys Assistant is a privacy-first, open-source home automation platform. It runs locally with an embedded SQLite database, offering a clean dashboard for controlling smart devices, scenes, and automations — no cloud dependency.
    coverImage: https://avatars.githubusercontent.com/u/10416672
    icon: https://avatars.githubusercontent.com/u/10416672
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Gladys Assistant
    tags:
        - Tool
        - IoT
    readme: |
        # Gladys Assistant

        A privacy-first, open-source home automation platform. Gladys runs with an embedded SQLite database and provides a modern dashboard for managing smart home devices, scenes, and automations.

        ## First-Time Setup

        1. **Visit your domain** — you will be guided through creating your admin account
        2. **Configure your home** — set up rooms and floors in the dashboard
        3. **Add integrations** — connect smart devices via MQTT, Zigbee2MQTT, Z-Wave, Philips Hue, Tasmota, and more
        4. **Create scenes** — automate your home with triggers, conditions, and actions
        5. **Set up the dashboard** — customize widgets to monitor temperature, humidity, camera feeds, and device states

        ## Key Features

        - Privacy-first — runs locally, no cloud dependency
        - Embedded SQLite database — no external database needed
        - Modern, responsive dashboard
        - 30+ integrations (MQTT, Zigbee2MQTT, Z-Wave, Philips Hue, Tasmota, Google Cast, etc.)
        - Scene engine with triggers, conditions, and actions
        - Multi-user support with fine-grained permissions
        - Camera integration and live feeds
        - Calendar and alarm clock features
        - Telegram and other notification services

        ## Configuration

        - `TZ` — timezone for the server (default: `UTC`)
        - `SQLITE_FILE_PATH` — database file location (pre-configured to persist in the data volume)
        - `SERVER_PORT` — web server port (default: `80`)

        ## Data Storage

        All data is stored in the `/var/lib/gladysassistant` volume, including the SQLite database file and device configuration.

        ## License

        Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys) | [Website](https://gladysassistant.com)
    services:
        - name: gladys
          icon: https://avatars.githubusercontent.com/u/10416672
          template: PREBUILT_V2
          spec:
            source:
                image: gladysassistant/gladys:v4.71.0
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: data
                  dir: /var/lib/gladysassistant
            env:
                NODE_ENV:
                    default: production
                SERVER_PORT:
                    default: "80"
                SQLITE_FILE_PATH:
                    default: /var/lib/gladysassistant/gladys-production.db
                TZ:
                    default: UTC
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Gladys Assistant es una plataforma de automatizacion del hogar de codigo abierto centrada en la privacidad. Funciona localmente con SQLite integrado, sin dependencia de la nube.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Gladys Assistant
        readme: |
            # Gladys Assistant

            Plataforma de automatizacion del hogar de codigo abierto centrada en la privacidad. Funciona con SQLite integrado.

            ## Configuracion inicial

            1. **Visita tu dominio** — se te guiara para crear tu cuenta de administrador
            2. **Configura tu hogar** — agrega habitaciones y pisos en el panel
            3. **Agrega integraciones** — conecta dispositivos via MQTT, Zigbee2MQTT, Z-Wave, Philips Hue, etc.
            4. **Crea escenas** — automatiza tu hogar con disparadores, condiciones y acciones
            5. **Personaliza el panel** — agrega widgets para monitorear temperatura, humedad, camaras, etc.

            ## Caracteristicas

            - Privacidad primero — funciona localmente, sin nube
            - SQLite integrado — sin base de datos externa
            - 30+ integraciones
            - Motor de escenas
            - Soporte multiusuario

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
    id-ID:
        description: |
            Gladys Assistant adalah platform otomasi rumah pintar open-source yang mengutamakan privasi. Berjalan secara lokal dengan SQLite bawaan, tanpa ketergantungan cloud.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Gladys Assistant
        readme: |
            # Gladys Assistant

            Platform otomasi rumah pintar open-source yang mengutamakan privasi. Berjalan dengan SQLite bawaan.

            ## Pengaturan Awal

            1. **Buka domain** — Anda akan dipandu membuat akun admin
            2. **Atur rumah** — tambahkan ruangan dan lantai di dasbor
            3. **Tambah integrasi** — hubungkan perangkat via MQTT, Zigbee2MQTT, Z-Wave, Philips Hue, dll.
            4. **Buat scene** — otomasi rumah dengan trigger, kondisi, dan aksi
            5. **Kustomisasi dasbor** — tambah widget untuk memantau suhu, kelembapan, kamera, dll.

            ## Fitur Utama

            - Privasi utama — berjalan lokal, tanpa cloud
            - SQLite bawaan — tanpa database eksternal
            - 30+ integrasi
            - Mesin scene
            - Dukungan multi-pengguna

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
    ja-JP:
        description: |
            Gladys Assistantはプライバシー重視のオープンソーススマートホーム自動化プラットフォームです。内蔵SQLiteデータベースでローカル動作し、デバイス制御、シーン、自動化のダッシュボードを提供します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Gladys Assistantにアクセスするためのドメイン
        readme: |
            # Gladys Assistant

            プライバシー重視のオープンソーススマートホームプラットフォーム。内蔵SQLiteデータベースで動作。

            ## 初期設定

            1. **ドメインにアクセス** — 管理者アカウント作成ガイドが表示されます
            2. **家の設定** — ダッシュボードで部屋とフロアを追加
            3. **統合を追加** — MQTT、Zigbee2MQTT、Z-Wave、Philips Hue等でデバイスを接続
            4. **シーンを作成** — トリガー、条件、アクションで自動化
            5. **ダッシュボードをカスタマイズ** — ウィジェットで温度、湿度、カメラ等を監視

            ## 主な機能

            - プライバシー重視 — ローカル動作、クラウド不要
            - SQLiteデータベース内蔵 — 外部DB不要
            - 30以上の統合（MQTT、Zigbee2MQTT、Z-Wave等）
            - シーンエンジン
            - マルチユーザー対応

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
    ko-KR:
        description: |
            Gladys Assistant는 프라이버시 중심의 오픈소스 스마트홈 자동화 플랫폼입니다. 내장 SQLite 데이터베이스로 로컬에서 작동하며 기기 제어, 씬, 자동화를 위한 대시보드를 제공합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Gladys Assistant에 접속할 도메인
        readme: |
            # Gladys Assistant

            프라이버시 중심의 오픈소스 스마트홈 플랫폼. 내장 SQLite 데이터베이스로 작동.

            ## 초기 설정

            1. **도메인 접속** — 관리자 계정 생성 안내가 표시됩니다
            2. **집 설정** — 대시보드에서 방과 층 추가
            3. **통합 추가** — MQTT, Zigbee2MQTT, Z-Wave, Philips Hue 등으로 기기 연결
            4. **씬 생성** — 트리거, 조건, 액션으로 자동화
            5. **대시보드 커스터마이즈** — 위젯으로 온도, 습도, 카메라 등 모니터링

            ## 주요 기능

            - 프라이버시 우선 — 로컬 작동, 클라우드 불필요
            - SQLite 데이터베이스 내장 — 외부 DB 불필요
            - 30개 이상의 통합 (MQTT, Zigbee2MQTT, Z-Wave 등)
            - 씬 엔진 (트리거, 조건, 액션)
            - 다중 사용자 지원

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
    th-TH:
        description: |
            Gladys Assistant เป็นแพลตฟอร์มระบบอัตโนมัติสำหรับบ้านอัจฉริยะแบบโอเพนซอร์สที่เน้นความเป็นส่วนตัว ทำงานในเครื่องด้วย SQLite ในตัว ไม่พึ่งพาคลาวด์
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Gladys Assistant
        readme: |
            # Gladys Assistant

            แพลตฟอร์มระบบอัตโนมัติบ้านอัจฉริยะแบบโอเพนซอร์สที่เน้นความเป็นส่วนตัว ทำงานด้วย SQLite ในตัว

            ## การตั้งค่าเริ่มต้น

            1. **เข้าสู่โดเมน** — ระบบจะแนะนำคุณสร้างบัญชีผู้ดูแล
            2. **ตั้งค่าบ้าน** — เพิ่มห้องและชั้นในแดชบอร์ด
            3. **เพิ่มการรวม** — เชื่อมต่ออุปกรณ์ผ่าน MQTT, Zigbee2MQTT, Z-Wave, Philips Hue ฯลฯ
            4. **สร้าง scene** — ทำให้บ้านอัตโนมัติด้วย trigger, เงื่อนไข และการกระทำ
            5. **ปรับแต่งแดชบอร์ด** — เพิ่มวิดเจ็ตตรวจสอบอุณหภูมิ ความชื้น กล้อง ฯลฯ

            ## ฟีเจอร์หลัก

            - ความเป็นส่วนตัวมาก่อน — ทำงานในเครื่อง ไม่ต้องใช้คลาวด์
            - SQLite ในตัว — ไม่ต้องการฐานข้อมูลภายนอก
            - 30+ การรวม
            - เอนจิน scene
            - รองรับหลายผู้ใช้

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

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
    zh-CN:
        description: |
            Gladys Assistant 是注重隐私的开源智能家居自动化平台。使用内置 SQLite 数据库本地运行，提供简洁的仪表板控制智能设备、场景与自动化流程，完全不依赖云端。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Gladys Assistant 的域名
        readme: |
            # Gladys Assistant

            注重隐私的开源智能家居自动化平台。使用内置 SQLite 数据库运行，提供现代化仪表板管理智能设备、场景与自动化。

            ## 首次设置

            1. **打开域名** — 系统引导你创建管理员账号
            2. **设置家庭环境** — 在仪表板中添加房间和楼层
            3. **添加集成** — 通过 MQTT、Zigbee2MQTT、Z-Wave、Philips Hue 等连接智能设备
            4. **创建场景** — 使用触发条件和动作自动化你的家
            5. **自定义仪表板** — 添加小部件监控温度、湿度、摄像头和设备状态

            ## 主要功能

            - 隐私优先 — 本地运行，不依赖云端
            - 内置 SQLite 数据库 — 无需外部数据库
            - 30+ 集成（MQTT、Zigbee2MQTT、Z-Wave 等）
            - 场景引擎（触发、条件、动作）
            - 多用户支持

            ## 授权

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
    zh-TW:
        description: |
            Gladys Assistant 是注重隱私的開源智慧家庭自動化平台。使用內建 SQLite 資料庫本地運作，提供簡潔的儀表板來控制智慧裝置、場景與自動化流程，完全不依賴雲端。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Gladys Assistant 的網域
        readme: |
            # Gladys Assistant

            注重隱私的開源智慧家庭自動化平台。使用內建 SQLite 資料庫運作，提供現代化儀表板管理智慧裝置、場景與自動化流程。

            ## 首次設定

            1. **開啟網域** — 系統會引導你建立管理員帳號
            2. **設定居家環境** — 在儀表板中新增房間與樓層
            3. **新增整合** — 透過 MQTT、Zigbee2MQTT、Z-Wave、Philips Hue、Tasmota 等連接智慧裝置
            4. **建立場景** — 使用觸發條件與動作自動化你的家
            5. **自訂儀表板** — 新增小工具監控溫度、濕度、攝影機畫面與裝置狀態

            ## 主要功能

            - 隱私優先 — 本地運作，不依賴雲端
            - 內建 SQLite 資料庫 — 無需外部資料庫
            - 現代化響應式儀表板
            - 30+ 整合（MQTT、Zigbee2MQTT、Z-Wave、Philips Hue 等）
            - 場景引擎（觸發、條件、動作）
            - 多使用者支援
            - 攝影機整合與即時畫面

            ## 授權

            Apache-2.0 — [GitHub](https://github.com/GladysAssistant/Gladys)
