MarSuero/deepseek-chat-obsidian 预览 preview

MarSuero/deepseek-chat-obsidian

Plugin插件 ⭐ 2 MIT Memory & Knowledge记忆与知识库

Project Overview项目介绍

This repository is an Obsidian community plugin that embeds the official DeepSeek Harness (DSH) web user interface directly into an Obsidian sidebar panel. When you open the panel, it automatically detects if DSH is available on your system and launches the local dsh web service. If DSH is not found installed globally on your machine, it will automatically fall back to pulling the package via npx. It bypasses local CORS restrictions by using Obsidian's built-in requestUrl method to probe the running service, and all core settings like server address and launch timeout are configurable by the end user.

This plugin is built for users who regularly use both Obsidian and DSH, letting you access DSH features without switching to a separate browser window. To open the DSH panel after installation, you can either click the message icon on Obsidian's left ribbon bar or search for the "DeepSeek Chat" command in the command palette. The first time you open the panel, it will wait for the dsh web service to be fully ready before loading the interface. All interactions work exactly the same as they do when you open DSH in a standalone browser, so you don't need to learn any new workflows.

Before installing the plugin, you need to meet a few prerequisites: you must have desktop Obsidian 1.5.0 or newer, Node.js 18 or newer, and DSH installed and configured with valid model credentials. The recommended installation method is to download the main.js, manifest.json, and styles.css files from the latest release, then place them in the .obsidian/plugins/deepseek-chat/ directory of your Obsidian vault, then enable the plugin in Obsidian's community plugins menu. The plugin is open source under the permissive MIT license, and it is recommended to pair it with the dsh-web-mobile project for a better narrow-screen mobile experience.

本项目是一款适配 Obsidian 的第三方插件,核心功能是将 DeepSeek Harness(DSH)的官方 Web 界面嵌入到 Obsidian 侧边栏面板中。打开面板时它会自动探测并启动本地 dsh web 服务,如果全局找不到 dsh 命令则会自动回退到 npx 拉取。它借助 Obsidian 的 requestUrl 探测服务,绕过了本地 CORS 限制,同时支持用户自定义配置服务地址、启动命令、自动开启开关和启动超时时间。

这款插件面向同时使用 Obsidian 和 DSH 的用户,能让你不用切换浏览器或单独打开 DSH 窗口,直接在 Obsidian 工作流中使用 DSH 的全部功能。常规使用流程非常简单,安装启用后,点击左侧功能区的消息图标,或者在命令面板搜索「DeepSeek Chat」就能打开面板。首次打开时会等待 dsh web 服务就绪后自动加载页面,所有操作和在浏览器中使用完整 DSH 界面完全一致,无需额外学习成本。

本插件要求运行环境为桌面版 Obsidian 1.5.0 及以上,Node.js 18 及以上,需要提前安装好 DSH 并配置好模型凭证,也允许插件通过 npx 自动拉取 DSH。安装方式推荐从 Release 页面下载三个核心文件放到 vault 的指定目录后启用,也可以从源码克隆构建。插件采用 MIT 许可开源,免费供个人和商业使用,搭配 dsh-web-mobile 可获得更好的窄屏移动体验。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:MarSuero/deepseek-chat-obsidian

把 MarSuero/deepseek-chat-obsidian 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Chat for Obsidian

DeepSeek Chat for Obsidian 预览

建议搭配 / Recommended Companion

dsh-web-mobile 专门为 DSH Web 界面做了窄屏 UI 适配,跟本插件配合使用,强烈建议搭配。

dsh-web-mobile adapts the DSH web UI for narrow screens. Pairs perfectly with this plugin — highly recommended for a much better mobile experience.

把 DeepSeek Harness (DSH) 的 Web 界面嵌入 Obsidian 侧边栏,并在打开面板时自动拉起本地 dsh web 服务。

Embed the DeepSeek Harness (DSH) web UI inside an Obsidian sidebar panel, with auto-start for the local dsh web server.

功能 / Features

  • 侧边栏嵌入 DSH 官方 Web UI,与浏览器里打开完全一致
  • 打开面板时自动探测并启动 dsh web(dsh 找不到时回退 npx)
  • 用 Obsidian 的 requestUrl 探测服务,绕过本地 CORS 限制
  • 可配置服务地址、启动命令、是否自动启动、启动超时
  • Embeds the official DSH web UI in an Obsidian panel, identical to opening it in a browser
  • Auto-detects and starts dsh web when the panel opens (falls back to npx)
  • Probes the server via Obsidian's requestUrl, bypassing local CORS restrictions
  • Configurable server URL, launch command, auto-start toggle, and startup timeout

前置条件 / Prerequisites

  • Obsidian ≥ 1.5.0(仅桌面版,插件需要启动本地进程)
  • Node.js ≥ 18
  • DSH 已安装(npm i -g @deepseek-ai/dsh),或允许插件用 npx 自动拉取
  • DSH 已配置模型凭证(与 dsh web 一致)
  • Obsidian ≥ 1.5.0 (desktop only — the plugin spawns a local process)
  • Node.js ≥ 18
  • DSH installed (npm i -g @deepseek-ai/dsh), or allow the plugin to fetch it via npx
  • DSH model credentials configured (same as dsh web)

安装 / Installation

从 Release 安装(推荐)/ From Release (recommended)

  1. 在 Releases 下载 main.js、manifest.json、styles.css
  2. 在你的 vault 里新建目录 .obsidian/plugins/deepseek-chat/
  3. 把三个文件放进去
  4. 在 Obsidian 的第三方插件列表里启用「DeepSeek Chat」
  1. Download main.js, manifest.json, styles.css from Releases
  2. Create .obsidian/plugins/deepseek-chat/ inside your vault
  3. Put the three files there
  4. Enable "DeepSeek Chat" in Obsidian's community plugins list

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-plugin-dev-skill 下一个 Next dsh-im-bot →