kiven大汉堡154 downloadsChat with DeepSeek in Obsidian using your own API key。使用您自己的 API 密钥,在 Obsidian 中与 DeepSeek 进行对话:支持网页搜索、深度搜索、阅读链接与文件、文本转语音以及语音输入功能。
Chat with DeepSeek in an Obsidian sidebar using your own API key. Every capability from DeepSeek's official Build a Chatbot guide is built in: web search, deep search, reading links, file input, safety check, auto titles, text-to-speech and speech input. Works on desktop and mobile.
Unofficial. This is an independent open-source project and is not affiliated with or endorsed by DeepSeek.
Every feature can be turned on or off in the plugin settings.
| Feature | What you get |
|---|---|
| Chat | Streaming replies, stop, regenerate, edit and resend |
| Thinking | Toggle and effort (low / high / max); reasoning is shown collapsed |
| Web search | Search queries, result cards, inline citations and a source list |
| Deep search | With Web and Think both on, every step (search → open page → find in page) is shown |
| Read links | Paste links in your message; DeepSeek reads them server-side |
| File input | PDF, Word, PowerPoint, images, Excel, ebooks, and plain text or code; pick from the vault, drag in or paste |
| Image understanding | Paste a screenshot and ask about it (deepseek-flash only) |
| Safety check | Optional moderation with a custom refusal message |
| User context | Date, weekday, location and language are sent with each turn |
| Auto titles | Generated during the first turn at no extra cost |
| Read aloud | Two voices, streaming playback, optional auto-play |
| Voice input | Record up to 120 seconds and transcribe into the input box |
| Continue | Resume a reply that was cut off by the length limit |
| Usage and cost | Cache hit / miss, output, searches and an estimated cost for every reply |
| Vault tools | Search and read your notes, plus optional write tools (create_note, append_note, edit_note, update_note, rename_note, delete_note) with confirmation preview |
| Obsidian integration | Include the current note, ask about selected text, insert a reply into a note, save as a note, export a whole chat, clickable [[links]] with hover preview |
| JSON extraction | A command that extracts structured data from the current note (JSON output mode) |
From Community plugins (after approval): Settings → Community plugins → Browse → search for "DeepSeek Chat".
With BRAT (beta builds): install BRAT, choose Add beta plugin, and enter KivenBig/obsidian-deepseek-chat.
Manually: download main.js, manifest.json and styles.css from the latest release into <your vault>/.obsidian/plugins/deepseek-chat/, then reload Obsidian and enable the plugin.
Chats are saved as JSON files in DeepSeek Chats/ in your vault (configurable), so they sync with whatever sync method you already use. Use Export as note to get a readable Markdown copy.
https://api.deepseek.com by default, or the base URL you set). It sends your messages, any notes or files you attach, and — when you enable vault tools — note content the model asks to read. Web search and link reading are performed by DeepSeek's servers. Streaming replies use fetch because Obsidian's requestUrl cannot read a response incrementally; every other request uses requestUrl.search_notes vault tool when you have turned vault tools on. File paths and content stay on your device unless the model reads a note through a tool you enabled..obsidian/plugins/deepseek-chat/data.json, like all plugin settings. If you sync your vault with Git or share it, exclude that file.Each reply shows an estimated cost based on a price table you can edit in settings (DeepSeek may change prices). Peak hours are weekdays 09:00–12:00 and 14:00–18:00 Beijing time; all other times use the off-peak price. Public holidays are not detected. The estimate is for reference; your DeepSeek bill is authoritative.
npm install
npm run dev # watch build
npm run build # type-check and production build
npm run lint # Obsidian's official ESLint rules
npm test # unit tests
See CONTRIBUTING.md. The original feature design is in docs/DESIGN.md.
在 Obsidian 侧栏里使用 DeepSeek 官方「构建 Chatbot」指南中的全部能力:联网搜索、深度思考搜索、阅读链接、文件输入、内容安全、会话标题、朗读、语音输入。填入你自己的 API Key 即可使用,桌面端和手机端都支持。
非官方开源项目,与 DeepSeek 无关联。
每一项都可以在插件设置里单独开关:多轮对话与流式输出、深度思考(可调强度)、联网搜索(带引用和来源)、深度思考搜索、阅读链接、文件输入(PDF / Word / PPT / 图片 / Excel / 电子书 / 纯文本)、图片理解、内容安全审核、用户元信息、自动会话标题、朗读回答、语音输入、续写、用量与费用估算、笔记库读写工具(含写入前预览确认、按需开启移动与移入回收站),以及附带当前笔记、选中文字提问、插入或另存为笔记、导出会话、[[双链]] 点击打开与悬停预览、JSON 提取。
KivenBig/obsidian-deepseek-chat。main.js、manifest.json、styles.css,放进 <你的库>/.obsidian/plugins/deepseek-chat/。https://api.deepseek.com,或你设置的地址),发送你的消息、你附带的笔记和文件,以及开启笔记库工具后模型要求读取的笔记内容。联网搜索和读链接由 DeepSeek 服务端执行。流式回答使用 fetch(Obsidian 的 requestUrl 不支持逐块读取),其余请求都使用 requestUrl。.obsidian/plugins/deepseek-chat/data.json。如果你用 Git 同步或分享整个库,请排除这个文件。每条回答显示的费用按设置里可编辑的价格表估算。高峰时段为北京时间工作日 9:00–12:00、14:00–18:00,其余为低谷价,不识别法定节假日。估算仅供参考,以 DeepSeek 账单为准。