shovy2 downloadsOpen Mobi to format notes and copy them into WeChat Official Accounts.
在 Obsidian 桌面端打开 墨笔,把笔记排版后复制到微信公众号。
Open Mobi inside Obsidian desktop, format a note, and copy it into WeChat Official Accounts.
| Plugin id | mobi |
| Desktop only | Yes (isDesktopOnly: loopback HTTP server for offline mode) |
| License | GNU AGPL-3.0-or-later |
https://mobieditor.cnmobi-offline.bin,首次使用时从本插件的 GitHub Release 下载并校验)里的墨笔构建,经本机 http://127.0.0.1:<port> 提供,页面本身不从 mobieditor.cn 加载请在安装前阅读。Please read before installing.
https://mobieditor.cn in an iframe. The plugin does not upload your note to a Mobi server by itself; note text is passed locally between the plugin and that page with postMessage. Features on the page (image library, AI, etc.) follow Mobi’s own product behavior and may contact Mobi services when you use them.127.0.0.1 only; the page itself is not loaded from mobieditor.cn. The copy is a separate release file, mobi-offline.bin (about 8 MB), not part of main.js. The first time you open an offline tab, the plugin downloads it once from this plugin's own GitHub release (https://github.com/FengBuL/obsidian-mobi/releases/download/<plugin version>/mobi-offline.bin), checks its size and SHA-256 against the values recorded in main.js, discards it if they do not match, and saves it next to the plugin files. No other request is made for it. You can also download it ahead of time from the plugin settings. If you never choose offline mode, nothing is downloaded.wsrv.nl, cdn.jsdelivr.net), some MathJax fonts from cdn.jsdelivr.net, and AI features with the provider you configure.中文摘要:
mobieditor.cn;插件本身不上传笔记。127.0.0.1 提供离线包里的页面,页面不从 mobieditor.cn 加载。离线包(约 8 MB)首次使用时从本插件的 GitHub Release 下载一次,用 main.js 里记录的 SHA-256 校验,不通过就丢弃。目录上架后:在 Obsidian → 设置 → 第三方插件 → 浏览,搜索「Mobi Editor」。
手动安装:从 GitHub Release 下载 main.js、manifest.json、styles.css,放到库的 .obsidian/plugins/mobi/。离线包 mobi-offline.bin 不用手动放,需要时插件会自己下载并校验;想完全离线安装的话,把 Release 里的 mobi-offline.bin 一起放进同一个目录即可(同样会校验)。
npm ci # 按 package-lock.json 安装,版本固定
npm run build:release # → dist/mobi/{main.js,manifest.json,styles.css}
npm run lint
npm run type-check
assets/mobi-offline.bin is the prebuilt offline web app. It is not embedded in main.js; the build only records its SHA-256 and size. Every release uploads it as its own file. npm run build (without :release) adds an inline sourcemap.
Releases are built by .github/workflows/release.yml when a tag such as 0.1.1 (no v) is pushed. It runs npm ci, lint, type-check and build:release, creates a GitHub build-provenance attestation for main.js, manifest.json, styles.css and mobi-offline.bin, and uploads them to the Release. To check a downloaded file:
gh attestation verify main.js --repo FengBuL/obsidian-mobi
GNU Affero General Public License v3.0 or later. See LICENSE and THIRD_PARTY_NOTICES.md.
This repository contains only the Obsidian plugin. The offline web app is a prebuilt binary, assets/mobi-offline.bin. It is not embedded in main.js: each release uploads it as a separate file, and main.js records its SHA-256 and downloads it on first use of offline mode.