DeepSHPlugins
dsh-trilium 项目预览
GITHUB / COMMUNITY PROJECT

dsh-trilium

记忆与知识TypeScriptMIT

通过 ETAPI 把 Trilium 笔记库接入 agent,提供 20 个工具:记忆读写(remember/recall + 自动注入索引)、笔记管理(CRUD/克隆/属性/修订)、全文搜索、周报工作流、附件、日历笔记、备份导入,独立设置卡片,配置 0600 落盘。

0 StarsMineRPi 更新时间 2026-08-18
访问 GitHub 仓库
dsh-trilium 项目预览

项目介绍

中文

通过 ETAPI 把 Trilium 笔记库接入 agent,提供 20 个工具:记忆读写(remember/recall + 自动注入索引)、笔记管理(CRUD/克隆/属性/修订)、全文搜索、周报工作流、附件、日历笔记、备份导入,独立设置卡片,配置 0600 落盘。

English

Connect Trilium notes to the DSH agent via ETAPI with 20 agent tools: durable memory (remember/recall + auto-injected index), note management (CRUD/clone/attributes/revisions), full-text search, weekly-report workflow, attachments, calendar notes, backup/import, and a settings card.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
MineRPi
仓库
MineRPi/dsh-trilium
GitHub Stars
0
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-08-18
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

37/ 100
维护活跃
84
文档与实用信息
85
生态关注度
0
安装便捷信号
100
项目声明信号
85

README 含完整安装与使用说明;标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add dsh-trilium

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-trilium

npm DSH License: MIT awesome · DSH plugin CI

English | 中文

A DeepSeek Harness (DSH) Web GUI plugin that connects your Trilium notes to the agent through the ETAPI: durable memory, note management, full-text search, a weekly report workflow, attachments, calendar notes, backups, and a settings card.

Highlights

  • Memory: trilium_remember / trilium_recall scoped to a memory directory,

plus auto-injected memory index at session start (toggleable).

  • Notes: create / read / update / delete / undelete, tree browsing, cloning

(multi-folder reuse), attributes (label/relation), revisions.

  • Search: Trilium full-text syntax ("exact phrase", #label, subtree scoping).
  • Weekly report: trilium_weekly_report collects the week's material and stores

the finished report with startDate/endDate labels.

  • Attachments & calendar: trilium_attachment, trilium_calendar.
  • Backup & migration: trilium_backup, trilium_export, trilium_import.
  • Settings card: 设置 → 插件 → 可配置 (server URL, token, memory directory,

switches, connection test).

  • Safe by default: config in ~/.dsh/dsh-trilium.json (0600); token never

enters cordis.yml or the model context; deletes require confirm.

Install

dsh plugin --profile web add dsh-trilium      # npm
# or: dsh plugin --profile web add github:MineRPi/dsh-trilium

Restart dsh web. The repository ships lib/, so git installs normally need no build approval.

Tools

trilium_app_info trilium_search trilium_get_note trilium_list_children trilium_create_note trilium_update_note trilium_delete_note trilium_undelete_note trilium_clone trilium_attribute trilium_attachment trilium_calendar trilium_remember trilium_recall trilium_weekly_report trilium_revisions trilium_backup trilium_export trilium_import trilium_history

Verify after install

# the agent tools should be listed in the session (or just ask the agent)
# connection test:
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:3080/api/dsh-trilium/config

Requirements

  • DSH >=0.1.0-rc.7 <0.2.0, Node ^22.19.0 || >=24.0.0
  • Trilium with ETAPI enabled (TriliumNext 0.10x+ or classic Trilium)

Development

npm install
npm run typecheck
npm run build
npm test

Listing status

  • npm: [email protected] published ✅
  • awesome-dsh-plugin PR: #1045 open (pending merge)
  • Flow: publish to npm → add a YAML entry under data/plugins/ → run

node scripts/generate-readme.mjs → open a PR → dshmarket picks it up after merge

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目