An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: Update README
Daniel0c3ea76cd160
diff --git a/README.md b/README.mdindex d59c411f98..e97f8af50a 100644--- a/README.md+++ b/README.md@@ -48,6 +48,7 @@- [Unraid Hosting](#unraid-hosting)- [TrueNAS Hosting](#TrueNAS-hosting)- [Insider Preview](#insider-preview)+- [⌨️ Command-line Interface](#-command-line-interface)- [🏘️ Community](#️-community)- [🛠️ Development Guide](#️-development-guide)- [❓ FAQ](#-faq)@@ -360,6 +361,49 @@ services:We release insider preview before major updates, please visit [https://github.com/siyuan-note/insider](https://github.com/siyuan-note/insider).+## ⌨️ Command-line Interface++The built-in CLI provides direct access to workspace data — no running server required.++### Quick Start++```bash+# List all notebooks+siyuan notebook list -w ~/SiYuan++# Full-text search with JSON output+siyuan search "keyword" -w ~/SiYuan -f json++# Export a document as Markdown+siyuan export md --id <block-id> -w ~/SiYuan+```++### Available Commands++| Category | Commands |+|----------|----------|+| Notebooks & Documents | `notebook`, `document` — CRUD |+| Content | `block`, `attr` — read/write, custom attributes |+| Metadata | `tag`, `bookmark` |+| Queries | `search`, `sql` — full-text and SQL queries |+| References | `ref` — backlinks and mentions |+| Import/Export | `export`, `import` — Markdown, HTML, PDF, Word, .sy.zip |+| Data Management | `repo`, `history`, `sync` — snapshots, versions, cloud sync |+| Utilities | `asset`, `file` — resources and file system |+| Database | `database` — attribute view management |+| Workspace | `workspace` — list and inspect |++Run `siyuan --help` for the full command tree. Use `-f json` for script-friendly output.++### Setup++The binary is at `<install>/resources/kernel/SiYuan-Kernel` (alias: `siyuan`).+Windows installer adds it to PATH automatically. On macOS/Linux, create a symlink manually, e.g. on macOS:++```bash+ln -s /Applications/SiYuan.app/Contents/Resources/kernel/siyuan /usr/local/bin/siyuan+```+## 🏘️ Community- [English Discussion Forum](https://liuyun.io)diff --git a/README_ja_JP.md b/README_ja_JP.mdindex 3768a7fdc7..5534ea17ba 100644--- a/README_ja_JP.md+++ b/README_ja_JP.md@@ -48,6 +48,7 @@- [Unraid ホスティング](#unraid-ホスティング)- [TrueNAS ホスティング](#truenas-ホスティング)- [インサイダープレビュー](#インサイダープレビュー)+- [⌨️ コマンドラインインターフェース](#-コマンドラインインターフェース)- [🏘️ コミュニティ](#️-コミュニティ)- [🛠️ 開発ガイド](#️-開発ガイド)- [❓ FAQ](#-faq)@@ -364,6 +365,44 @@ services:主要な更新前にインサイダープレビューをリリースします。詳細は[https://github.com/siyuan-note/insider](https://github.com/siyuan-note/insider)をご覧ください。+## ⌨️ コマンドラインインターフェース++組み込み CLI で、サーバー起動なしにワークスペースデータへ直接アクセスできます。++### クイックスタート++```bash+siyuan notebook list -w ~/SiYuan+siyuan search "keyword" -w ~/SiYuan -f json+siyuan export md --id <block-id> -w ~/SiYuan+```++### 利用可能なコマンド++| カテゴリ | コマンド |+|----------|----------|+| ノートと文書 | `notebook`, `document` — CRUD |+| コンテンツ | `block`, `attr` — 読み書き、カスタム属性 |+| メタデータ | `tag`, `bookmark` |+| クエリ | `search`, `sql` — 全文検索と SQL |+| 参照 | `ref` — バックリンクと言及 |+| インポート/エクスポート | `export`, `import` — Markdown, HTML, PDF, Word, .sy.zip |+| データ管理 | `repo`, `history`, `sync` — スナップショット、履歴、クラウド同期 |+| ユーティリティ | `asset`, `file` — リソースとファイルシステム |+| データベース | `database` — 属性ビュー管理 |+| ワークスペース | `workspace` — 一覧と確認 |++詳細は `siyuan --help` を実行してください。スクリプト向け出力には `-f json` を使用します。++### セットアップ++```+<インストール先>/resources/kernel/SiYuan-Kernel (エイリアス: siyuan)+Windows: インストーラーが自動で PATH に追加します+macOS/Linux: 手動でシンボリックリンクを作成してください。例 macOS:+ln -s /Applications/SiYuan.app/Contents/Resources/kernel/siyuan /usr/local/bin/siyuan+```+## 🏘️ コミュニティ- [英語ディスカッションフォーラム](https://liuyun.io)diff --git a/README_tr_TR.md b/README_tr_TR.mdindex e17d3a7d2c..3cdecc16c3 100644--- a/README_tr_TR.md+++ b/README_tr_TR.md@@ -48,6 +48,7 @@- [Unraid Barındırma](#unraid-barındırma)- [TrueNAS Barındırma](#truenas-barındırma)- [Erken Önizleme (Insider Preview)](#erken-önizleme-insider-preview)+- [⌨️ Komut Satırı Arayüzü](#-komut-satırı-arayüzü)- [🏘️ Topluluk](#️-topluluk)- [🛠️ Geliştirme Rehberi](#️-geliştirme-rehberi)- [❓ SSS (Sıkça Sorulan Sorular)](#-sss-sıkça-sorulan-sorular)@@ -365,6 +366,44 @@ services:Büyük güncellemelerden önce erken erişim (Insider Preview) sürümlerini yayınlıyoruz. Lütfen [https://github.com/siyuan-note/insider](https://github.com/siyuan-note/insider) adresini ziyaret edin.+## ⌨️ Komut Satırı Arayüzü++Yerleşik CLI ile sunucu başlatmadan çalışma alanı verilerine doğrudan erişin.++### Hızlı Başlangıç++```bash+siyuan notebook list -w ~/SiYuan+siyuan search "keyword" -w ~/SiYuan -f json+siyuan export md --id <block-id> -w ~/SiYuan+```++### Kullanılabilir Komutlar++| Kategori | Komutlar |+|----------|----------|+| Defterler ve Belgeler | `notebook`, `document` — CRUD |+| İçerik | `block`, `attr` — okuma/yazma, özel nitelikler |+| Meta Veri | `tag`, `bookmark` |+| Sorgular | `search`, `sql` — tam metin ve SQL sorguları |+| Referanslar | `ref` — geri bağlantılar ve bahsetmeler |+| İçe/Dışa Aktarma | `export`, `import` — Markdown, HTML, PDF, Word, .sy.zip |+| Veri Yönetimi | `repo`, `history`, `sync` — anlık görüntüler, sürümler, bulut senkronizasyonu |+| Araçlar | `asset`, `file` — kaynaklar ve dosya sistemi |+| Veritabanı | `database` — öznitelik görünümü yönetimi |+| Çalışma Alanı | `workspace` — listeleme ve inceleme |++Ayrıntılar için `siyuan --help` komutunu çalıştırın. Betik dostu çıktı için `-f json` kullanın.++### Kurulum++```+<kurulum>/resources/kernel/SiYuan-Kernel (takma ad: siyuan)+Windows: yükleyici otomatik olarak PATH'e ekler+macOS/Linux: manuel olarak sembolik bağlantı oluşturun, örn. macOS:+ln -s /Applications/SiYuan.app/Contents/Resources/kernel/siyuan /usr/local/bin/siyuan+```+## 🏘️ Topluluk- [İngilizce Tartışma Forumu](https://liuyun.io)diff --git a/README_zh_CN.md b/README_zh_CN.mdindex 259ad064f4..d8fe5a07d1 100644--- a/README_zh_CN.md+++ b/README_zh_CN.md@@ -51,6 +51,7 @@- [小皮面板部署](#小皮面板部署)- [1Panel 面板部署](#1Panel-面板部署)- [内部预览版](#内部预览版)+- [⌨️ 命令行接口](#-命令行接口)- [🏘️ 社区](#️-社区)- [🛠️ 开发指南](#️-开发指南)- [❓ 常见问题和解答](#-常见问题和解答)@@ -461,6 +462,49 @@ services:我们会在有重大更新前发布内部预览版,请访问 [https://github.com/siyuan-note/insider](https://github.com/siyuan-note/insider)。+## ⌨️ 命令行接口++内置 CLI,直接访问工作空间数据,无需启动内核服务。++### 快速开始++```bash+# 列出所有笔记本+siyuan notebook list -w ~/SiYuan++# 全文搜索(JSON 输出)+siyuan search "关键词" -w ~/SiYuan -f json++# 导出文档为 Markdown+siyuan export md --id <block-id> -w ~/SiYuan+```++### 可用命令++| 分类 | 命令 |+|------|------|+| 笔记本与文档 | `notebook`、`document` — 增删改查 |+| 内容 | `block`、`attr` — 块读写、自定义属性 |+| 元数据 | `tag`、`bookmark` |+| 查询 | `search`、`sql` — 全文和 SQL 查询 |+| 引用 | `ref` — 反向链接和提及 |+| 导入导出 | `export`、`import` — Markdown、HTML、PDF、Word、.sy.zip |+| 数据管理 | `repo`、`history`、`sync` — 快照、历史、云端同步 |+| 工具 | `asset`、`file` — 资源与文件系统 |+| 数据库 | `database` — 属性视图管理 |+| 工作空间 | `workspace` — 列出和查看 |++运行 `siyuan --help` 查看完整命令树。使用 `-f json` 获得适合脚本处理的输出。++### 设置++二进制文件位于 `<安装目录>/resources/kernel/SiYuan-Kernel`(别名 `siyuan`)。+Windows 安装程序自动将内核目录添加到 PATH。macOS/Linux 下需要手动创建软链接,比如 macOS 上:++```bash+ln -s /Applications/SiYuan.app/Contents/Resources/kernel/siyuan /usr/local/bin/siyuan+```+## 🏘️ 社区- [中文讨论区](https://ld246.com/domain/siyuan)