# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: TriliumNext Notes
spec:
    description: |
        TriliumNext Notes is a hierarchical note-taking application with rich editing, end-to-end encryption, note versioning, and a powerful web UI. It supports Markdown, code blocks, relation maps, and advanced search — ideal for building a personal knowledge base.
    coverImage: https://avatars.githubusercontent.com/u/176775904
    icon: https://avatars.githubusercontent.com/u/176775904
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access TriliumNext Notes
    tags:
        - Tool
        - Productivity
    readme: |
        # TriliumNext Notes

        A hierarchical note-taking application for building a personal knowledge base. Features rich WYSIWYG editing, note relations, encryption, versioning, and scripting — all through a powerful web interface.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the setup wizard will guide you through creating your password and initial configuration
        2. **Create notes** — use the tree navigation on the left to organize notes hierarchically; each note supports rich text, Markdown, code, and more
        3. **Build a knowledge base** — link notes together with relations, create note maps to visualize connections between topics
        4. **Use advanced features** — note cloning (same note in multiple locations), note attributes for metadata, and scripting for automation
        5. **Search** — full-text search with advanced filter expressions across all your notes
        6. **Protect sensitive notes** (optional) — enable per-note encryption with your password

        ## Key Features

        - Hierarchical tree structure for organizing notes
        - Rich WYSIWYG editor with Markdown support
        - Note types: text, code, image, file, canvas, relation map, book, and more
        - Note cloning — place the same note in multiple tree locations
        - Note attributes and labels for metadata and custom properties
        - Relation maps for visualizing connections between notes
        - Full-text search with filter expressions
        - Note versioning with history
        - Per-note end-to-end encryption
        - Scripting API for automation
        - Fast and responsive web UI

        ## Volumes

        - `/home/node/trilium-data` — SQLite database, note attachments, and configuration

        ## Configuration

        TriliumNext stores all settings in the web UI. On first launch, the setup wizard creates your password. This single password protects both login and encrypted notes.

        ## License

        AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    services:
        - name: trilium-next
          icon: https://avatars.githubusercontent.com/u/176775904
          template: PREBUILT_V2
          spec:
            source:
                image: triliumnext/notes:v0.95.0
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            volumes:
                - id: data
                  dir: /home/node/trilium-data
            env:
                TZ:
                    default: UTC
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            TriliumNext Notes es una aplicación de notas jerárquica con edición rica, cifrado E2E, versionado y una potente interfaz web. Soporta Markdown, bloques de código, mapas de relaciones y búsqueda avanzada.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a TriliumNext Notes
        readme: |
            # TriliumNext Notes

            Aplicación de notas jerárquica para construir una base de conocimiento personal. Editor WYSIWYG, relaciones entre notas, cifrado, versionado y scripting.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — el asistente de configuración te guía para crear tu contraseña
            2. **Crea notas** — organiza jerárquicamente con texto enriquecido, Markdown, código
            3. **Construye tu base de conocimiento** — vincula notas con relaciones y mapas
            4. **Funciones avanzadas** — clonación de notas, atributos, scripts de automatización
            5. **Búsqueda** — texto completo con filtros avanzados
            6. **Cifrado** (opcional) — cifrado E2E por nota

            ## Características

            - Estructura jerárquica en árbol
            - Editor WYSIWYG + Markdown
            - Múltiples tipos de notas
            - Clonación de notas
            - Mapas de relaciones
            - Búsqueda de texto completo
            - Historial de versiones
            - Cifrado E2E

            ## Licencia

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    id-ID:
        description: |
            TriliumNext Notes adalah aplikasi catatan hierarkis dengan editor kaya, enkripsi E2E, versioning, dan web UI yang kuat. Mendukung Markdown, blok kode, peta relasi, dan pencarian lanjutan.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses TriliumNext Notes
        readme: |
            # TriliumNext Notes

            Aplikasi catatan hierarkis untuk membangun basis pengetahuan pribadi. Editor WYSIWYG, relasi antar catatan, enkripsi, versioning, dan scripting.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — wizard pengaturan memandu pembuatan kata sandi
            2. **Buat catatan** — organisir secara hierarkis dengan teks kaya, Markdown, kode
            3. **Bangun basis pengetahuan** — hubungkan catatan dengan relasi dan peta
            4. **Fitur lanjutan** — kloning catatan, atribut, script otomatisasi
            5. **Pencarian** — teks lengkap dengan filter lanjutan
            6. **Enkripsi** (opsional) — enkripsi E2E per catatan

            ## Fitur

            - Struktur pohon hierarkis
            - Editor WYSIWYG + Markdown
            - Berbagai jenis catatan
            - Kloning catatan
            - Peta relasi
            - Pencarian teks lengkap
            - Riwayat versi
            - Enkripsi E2E

            ## Lisensi

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    ja-JP:
        description: |
            TriliumNext Notesは階層型ノートアプリケーションで、リッチ編集、E2E暗号化、バージョン管理、強力なWeb UIを備えています。Markdown、コードブロック、リレーションマップ、高度な検索に対応。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: TriliumNext Notesにアクセスするためのドメイン
        readme: |
            # TriliumNext Notes

            階層型ノートアプリケーション。WYSIWYGエディタ、ノート関連、暗号化、バージョン管理、スクリプト機能。

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

            1. **ドメインにアクセス** — セットアップウィザードでパスワードを作成
            2. **ノートを作成** — 左側のツリーで階層的に整理（リッチテキスト、Markdown、コード対応）
            3. **ナレッジベースを構築** — リレーションでノートをリンク、マップで可視化
            4. **高度な機能** — ノートクローン、属性ラベル、自動化スクリプト
            5. **検索** — 全文検索とフィルタ式
            6. **暗号化保護**（オプション）— ノート単位のE2E暗号化

            ## 主な機能

            - 階層ツリー構造
            - WYSIWYGエディタ + Markdown
            - 複数のノートタイプ
            - ノートクローン
            - リレーションマップ
            - 全文検索
            - バージョン履歴
            - E2E暗号化

            ## ライセンス

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    ko-KR:
        description: |
            TriliumNext Notes는 계층적 노트 앱으로, 리치 편집, E2E 암호화, 버전 관리, 강력한 웹 UI를 제공합니다. Markdown, 코드 블록, 관계 맵, 고급 검색을 지원합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: TriliumNext Notes에 접속할 도메인
        readme: |
            # TriliumNext Notes

            계층적 노트 앱으로 개인 지식 베이스를 구축합니다. WYSIWYG 에디터, 노트 관계, 암호화, 버전 관리, 스크립팅.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 설정 마법사에서 비밀번호 생성
            2. **노트 생성** — 왼쪽 트리에서 계층적으로 정리 (리치 텍스트, Markdown, 코드)
            3. **지식 베이스 구축** — 관계로 노트 연결, 맵으로 시각화
            4. **고급 기능** — 노트 복제, 속성 라벨, 자동화 스크립트
            5. **검색** — 전체 텍스트 검색 및 고급 필터
            6. **암호화** (선택) — 노트별 E2E 암호화

            ## 주요 기능

            - 계층적 트리 구조
            - WYSIWYG 에디터 + Markdown
            - 다양한 노트 유형
            - 노트 복제
            - 관계 맵
            - 전체 텍스트 검색
            - 버전 기록
            - E2E 암호화

            ## 라이선스

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    th-TH:
        description: |
            TriliumNext Notes คือแอปพลิเคชันจดบันทึกแบบลำดับชั้นที่มีตัวแก้ไขขั้นสูง การเข้ารหัส E2E การควบคุมเวอร์ชัน และ web UI ที่ทรงพลัง รองรับ Markdown บล็อคโค้ด แผนที่ความสัมพันธ์ และการค้นหาขั้นสูง
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง TriliumNext Notes
        readme: |
            # TriliumNext Notes

            แอปพลิเคชันจดบันทึกแบบลำดับชั้นสำหรับสร้างฐานความรู้ส่วนตัว ตัวแก้ไข WYSIWYG ความสัมพันธ์ระหว่างโน้ต การเข้ารหัส การควบคุมเวอร์ชัน และสคริปต์

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

            1. **เข้าสู่โดเมน** — วิซาร์ดตั้งค่านำทางการสร้างรหัสผ่าน
            2. **สร้างโน้ต** — จัดระเบียบตามลำดับชั้นด้วยข้อความหลากหลาย Markdown โค้ด
            3. **สร้างฐานความรู้** — เชื่อมโน้ตด้วยความสัมพันธ์และแผนที่
            4. **ฟีเจอร์ขั้นสูง** — โคลนโน้ต แอตทริบิวต์ สคริปต์อัตโนมัติ
            5. **ค้นหา** — ค้นหาข้อความเต็มพร้อมฟิลเตอร์ขั้นสูง
            6. **การเข้ารหัส** (ทางเลือก) — เข้ารหัส E2E ต่อโน้ต

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

            - โครงสร้างต้นไม้แบบลำดับชั้น
            - ตัวแก้ไข WYSIWYG + Markdown
            - หลายประเภทโน้ต
            - โคลนโน้ต
            - แผนที่ความสัมพันธ์
            - ค้นหาข้อความเต็ม
            - ประวัติเวอร์ชัน
            - เข้ารหัส E2E

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

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    zh-CN:
        description: |
            TriliumNext Notes 是层级式笔记应用，支持富文本编辑、端到端加密、版本控制和强大的 Web 界面。支持 Markdown、代码块、关系图和高级搜索。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 TriliumNext Notes 的域名
        readme: |
            # TriliumNext Notes

            层级式笔记应用，用于构建个人知识库。WYSIWYG 编辑器、笔记关联、加密、版本控制和脚本。

            ## 部署后可以做什么

            1. **打开域名** — 设置向导引导创建密码和初始配置
            2. **创建笔记** — 左侧树状结构组织笔记，支持富文本、Markdown、代码等
            3. **构建知识库** — 用关联连接笔记，创建关系图可视化主题
            4. **高级功能** — 笔记克隆、属性标签、自动化脚本
            5. **搜索** — 全文搜索，支持高级筛选
            6. **加密保护**（可选）— 为敏感笔记启用端到端加密

            ## 主要功能

            - 层级树状结构
            - WYSIWYG 编辑器 + Markdown
            - 多种笔记类型
            - 笔记克隆
            - 关系图可视化
            - 全文搜索
            - 版本历史
            - 端到端加密

            ## 授权

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
    zh-TW:
        description: |
            TriliumNext Notes 是階層式筆記應用程式，支援富文字編輯、端對端加密、版本控制和強大的 Web 介面。支援 Markdown、程式碼區塊、關係圖和進階搜尋，適合建立個人知識庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 TriliumNext Notes 的網域
        readme: |
            # TriliumNext Notes

            階層式筆記應用程式，用於建立個人知識庫。提供 WYSIWYG 編輯器、筆記關聯、加密、版本控制和腳本功能。

            ## 部署後可以做什麼

            1. **開啟網域** — 設定精靈引導建立密碼和初始設定
            2. **建立筆記** — 左側樹狀結構組織筆記，支援富文字、Markdown、程式碼等
            3. **建構知識庫** — 用關聯連結筆記，建立關係圖視覺化主題連結
            4. **進階功能** — 筆記克隆（同一筆記放在多個位置）、屬性標籤、自動化腳本
            5. **搜尋** — 全文搜尋，支援進階篩選表達式
            6. **加密保護**（選用）— 為敏感筆記啟用端對端加密

            ## 主要功能

            - 階層式樹狀結構組織筆記
            - WYSIWYG 編輯器，支援 Markdown
            - 多種筆記類型（文字、程式碼、圖片、檔案、畫布、關係圖等）
            - 筆記克隆 — 同一筆記出現在多個位置
            - 關係圖視覺化筆記連結
            - 全文搜尋與篩選
            - 版本歷史記錄
            - 端對端加密

            ## 授權

            AGPL-3.0 — [GitHub](https://github.com/TriliumNext/Notes)
