get-feishu-docs is a CLI tool designed to export Feishu documents into stable local formats such as HTML, PNG, PDF, Markdown, and more with just one command. It automates the process of launching a browser, handling authentication, expanding content, and capturing structured blocks to produce consistent outputs.
Key Features:
Human-first CLI Interface: Simplifies document exportation with an intuitive command-line interface.
Stable Machine Contract: Offers JSON (--json) options and progress output in JSONL (--progress=jsonl) for seamless integration and scripting.
Automated Browser Handling: Utilizes system Chrome/Chromium or managed Chromium installations to streamline the process.
Multiple Output Formats: Supports HTML (default), PNG, PDF, Markdown, unified assets, and a manifest.json file.
Localized Videos: Embeds videos directly within HTML exports for enhanced viewing experience.
Click-to-Zoom Images: Enhances image clarity in HTML outputs with zoom functionality.
Audience & Benefit:
This tool is ideal for developers, content creators, and anyone requiring consistent local exports from Feishu. It provides a reliable method to handle authentication, expand content, capture structured data, and generate outputs suitable for both human use and automated processing. Installation via winget ensures easy setup across supported platforms.
get-feishu-docs offers a professional solution for exporting Feishu documents into stable, accessible formats, enhancing workflow efficiency and document management capabilities.
README
get-feishu-docs
get-feishu-docs exports Feishu documents into stable local deliverables with one command.
It launches Chrome or Chromium, opens the document, handles password entry, expands folded content, captures structured blocks, and writes local outputs for people and agents.
Features
Human-first CLI: get-feishu-docs
Stable machine contract: --json and --progress=jsonl
Browser strategy: auto -> system Chrome/Chromium -> managed Chromium
Outputs: HTML by default, optional PNG, PDF, Markdown, unified assets, and manifest.json
Localized videos in HTML export
Click-to-zoom images in HTML export
Install
Download a release build
Download the archive for your platform from the GitHub Releases page, extract it, and run get-feishu-docs.
Homebrew
brew install Wangnov/tap/get-feishu-docs
Winget
winget install Wangnov.GetFeishuDocs
Build from source
go build ./cmd/get-feishu-docs
Install with Go
go install github.com/wangnov/get-feishu-docs/cmd/get-feishu-docs@latest