README file from
GithubLark Doc

Lark Doc connects local Obsidian notes with Lark / Feishu cloud documents. It keeps a lightweight .lark.md file in your vault, opens the linked document in an Obsidian WebView, and can keep the local filename aligned with the remote document title.
Screenshots
Open a local .lark.md note and view the linked Lark / Feishu document directly inside Obsidian.

Browse linked documents from the generated Lark Documents.base view.

Features
- Automatically opens the linked Lark / Feishu document when a
.lark.mdfile is opened in Obsidian. - Reuses the existing tab for the same
.lark.mdfile, matching normal Markdown file behavior. - Creates a local
.lark.mdfile from an existing document URL throughAdd linked Lark document. - Creates a remote Lark / Feishu document and a local linked note through
Create Lark document. - Syncs document titles from Lark / Feishu and can rename the local Obsidian file.
- Copies the current Lark / Feishu document link from the preview header.
- Appends an indexed suffix when a synced filename would collide, such as
Product Spec 1.lark.md. - Maintains
Lark Documents.basein the default note folder for browsing linked documents. - Supports configurable UI language: Auto, English, and Simplified Chinese.
Requirements
- Obsidian Desktop. This plugin uses WebView and is desktop-only.
- A working authenticated
lark-cliinstallation. - Supported document URLs are
docs,docx, andwikilinks onfeishu.cnorlarksuite.com.
Usage
- Configure
Lark CLI pathin plugin settings. The default islark-cli; use an absolute path if the desktop app cannot find it. If you use fnm, nvm, or another Node manager, point this setting to thebin/lark-cliexecutable. - Configure
Default note folder. The default isLark; linked notes andLark Documents.baseare created there. - Run
Add linked Lark documentand paste an existing Lark / Feishu document URL. - The plugin fetches the remote title and creates
Title.lark.md. - Open the
.lark.mdfile in Obsidian to view the remote document inside the plugin view. - Use the sync button in the view header to manually sync the remote title and local filename, or the copy button to copy the remote document link.
Local File Format
.lark.md files are local proxy notes. They store only metadata and a short explanation; the full content stays in Lark / Feishu. The plugin uses lark_doc_id, lark_url, and lark_title Front matter fields for the document ID, URL, and cached title.
Security and Permissions
- The plugin uses the vault API for note reads, creates, and updates. It does not use Node.js
fsin runtime plugin code. - The plugin runs the configured
lark-cliexecutable with fixed arguments throughchild_process.spawnandshell: falsewhen creating documents or fetching titles. - Background title sync is disabled by default. If enabled, it enumerates Markdown file paths in the vault to find linked
.lark.mdnotes.
Development
npm install
npm run dev
npm run lint
npm test
npm run test:coverage
npm run build
Release assets for Obsidian:
manifest.jsonmain.jsstyles.css
See Release guide for the automated release and community submission check workflow. Changes are tracked in CHANGELOG.md.