dsh-siyuan-archive

Archives DSH conversation output into SiYuan notes: a single siyuan_archive call files content under `<archive path>/<year-month>/<type>/<date>_<time>_<topic>_<content>` with a metadata table and auto-maintains an index document at the notebook root; 6 siyuan_* host tools (list notebooks, full-text search, read document, archive, delete block, remove document) and a Web settings page for base URL with connection test, API token in the host credential store, archive target and title template, plus notebook/document-level read/write/delete permissions with default deny and child levels able to only tighten.

Overview

Archives DSH conversation output into SiYuan notes: a single siyuan_archive call files content under `<archive path>/<year-month>/<type>/<date>_<time>_<topic>_<content>` with a metadata table and auto-maintains an index document at the notebook root; 6 siyuan_* host tools (list notebooks, full-text search, read document, archive, delete block, remove document) and a Web settings page for base URL with connection test, API token in the host credential store, archive target and title template, plus notebook/document-level read/write/delete permissions with default deny and child levels able to only tighten.

Installation

Install from GitHub

dsh plugin --profile web add github:YYK0402/dsh-siyuan-archive

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands