feat: Add Obsidian integration and content deduplication - #9
Open
iBlinkQ wants to merge 2 commits into
Open
Conversation
iBlinkQ
force-pushed
the
feat/obsidian-integration
branch
from
March 30, 2026 10:36
0c3c2df to
d656b04
Compare
…tion # Conflicts: # prompts/digest-intro.md
iBlinkQ
force-pushed
the
feat/obsidian-integration
branch
from
March 30, 2026 11:00
e5a0723 to
61ec6fe
Compare
|
+1 I have the same use case. |
chilemei
reviewed
May 18, 2026
| finalArgs.push(...args); | ||
| if (vaultName) finalArgs.push(vaultName); | ||
| finalArgs.push('--silent'); | ||
| const obsidianPath = '/Applications/Obsidian.app/Contents/MacOS/obsidian'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Zara,这个 skill 很棒!
我喜欢用 Obsidian 做知识管理,如果能将每日的 AI 摘要同步存入 Obsidian Daily 笔记,进行归档,可能会让每日的 AI 摘要产生更长期的价值,让外部资讯与个人知识库产生链接,因此我做了一些更新:
三个核心功能的增强:新增 Obsidian 每日记录自动归档、新增内容去重(避免重复推送) 以及 优化摘要内容的 Markdown 排版结构。
1. 新增 Obsidian 每日日记集成 (核心功能)
让生成的摘要可以在推送的同时,自动追加写入到本地的 Obsidian 每日笔记中(用户可选择是否启用)。
README.md/README.zh-CN.md:更新了功能介绍和快速开始步骤,补充了“可将摘要自动追加到 Obsidian”的特性说明。SKILL.md:obsidian vaults命令验证 Vault 名称。config.json的环节中加入了obsidian相关的配置信息。obsidian相关字段设置,包含enabled,vaultName,dailyDir(默认 "Daily") 和sectionTitle(默认 "AI Builders Digest")。child_process.execFileSync用作执行系统命令。saveToObsidian、runObsidian和getLocalDateString函数。利用 Obsidian CLI 命令(如search,daily,append)检查今天的笔记是否存在,并将摘要内容无缝拼接进去。2. 本地内容去重(避免阅读重复内容)
确保每次生成的摘要只包含尚未发送过的新内容。
~/.follow-builders/seen-content.json,用来记录已经看过的推文、视频和文章。loadSeen(),saveSeen()和filterNew()逻辑。通过比对 Twitter ID、Video ID 和文章 URL 过滤掉历史已拉取过的内容。3. 排版格式优化
让生成的报告更具结构化,优化阅读体验。
## AI Builders Digest,分类模块加上了###层级),从而改善在支持 Markdown 显示的终端及 Obsidian 中的排版效果。