Repository navigation
Releases
Kindle Mail 0.1.4
修复内容
- 修复 Obsidian 图片文件名含多个下划线时漏图的问题,支持完整识别带
|800等宽度参数的嵌入引用。图片仍按 EPUB 的自适应样式排版。 - 移除依赖中旧浏览器通过空 script 节点调度任务的兼容代码,改用仅接受函数的调度器。
- 保留 SMTP 专用入口、依赖文件访问拒绝、TLS 证书校验,以及禁止动态代码编译的限制。
安装与升级
下载 kindle-mail-0.1.4.zip,将内含的 kindle-mail 文件夹放入当前仓库的 .obsidian/plugins/。更新前退出 Obsidian 并备份旧插件,覆盖程序文件时保留原来的 data.json 和秘密存储中的授权码。也可单独下载 main.js 和 manifest.json。
验证
- 全部 30 项自动测试通过,包括两张图片、带下划线文件名、代码块保护、Promise 兼容路径及模拟 SMTP/TLS。
- 连续本地构建结果一致,GitHub Actions 构建与测试已通过。
- 用户已确认 0.1.3 可实际投递到 Kindle;0.1.4 针对漏图问题通过自动测试,尚未取得用户对新版两张图片实际投递结果的确认。
main.js SHA-256: 8a3686af1aacc26b47807b88ad3393a0db4d8c1cfa2b355c75936190ac79b1bc
发布到 GitHub 不代表已通过 Obsidian 社区审核。
Kindle Mail 0.1.2
Kindle Mail 0.1.2
Export Obsidian notes as EPUB or send them to Kindle through your own SMTP account. By James C.
安装与升级
- 下载
kindle-mail-0.1.2.zip,将其中的 kindle-mail 文件夹放到当前仓库.obsidian/plugins/。 - 更新前关闭插件,备份旧 main.js 和 manifest.json;保留现有 data.json 和 Obsidian 秘密存储中的授权码。
- 也可单独下载下方 main.js 和 manifest.json 放入
.obsidian/plugins/kindle-mail/。
Safety improvements
- Embedded note contents are excluded by default; opt in only when needed. The confirmation lists all included note/image paths, sender, recipient and SMTP host.
- Fresh file sizes are checked before reads and actual sizes after reads. Hidden/invalid/unregistered vault paths are refused.
- SMTP-only bundle: no sendmail/child_process, dependency filesystem access is denied, and the string-to-code scheduler fallback is removed. TLS certificate verification remains required.
- Credentials are accessed only after send confirmation; raw SMTP error responses are not displayed.
- Dependencies are pinned and locked; source labels are normalized to remove build-machine directory differences.
Validation
27 automated tests passed locally. GitHub build-and-test checks passed for the source commit. Cross-directory local builds produced identical main.js files. On 2026-10-20 the author confirmed Gmail (465 TLS) delivery to Kindle on Windows with Obsidian 1.14.4, with note text and local images displayed correctly. Other systems/providers remain unverified.
邮件服务器接收后,Amazon 转换和 Kindle 同步可能有延迟,请勿连续重复发送。
GitHub publication does not imply approval in the Obsidian Community directory or a guarantee of zero security risk. Images retain original metadata; other plugins and vault symlinks remain outside these protections.
main.js SHA-256: 1cc4c6b0ae0f3284256aba3693d83e510a38d12a4e413ea5b88eb207089c657f
Kindle Mail 0.1.1
Kindle Mail
Export Obsidian notes as EPUB or send them to Kindle using your own SMTP email account. By James C.
安装与使用
- 中文完整教程
- 下载下方 kindle-mail-0.1.1.zip,解压后将 kindle-mail 文件夹放入当前仓库的 .obsidian/plugins/。
- 或单独下载 main.js 和 manifest.json,放到 .obsidian/plugins/kindle-mail/。
- 启用插件,配置 SMTP 邮箱、应用专用密码及 Kindle 地址,将发件人加入 Amazon 白名单。
- Ctrl+P → 发送当前笔记到 Kindle。导出 EPUB 命令只保存本地文件。
Included
- EPUB conversion, local PNG/JPEG/GIF images and bounded full-note embeds.
- TLS-protected SMTP with SecretStorage credential references and send confirmation.
- Offline EPUB export, Chinese tutorial, English documentation and privacy disclosure.
Validation and limits
13 automated checks and generated EPUB XML parsing passed. The preceding 0.1.0 version was successfully delivered through Gmail to Kindle on Windows with Obsidian 1.14.4; 0.1.1 adds hardening and has not yet had a new live delivery smoke test. Desktop only, Obsidian 1.11.4+. OAuth-only accounts, remote images and dynamic plugin-rendered content are not supported.
This GitHub release does not imply acceptance into the Obsidian Community directory.