Official Feishu IO
Uses lark-cli for document fetch, update, create, and block operations.
Publish, pull, inspect, and merge Feishu/Lark document changes with dry-run-first CLI commands.
Requires Node.js 20 or newer:
npm install --global feishu-md-sync@latest
feishu-md-sync --helpfeishu-md-sync status ./doc.md --target DocToken
feishu-md-sync diff ./doc.md --target DocToken
feishu-md-sync publish ./doc.md --target DocToken
feishu-md-sync publish ./doc.md --target DocToken --write --confirm-untracked-remoteThe first command with publish is a dry-run. The second writes after review and confirms that the current working directory is adopting an existing remote document for the first time.
| Command | Purpose |
|---|---|
publish | Dry-run or write local Markdown to Feishu. |
pull | Save a remote Markdown snapshot locally. |
status | Check local, remote, and receipt state. |
diff | Compare current remote content to the local publish draft. |
merge | Merge remote edits into the local Markdown file. |
publish --write.--strategy document-replace --confirm-destructive.--confirm-collaboration-risk.--confirm-untracked-remote.merge writes only local files and supports --abort.