# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: LibreOffice
spec:
    description: |
        LibreOffice is a free and powerful office suite running in your browser via KasmVNC. Includes Writer, Calc, Impress, Draw, Base, and Math — edit documents, spreadsheets, and presentations without installing any desktop software.
    coverImage: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/libreoffice-logo.png
    icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/libreoffice-logo.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access LibreOffice
        - key: PASSWORD
          type: PASSWORD
          name: Password
          description: The password for the KasmVNC web interface
    tags:
        - Tool
        - Productivity
    readme: |
        # LibreOffice

        A full office suite running in your browser. LibreOffice provides Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics), Base (databases), and Math (formula editing) — all accessible via KasmVNC.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the LibreOffice desktop opens in your browser via KasmVNC
        2. **Log in** — use the password you set during template deployment
        3. **Open or create documents** — start with Writer, Calc, Impress, or any other component from the Start Center
        4. **Edit and save** — full editing capabilities with local file storage on the Zeabur volume
        5. **Export to multiple formats** — save as ODF, DOCX, XLSX, PPTX, PDF, and more

        ## Key Features

        - Writer — word processing with styles, templates, and mail merge
        - Calc — spreadsheets with 500+ functions, pivot tables, and charts
        - Impress — presentations with transitions and animations
        - Draw — vector graphics and flowcharts
        - Full Microsoft Office format compatibility (DOCX, XLSX, PPTX)
        - PDF export from all components
        - Browser-accessible desktop via KasmVNC

        ## Persistent Data

        All documents and settings are stored in `/config` (backed by a Zeabur volume).

        ## License

        MPL-2.0 — [GitHub](https://github.com/LibreOffice/core) | [Website](https://www.libreoffice.org)
    services:
        - name: libreoffice
          icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/libreoffice-logo.png
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/libreoffice:25.8.1
            ports:
                - id: web
                  port: 3000
                  type: HTTP
            volumes:
                - id: config
                  dir: /config
            env:
                CUSTOM_USER:
                    default: abc
                PASSWORD:
                    default: ${PASSWORD}
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
                TZ:
                    default: Etc/UTC
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            LibreOffice es una suite ofimática gratuita y potente que se ejecuta en tu navegador mediante KasmVNC. Incluye Writer, Calc, Impress, Draw, Base y Math — edita documentos, hojas de cálculo y presentaciones sin instalar software de escritorio.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a LibreOffice
            - key: PASSWORD
              type: STRING
              name: Contraseña
              description: La contraseña para la interfaz web de KasmVNC
        readme: |
            # LibreOffice

            Una suite ofimática completa ejecutándose en tu navegador. LibreOffice proporciona Writer (procesador de texto), Calc (hojas de cálculo), Impress (presentaciones), Draw (gráficos vectoriales), Base (bases de datos) y Math (editor de fórmulas) — todo accesible vía KasmVNC.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — el escritorio de LibreOffice se abre en tu navegador vía KasmVNC
            2. **Inicia sesión** — usa la contraseña configurada durante el despliegue
            3. **Abre o crea documentos** — comienza con Writer, Calc, Impress u otro componente desde el Centro de inicio
            4. **Edita y guarda** — capacidades completas de edición con almacenamiento en el volumen de Zeabur
            5. **Exporta a múltiples formatos** — guarda como ODF, DOCX, XLSX, PPTX, PDF y más

            ## Datos persistentes

            Todos los documentos y configuraciones se almacenan en `/config` (respaldado por un volumen de Zeabur).

            ## Licencia

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
    id-ID:
        description: |
            LibreOffice adalah suite kantor gratis dan lengkap yang berjalan di browser melalui KasmVNC. Termasuk Writer, Calc, Impress, Draw, Base, dan Math — edit dokumen, spreadsheet, dan presentasi tanpa menginstal software desktop.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses LibreOffice
            - key: PASSWORD
              type: STRING
              name: Kata Sandi
              description: Kata sandi untuk antarmuka web KasmVNC
        readme: |
            # LibreOffice

            Suite kantor lengkap yang berjalan di browser. LibreOffice menyediakan Writer (pengolah kata), Calc (spreadsheet), Impress (presentasi), Draw (grafik vektor), Base (database), dan Math (editor formula) — semua diakses via KasmVNC.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — desktop LibreOffice terbuka di browser via KasmVNC
            2. **Login** — gunakan kata sandi yang diatur saat deploy
            3. **Buka atau buat dokumen** — mulai dengan Writer, Calc, Impress, atau komponen lain dari Start Center
            4. **Edit dan simpan** — kemampuan editing penuh dengan penyimpanan file di volume Zeabur
            5. **Ekspor ke berbagai format** — simpan sebagai ODF, DOCX, XLSX, PPTX, PDF, dan lainnya

            ## Data Persisten

            Semua dokumen dan pengaturan disimpan di `/config` (didukung volume Zeabur).

            ## Lisensi

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
    ja-JP:
        description: |
            LibreOffice は KasmVNC でブラウザから利用できる無料の高機能オフィススイートです。Writer、Calc、Impress、Draw、Base、Math を搭載。デスクトップソフトのインストール不要で文書・表計算・プレゼンテーションを編集。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: LibreOffice にアクセスするためのドメイン
            - key: PASSWORD
              type: STRING
              name: パスワード
              description: KasmVNC ウェブインターフェースのパスワード
        readme: |
            # LibreOffice

            ブラウザで動作するフル機能オフィススイート。Writer（ワープロ）、Calc（表計算）、Impress（プレゼン）、Draw（ベクター）、Base（データベース）、Math（数式）をすべて KasmVNC で利用可能。

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

            1. **ドメインにアクセス** — KasmVNC でブラウザに LibreOffice デスクトップが開きます
            2. **ログイン** — デプロイ時に設定したパスワードを使用
            3. **文書を開く・作成** — スタートセンターから Writer、Calc、Impress などを選択
            4. **編集・保存** — フル編集機能、ファイルは Zeabur ボリュームに保存
            5. **複数形式でエクスポート** — ODF、DOCX、XLSX、PPTX、PDF 等で保存

            ## 永続データ

            すべての文書と設定は `/config` に保存（Zeabur ボリュームで永続化）。

            ## ライセンス

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
    ko-KR:
        description: |
            LibreOffice는 KasmVNC를 통해 브라우저에서 실행되는 무료 오피스 제품군입니다. Writer, Calc, Impress, Draw, Base, Math 포함. 데스크톱 소프트웨어 설치 없이 문서, 스프레드시트, 프레젠테이션을 편집할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: LibreOffice에 접속할 도메인
            - key: PASSWORD
              type: STRING
              name: 비밀번호
              description: KasmVNC 웹 인터페이스 비밀번호
        readme: |
            # LibreOffice

            브라우저에서 실행되는 풀 기능 오피스 제품군. Writer(워드프로세서), Calc(스프레드시트), Impress(프레젠테이션), Draw(벡터 그래픽), Base(데이터베이스), Math(수식 편집)를 모두 KasmVNC로 이용 가능.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — KasmVNC를 통해 브라우저에서 LibreOffice 데스크톱이 열립니다
            2. **로그인** — 배포 시 설정한 비밀번호 사용
            3. **문서 열기 또는 생성** — 시작 센터에서 Writer, Calc, Impress 등 선택
            4. **편집 및 저장** — 풀 편집 기능, 파일은 Zeabur 볼륨에 저장
            5. **다양한 형식으로 내보내기** — ODF, DOCX, XLSX, PPTX, PDF 등으로 저장

            ## 영구 데이터

            모든 문서와 설정은 `/config`에 저장 (Zeabur 볼륨으로 영구화).

            ## 라이선스

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
    th-TH:
        description: |
            LibreOffice เป็นชุดโปรแกรมสำนักงานฟรีและทรงพลังที่ทำงานในเบราว์เซอร์ผ่าน KasmVNC รวม Writer, Calc, Impress, Draw, Base และ Math แก้ไขเอกสาร สเปรดชีต และงานนำเสนอโดยไม่ต้องติดตั้งซอฟต์แวร์เดสก์ท็อป
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง LibreOffice
            - key: PASSWORD
              type: STRING
              name: รหัสผ่าน
              description: รหัสผ่านสำหรับเว็บอินเทอร์เฟซ KasmVNC
        readme: |
            # LibreOffice

            ชุดโปรแกรมสำนักงานเต็มรูปแบบที่ทำงานในเบราว์เซอร์ LibreOffice มี Writer (ประมวลผลคำ), Calc (สเปรดชีต), Impress (งานนำเสนอ), Draw (กราฟิกเวกเตอร์), Base (ฐานข้อมูล) และ Math (แก้ไขสูตร) ทั้งหมดเข้าถึงผ่าน KasmVNC

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

            1. **เข้าสู่โดเมน** — เดสก์ท็อป LibreOffice เปิดในเบราว์เซอร์ผ่าน KasmVNC
            2. **ล็อกอิน** — ใช้รหัสผ่านที่ตั้งไว้ตอนติดตั้ง
            3. **เปิดหรือสร้างเอกสาร** — เริ่มจาก Writer, Calc, Impress หรือส่วนประกอบอื่นจาก Start Center
            4. **แก้ไขและบันทึก** — ความสามารถในการแก้ไขเต็มรูปแบบ ไฟล์เก็บบน Zeabur volume
            5. **ส่งออกหลายรูปแบบ** — บันทึกเป็น ODF, DOCX, XLSX, PPTX, PDF และอื่นๆ

            ## ข้อมูลถาวร

            เอกสารและการตั้งค่าทั้งหมดเก็บไว้ที่ `/config` (สำรองด้วย Zeabur volume)

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

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
    zh-CN:
        description: |
            LibreOffice 是免费且强大的办公套件，通过 KasmVNC 在浏览器中运行。包含 Writer、Calc、Impress、Draw、Base 和 Math，无需安装桌面软件即可编辑文档、电子表格和演示文稿。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 LibreOffice 的域名
            - key: PASSWORD
              type: STRING
              name: 密码
              description: KasmVNC 网页界面的密码
        readme: |
            # LibreOffice

            在浏览器中运行的完整办公套件。LibreOffice 提供 Writer（文字处理）、Calc（电子表格）、Impress（演示文稿）、Draw（矢量图形）、Base（数据库）和 Math（公式编辑），全部通过 KasmVNC 访问。

            ## 部署后可以做什么

            1. **打开域名** — LibreOffice 桌面通过 KasmVNC 在浏览器中打开
            2. **登录** — 使用部署时设置的密码
            3. **打开或创建文档** — 从启动中心选择 Writer、Calc、Impress 或其他组件
            4. **编辑并保存** — 完整的编辑功能，文件存储在 Zeabur 磁盘卷
            5. **导出多种格式** — 保存为 ODF、DOCX、XLSX、PPTX、PDF 等

            ## 持久化数据

            所有文档和设置存储在 `/config`（由 Zeabur 磁盘卷支持）。

            ## 许可证

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
    zh-TW:
        description: |
            LibreOffice 是免費且強大的辦公套件，透過 KasmVNC 在瀏覽器中執行。包含 Writer、Calc、Impress、Draw、Base 和 Math，無需安裝桌面軟體即可編輯文件、試算表和簡報。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 LibreOffice 的網域
            - key: PASSWORD
              type: STRING
              name: 密碼
              description: KasmVNC 網頁介面的密碼
        readme: |
            # LibreOffice

            在瀏覽器中執行的完整辦公套件。LibreOffice 提供 Writer（文書處理）、Calc（試算表）、Impress（簡報）、Draw（向量圖形）、Base（資料庫）和 Math（公式編輯），全部透過 KasmVNC 存取。

            ## 部署後可以做什麼

            1. **開啟網域** — LibreOffice 桌面透過 KasmVNC 在瀏覽器中開啟
            2. **登入** — 使用部署時設定的密碼
            3. **開啟或建立文件** — 從啟動中心選擇 Writer、Calc、Impress 或其他元件
            4. **編輯並儲存** — 完整的編輯功能，檔案儲存在 Zeabur 磁碟區
            5. **匯出多種格式** — 儲存為 ODF、DOCX、XLSX、PPTX、PDF 等

            ## 持久化資料

            所有文件與設定儲存在 `/config`（由 Zeabur 磁碟區支援）。

            ## 授權

            MPL-2.0 — [GitHub](https://github.com/LibreOffice/core)
