# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: SiYuan Note
spec:
    description: SiYuan is a privacy-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG.
    coverImage: https://raw.githubusercontent.com/ikxin/zeabur/main/templates/siyuan-note/cover.png
    icon: https://raw.githubusercontent.com/ikxin/zeabur/main/templates/siyuan-note/icon.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: What is the domain you want for your SiYuan Note?
    tags:
        - Website
    readme: "## \U0001F680 User Guide\n\nThe Auth Code is the access password used to access SiYuan Note. Please set a secure password.\n\n## \U0001F4A1 Introduction\n\nSiYuan is a privacy-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG.\n\n![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png)\n\n## \U0001F52E Features\n\nMost features are free, even for commercial use.\n\n* Content block\n  * Block-level reference and two-way links\n  * Custom attributes\n  * SQL query embed\n  * Protocol `siyuan://`\n* Editor\n  * Block-style\n  * Markdown WYSIWYG\n  * List outline\n  * Block zoom-in\n  * Million-word large document editing\n  * Mathematical formulas, charts, flowcharts, Gantt charts, timing charts, staffs, etc.\n  * Web clipping\n  * PDF Annotation link\n* Export\n  * Block ref and embed\n  * Standard Markdown with assets\n  * PDF, Word and HTML\n  * Copy to WeChat MP, Zhihu and Yuque\n* Database\n  * Table view\n* Flashcard spaced repetition\n* AI writing and Q/A chat via OpenAI API\n* Tesseract OCR \n* Multi-tab, drag and drop to split screen\n* Template snippet\n* JavaScript/CSS snippet\n* Android/iOS/HarmonyOS App\n* Docker deployment\n* [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)\n* Community marketplace"
    services:
        - name: siyuan-note
          icon: https://raw.githubusercontent.com/ikxin/zeabur/main/templates/siyuan-note/icon.png
          template: PREBUILT_V2
          spec:
            source:
                image: b3log/siyuan
                command:
                    - /bin/sh
                args:
                    - -c
                    - /opt/siyuan/entrypoint.sh --workspace=/siyuan/workspace --accessAuthCode=${PASSWORD}
            ports:
                - id: web
                  port: 6806
                  type: HTTP
            volumes:
                - id: workspace
                  dir: /siyuan/workspace
            instructions:
                - title: Auth Code
                  content: ${PASSWORD}
            env:
                PGID:
                    default: "1002"
                PUID:
                    default: "1001"
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: SiYuan es un sistema de gestión del conocimiento personal que prioriza la privacidad, con soporte para referencias a nivel de bloque y Markdown WYSIWYG.
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: Dominio
              description: ¿En qué dominio deseas vincular SiYuan Note?
        readme: "## \U0001F680 Guía de Usuario\n\nEl Código de Acceso es la contraseña utilizada para acceder a SiYuan Note. Por favor, establece una contraseña segura.\n\n## \U0001F4A1 Introducción\n\nSiYuan es un sistema de gestión del conocimiento personal que prioriza la privacidad, con soporte para referencias a nivel de bloque y Markdown WYSIWYG.\n\n![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png)\n\n## \U0001F52E Características\n\nLa mayoría de las características son gratuitas, incluso para uso comercial.\n\n* Bloque de contenido\n  * Referencias a nivel de bloque y enlaces bidireccionales\n  * Atributos personalizados\n  * Consultas SQL incrustadas\n  * Protocolo `siyuan://`\n* Editor\n  * Estilo de bloques\n  * Markdown WYSIWYG\n  * Esquema de lista\n  * Zoom de bloques\n  * Edición de documentos grandes de millones de palabras\n  * Fórmulas matemáticas, gráficos, diagramas de flujo, diagramas de Gantt, diagramas de tiempo, pentagramas, etc.\n  * Recorte web\n  * Enlaces de anotaciones PDF\n* Exportación\n  * Referencias y incrustaciones de bloques\n  * Markdown estándar con recursos\n  * PDF, Word y HTML\n  * Copiar a WeChat MP, Zhihu y Yuque\n* Base de datos\n  * Vista de tabla\n* Repetición espaciada de tarjetas\n* Escritura AI y chat de preguntas y respuestas a través de la API de OpenAI\n* OCR Tesseract\n* Pestañas múltiples, arrastrar y soltar para dividir pantalla\n* Fragmentos de plantillas\n* Fragmentos de JavaScript/CSS\n* Aplicación Android/iOS/HarmonyOS\n* Implementación Docker\n* [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)\n* Mercado comunitario"
    ja-JP:
        description: 思源ノートはプライバシー重視の個人知識管理システムで、細かいブロックレベルの参照とMarkdownのWYSIWYGをサポートしています。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: ドメイン
              description: 思源ノートをどのドメインにバインドしますか？
        readme: "## \U0001F680 ユーザーガイド\n\nアクセスコードは思源ノートにアクセスするためのパスワードです。安全なパスワードを設定してください。\n\n## \U0001F4A1 はじめに\n\n思源ノートはプライバシー重視の個人知識管理システムで、細かいブロックレベルの参照とMarkdownのWYSIWYGをサポートしています。\n\n![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png)\n\n## \U0001F52E 機能\n\nほとんどの機能は商用利用も含めて無料です。\n\n* コンテンツブロック\n  * ブロックレベルの参照と双方向リンク\n  * カスタム属性\n  * SQLクエリ埋め込み\n  * プロトコル `siyuan://`\n* エディタ\n  * ブロックスタイル\n  * Markdown WYSIWYG\n  * リストアウトライン\n  * ブロックズームイン\n  * 百万語レベルの大規模文書編集\n  * 数式、チャート、フローチャート、ガントチャート、タイミングチャート、五線譜など\n  * Webクリッピング\n  * PDFアノテーションリンク\n* エクスポート\n  * ブロック参照と埋め込み\n  * アセット付き標準Markdown\n  * PDF、WordとHTML\n  * WeChat MP、知乎、語雀へのコピー\n* データベース\n  * テーブルビュー\n* フラッシュカード間隔反復\n* OpenAI APIによるAI作文とQ&Aチャット\n* Tesseract OCR \n* マルチタブ、ドラッグ＆ドロップで画面分割\n* テンプレートスニペット\n* JavaScript/CSSスニペット\n* Android/iOS/HarmonyOSアプリ\n* Dockerデプロイメント\n* [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)\n* コミュニティマーケットプレイス"
    zh-CN:
        description: 思源笔记是一款隐私优先的个人知识管理系统，支持细粒度块级引用和 Markdown 所见即所得。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 域名
              description: 你想将思源笔记绑定在哪个域名上？
        readme: "## \U0001F680 使用指南\n\n访问码是用于访问思源笔记的密码。请设置一个安全的密码。\n\n## \U0001F4A1 简介\n\n思源笔记是一款隐私优先的个人知识管理系统，支持细粒度块级引用和 Markdown 所见即所得。\n\n![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png)\n\n## \U0001F52E 特性\n\n大多数功能都是免费的，甚至可以用于商业用途。\n\n* 内容块\n  * 块级引用和双向链接\n  * 自定义属性\n  * SQL 查询嵌入\n  * 协议 `siyuan://`\n* 编辑器\n  * 块式编辑\n  * Markdown 所见即所得\n  * 列表大纲\n  * 块级放大\n  * 百万字级大文档编辑\n  * 数学公式、图表、流程图、甘特图、时序图、五线谱等\n  * 网页剪藏\n  * PDF 标注链接\n* 导出\n  * 块引用和嵌入\n  * 带资源的标准 Markdown\n  * PDF、Word 和 HTML\n  * 复制到微信公众号、知乎和语雀\n* 数据库\n  * 表格视图\n* 闪卡间隔重复\n* 通过 OpenAI API 进行 AI 写作和问答聊天\n* Tesseract OCR \n* 多标签页，拖拽分屏\n* 模板片段\n* JavaScript/CSS 代码片段\n* 安卓/iOS/鸿蒙应用\n* Docker 部署\n* [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)\n* 社区集市"
    zh-TW:
        description: 思源筆記是一款隱私優先的個人知識管理系統，支持細粒度塊級引用和 Markdown 所見即所得。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 域名
              description: 你想將思源筆記綁定在哪個域名上？
        readme: "## \U0001F680 使用指南\n\n訪問碼是用於訪問思源筆記的密碼。請設置一個安全的密碼。\n\n## \U0001F4A1 簡介\n\n思源筆記是一款隱私優先的個人知識管理系統，支持細粒度塊級引用和 Markdown 所見即所得。\n\n![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png)\n\n## \U0001F52E 特性\n\n大多數功能都是免費的，甚至可以用於商業用途。\n\n* 內容塊\n  * 塊級引用和雙向鏈接\n  * 自定義屬性\n  * SQL 查詢嵌入\n  * 協議 `siyuan://`\n* 編輯器\n  * 塊式編輯\n  * Markdown 所見即所得\n  * 列表大綱\n  * 塊級放大\n  * 百萬字級大文檔編輯\n  * 數學公式、圖表、流程圖、甘特圖、時序圖、五線譜等\n  * 網頁剪藏\n  * PDF 標註鏈接\n* 導出\n  * 塊引用和嵌入\n  * 帶資源的標準 Markdown\n  * PDF、Word 和 HTML\n  * 複製到微信公眾號、知乎和語雀\n* 數據庫\n  * 表格視圖\n* 閃卡間隔重複\n* 通過 OpenAI API 進行 AI 寫作和問答聊天\n* Tesseract OCR \n* 多標籤頁，拖拽分屏\n* 模板片段\n* JavaScript/CSS 代碼片段\n* 安卓/iOS/鴻蒙應用\n* Docker 部署\n* [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)\n* 社區集市"
