返回插件目录

Dingpenghui-good /

Dingpenghui-good/dsh-obsidian-sync

仅 Topic 仓库

这个插件还没有填写简介。

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
README来源: main@9728f589

DSH Obsidian Sync Plugin

自动将 DSH 对话内容同步到 Obsidian 知识库

功能特性

  1. 会话前自动读取知识库

    • 根据用户输入关键词,自动搜索 Obsidian 知识库
    • 将相关内容注入到系统提示中
    • 提供上下文补充,提升对话质量
  2. 会话后自动同步

    • 自动生成会话摘要
    • 提取主题标签
    • 保存到 Obsidian 知识库

安装

方式一:从 npm 安装(推荐)

dsh plugin --profile web add dsh-obsidian-sync

方式二:从本地路径安装

cd dsh-obsidian-sync
npm install
npm run build
dsh plugin --profile web add .

配置

在 ~/.dsh/settings.yaml 中添加:

obsidian-sync:
  vaultPath: "D:/path/to/your/obsidian/vault"
  autoSync: true
  syncOnTurnEnd: true
  readBeforeTurn: true

使用

安装后插件会自动:

  • 对话前搜索相关知识库内容
  • 对话后生成摘要并同步

开发

npm install
npm run build
npm test

发布

npm version patch
git push origin main --tags
npm publish

许可证

MIT


作者: Dingpenghui-good
仓库: https://github.com/Dingpenghui-good/dsh-obsidian-sync

—/ 5

暂无评分

社区评论

还没有评论,来写第一条。