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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案