qiujv15 downloadsPreview private flomo memo links without changing your notes.
Preview private flomo MEMO links in Obsidian Reading view and Live Preview without changing your Markdown. Requires Obsidian 1.11.4 or later and flomo PRO or MAX for the official MCP service. The interface is currently in Chinese.
In Obsidian, open Settings → Community plugins → Browse, search for flomo Link Preview, then install and enable it when it is available in the community directory.
For manual installation, download main.js, manifest.json, and styles.css from a GitHub release and place them in <vault>/.obsidian/plugins/flomo-link-preview/. Reload Obsidian, then enable the plugin under Community plugins.
memo_batch_get tool, although the flomo connection may also grant write permissions.The plugin stores cached memo content and tags in plaintext in its plugin data file, which may be backed up or synced with the vault. It sends memo IDs to https://flomoapp.com/mcp. Clear the cache in settings when switching accounts under the same secret name. You can revoke the token in flomo. The interface is currently in Chinese.
在 Obsidian 中粘贴 flomo「复制 MEMO 链接」,即可预览笔记正文,并通过原始链接跳转到 flomo。插件保留 Markdown 原文,不创建额外笔记文件,已缓存的内容在离线时仍可查看。
可在 Obsidian「设置 → 第三方插件 → 浏览」中搜索 flomo Link Preview;插件在社区目录可用后即可安装并启用。
从 GitHub Release 下载 main.js、manifest.json 和 styles.css,也可按下方开发说明从源码构建。将三个文件放入保险库中的以下目录:
.obsidian/plugins/flomo-link-preview/
├── main.js
├── manifest.json
└── styles.css
重新加载 Obsidian,然后在「设置 → 第三方插件」中启用 flomo Link Preview。
官方 MCP 连接可能具有写入权限;本插件仅调用 memo_batch_get 读取笔记。OAuth 尚未实现。不再使用时,可在 flomo 的 MCP 设置中注销专用 Token。
flomo-bridge 是另一个侧重将 flomo 笔记同步为 Obsidian 文件的项目,其文档介绍了从 flomo 网页请求中获取登录 Token 的方法。这个网页登录 Token 与本插件使用的官方 MCP 个人 Token 不是同一种凭证,不能作为本插件的配置方法。 flomo-bridge 的免费账号适用性未由本项目验证;本插件当前仍需要 flomo PRO 或 MAX。
当前卡片以纯文本显示正文中的 Markdown,暂不显示附件。
成功读取的正文及标签以明文保存在插件的 data.json 中,可能被备份或保险库同步。默认 24 小时后重新读取;请求失败时保留并显示过期缓存。设置中可清除缓存。切换密钥名称时自动清除;如果在同一个密钥名称下替换为另一个账号的 Token,请手动清除缓存。清除缓存不撤销 Token。
只会将识别出的 memo ID 发送至 https://flomoapp.com/mcp,不会发送完整 Obsidian 笔记。远端正文按纯文本显示,不执行 HTML。首次加载或缓存过期时需要网络和有效 Token。
使用 Node.js 22 或更新版本:
npm ci
npm run check
npm test
npm run build
npm run check:release
构建后的 main.js 可用于上述手动安装。安装 just 后,可运行 just deploy 构建并复制插件文件到 ~/dev/notes 保险库;也可运行 just deploy /path/to/vault 指定其他保险库。首次运行会在缺少构建工具时自动执行 npm ci 安装依赖。此操作保留插件目录中的 data.json。复制后在 Obsidian 中重新加载插件或应用。
使用 just version patch、just version minor、just version major 或 just version 1.2.3 同步更新四个版本文件;命令不会创建提交、标签或 Release。
发布准备及尚需的手动验证见 RELEASE.md。
本项目采用 MIT License。