Skip to content

Common Workflows ​

Organized by what you want to accomplish — each section starts with step-by-step instructions followed by practical notes. Haven't installed the extension yet? Start with Install & Quick Start, sign in to Feishu / Lark once, then come back here.

Three things to keep in mind:

  • LarkSnap reuses your already-signed-in Feishu / Lark browser session — no app registration or API permissions needed.
  • All exported files go straight to your browser's default Downloads folder.
  • The status bar at the bottom of the side panel reports progress, completion, and errors — always check it first if something goes wrong.

Contents ​

  1. Open the Side Panel & Authorize a Domain
  2. Export a Document (Markdown / PDF / HTML)
  3. Export Spreadsheets & Bitable (Base)
  4. Export Attachments & Images
  5. Wiki Knowledge Base Pages
  6. Background Fetching in Claude Code with larksnap-fetch
  7. Other Built-In Tools
  8. FAQ & Troubleshooting

1. Open the Side Panel & Authorize a Domain ​

The side panel is LarkSnap's main workspace.

Steps ​

  1. Open any Feishu / Lark document (docx, wiki, sheets, or base URL).
  2. Click the LarkSnap icon on the toolbar (or press Ctrl/Cmd+Shift+L) to open the side panel.
  3. Check the "Current Page" card at the top: once it shows the document title and type (e.g. Feishu docx), it is ready.
  4. For self-hosted enterprise Feishu (not feishu.cn or larksuite.com), a banner will prompt you to authorize the domain. Click Authorize this domain and allow the browser permission prompt.
  5. Once the status bar says Authorized, ready to export, you are all set. You only need to authorize each domain once.

Notes ​

  • Authorized domains appear under "Trusted self-hosted domains" in Settings, where you can revoke them anytime.
  • Public cloud Feishu / Lark (*.feishu.cn, *.larksuite.com) works immediately without extra authorization.
  • Browser internal pages (chrome://...) cannot be accessed by extensions; switch to a normal web page.
  • If the panel says the page is unrecognized, make sure you opened a specific document rather than a folder list or home dashboard.

2. Export a Document (Markdown / PDF / HTML) ​

Choose the format that fits what you plan to do next:

GoalButtonOutput
Edit later, import into note apps, or feed to AIExport as MarkdownA .zip containing .md + images/ folder, or a single .md
Print as-is or share a fixed layoutExport as PDFA single .pdf
Open offline in a browser as one self-contained fileExport as HTMLA single .html with images embedded

Steps ​

  1. Open the document and open the LarkSnap side panel.
  2. Click Export as Markdown, Export as PDF, or Export as HTML.
  3. Watch the bottom status bar as it fetches content, downloads images, and packs the archive.
  4. When it says Export complete, check your Downloads folder.
  5. For Markdown .zip exports, keep the .md file alongside its images/ folder so relative image links resolve properly.

You can also right-click anywhere on the document and choose LarkSnap → Export as Markdown / PDF / HTML without opening the side panel.

Available for Markdown exports in Settings (Right-click extension icon → Options):

  • Download images locally (bundled in zip) (default): Images go into images/ and are referenced by relative paths. Works offline — recommended.
  • Keep online image links: Produces a single smaller .md file, but image URLs require a Feishu login and may expire.

PDF and HTML always embed images directly.

Notes ​

  • Two export channels: When your organization enables Feishu's official export, LarkSnap uses it first (Markdown produces a single .md, and PDF uses Feishu's server-side layout). If official export is disabled, LarkSnap automatically falls back to local page-data conversion and notifies you in the status bar. Only export documents you are authorized to access.
  • Very long PDFs: Local PDF conversion may compress resolution on extremely long documents to ensure the entire document fits.
  • Whiteboards (Board blocks): Whiteboards render live in the browser, so LarkSnap scrolls them into view to capture them. If a board fails to capture, scroll it into view and retry. PDFs containing whiteboards automatically use local conversion for sharper boards.
  • Embedded spreadsheets: Converted to Markdown tables when readable; otherwise falls back to a link without failing the export.
  • Partial image failures: Failed images fall back to online links and are reported in the status bar. If all images fail on a self-hosted domain, re-authorize the domain and retry.
  • Context-menu / shortcut feedback: Shown on the extension icon badge — green ✓ for success, red ! for failure (open the side panel to see details).

3. Export Spreadsheets & Bitable (Base) ​

Feishu Sheets (/sheets/...) and Bitable / Base (/base/...) use dedicated export formats:

TypeOutputButton
Sheets (sheets)A .zip with a combined Markdown file + csv/ folder (one CSV per sheet)Export as Markdown
Bitable (base)An .xlsx workbook (one worksheet per table)Export as Excel

Steps ​

  1. Open the spreadsheet or Bitable and wait for cells to finish loading.
  2. Open the LarkSnap side panel.
  3. Click Export as Markdown for Sheets, or Export as Excel for Bitable.
  4. Wait for the status bar to confirm completion.

Notes ​

  • Format guardrails: Clicking an unsupported format (e.g. PDF on a spreadsheet, or Excel on a regular doc) shows a clear reminder instead of failing silently.
  • Reads loaded page data: Wait until the table finishes loading before exporting. For very large Bitables (thousands of rows), scroll down to load all rows first if the status bar indicates partial rows were exported.
  • Sheets or columns you do not have permission to view (or that are hidden) will not appear in the export.

4. Export Attachments & Images ​

Use this when you want all embedded images, Word docs, PDFs, or archives from a document in one batch.

Steps ​

  1. Open the document and open the side panel.
  2. Click Export Attachments.
  3. Wait for the status bar to finish downloading and packing.
  4. Find <Document Title>-attachments.zip in your Downloads folder.

Notes ​

  • Works on regular documents (docx and Wiki docs), not Sheets or Bitables.
  • If a few attachments fail due to network hiccups (e.g. 10/12), re-running usually fetches the rest. If all fail on a self-hosted domain, check domain authorization first.

5. Wiki Knowledge Base Pages ​

Wiki pages (/wiki/...) can contain a document, a spreadsheet, or a Bitable under the hood. LarkSnap automatically detects the underlying node type.

Steps ​

  1. Open the specific Wiki page you want (not the top-level directory).
  2. Open the side panel and confirm the page title.
  3. Click Export as Markdown / PDF / HTML for documents, Export as Markdown for embedded Sheets, or Export as Excel for embedded Bitables.

Notes ​

  • Each export saves the current page only (not the entire Wiki tree). For batch exports, use larksnap-fetch in Claude Code (Section 6).
  • Even when a Wiki page contains a spreadsheet, its URL stays /wiki/... — that is expected.

6. Background Fetching in Claude Code with larksnap-fetch ​

With the larksnap-fetch skill installed, you can paste a Feishu URL in Claude Code and have it saved straight to a local folder without clicking the side panel. The CLI sends the job to a local loopback daemon, which asks the LarkSnap extension in Chrome to export — so Chrome must be open with LarkSnap installed and Feishu logged in.

Steps ​

  1. Install the skill once:

    macOS / Linux:

    bash
    curl -fsSL https://larksnap.ambrosex.com/install.sh | bash

    Windows (PowerShell):

    powershell
    irm https://larksnap.ambrosex.com/install.ps1 | iex

    This checks Node 18+, installs the skill to ~/.claude/skills/larksnap-fetch, and registers the local daemon to start on login.

  2. Make sure Chrome is running with LarkSnap installed and Feishu signed in.

  3. In Claude Code, simply say:

    Download https://xxx.feishu.cn/docx/AbCd1234 to ./docs

  4. Or run it directly in your terminal:

    bash
    node ~/.claude/skills/larksnap-fetch/scripts/fetch.mjs <url> <output-dir> [--format md|pdf|html]

    Defaults to --format md.

  5. When done, stdout prints ✓ 已导出到 /abs/path/<title> and lists the generated files.

Output Layout ​

<output-dir> is the parent folder; each document gets its own subfolder named after its title:

docs/
└── My-Document/
    ├── My-Document.md
    └── images/
        └── xxx.png
  • --format html: saves a single .html file inside the subfolder.
  • --format pdf: saves a single .pdf file (uses official export when available, otherwise falls back to local conversion).
  • Sheets URL: always outputs Markdown + csv/ folder.
  • Bitable URL: always outputs .xlsx.
  • Ordinary webpage URL: clips the page to Markdown (md only; images keep online URLs, except Xiaohongshu notes with a full xsec_token share URL where images are downloaded locally).
  • arXiv paper URL: handled directly by scripts/arxiv.mjs (downloads PDF + HTML + Markdown without needing a browser or login).

Common Exit Codes ​

When a command fails, the last line of output is JSON with a hint field explaining what to do next:

Exit CodeMeaningWhat to do
0SuccessDone
1Export failedCheck the message; usually permission or network issue — retry once
2Invalid argumentsCheck URL and output path; if multiple Chrome profiles are connected, pass --profile <code> (copy from the status dot in the side panel)
3Login requiredSign in to that Feishu domain in Chrome and retry
4Domain authorization requiredOpen any page on that domain in Chrome, click Authorize this domain in the side panel, and retry
5Daemon or extension disconnectedConfirm Chrome is open with LarkSnap loaded, click the extension icon to wake it, and retry

Notes ​

  • Background fetches briefly open a quiet tab in Chrome and close it when finished. Documents with whiteboards briefly bring the tab forward to render the board.
  • If the side panel warns about a bridge protocol mismatch, update the skill with:
    bash
    curl -fsSL https://larksnap.ambrosex.com/install.sh | bash -s -- --update
  • The skill also supports writing back to Feishu docs (scripts/edit.mjs) and searching via your logged-in browser (scripts/search.mjs). In Claude Code, just ask in natural language (e.g. "append this markdown to that Feishu doc"). Writing temporarily uses the system clipboard and attaches the browser debugger for a few seconds.

7. Other Built-In Tools ​

Available under "General Tools" in the lower half of the side panel on any webpage:

FeatureWhere to find itSummary
Page to MarkdownWeb Clipper → Copy / Download .md (or Ctrl/Cmd+Shift+M)Convert the current page (or selection only) to Markdown.
Full-Page ScreenshotScreenshot → Full-page PNG / PDF (or Ctrl/Cmd+Shift+S)Auto-scrolls and stitches the full page. First use requests "all sites" permission (required by Chrome for scrolling capture).
AI Summary / ChatAI Summary → Open AI ChatSummarize or ask follow-ups using your own OpenAI-compatible API endpoint, API key, and model configured in Settings. No built-in AI backend.
Unlock Copy ProtectionPage TogglesTemporarily re-enable text selection, copy, and right-click on restricted pages.
Auto-Copy SelectionPage TogglesAutomatically copy highlighted text above a configurable length threshold.
Copy Tab LinksWeb ClipperCopy the current tab or all open tabs as Markdown or plain URLs.
YouTube TranscriptsSide panel on any YouTube videoPick a subtitle track and download as .md.
Video DownloadSide panel on Bilibili / Douyin / TikTok / YouTubeDownloads via local yt-dlp + ffmpeg (requires the larksnap-fetch skill).
Xiaohongshu Cards / WeChat FormatFeishu doc → Republish rowRender vertical PNG cards or copy WeChat-ready rich text.
Local CacheFeishu doc → Cache LocallySave offline snapshots accessible anytime from the cache library.
Local Markdown EditorGeneral ToolsOpen local .md files or folders with live side-by-side preview.

8. FAQ & Troubleshooting ​

Why does the status bar say "Document may be incomplete" after export? ​

For extremely long documents, Feishu paginates blocks. LarkSnap supports up to ~240,000 blocks and explicitly warns you if pagination hits the cap, ends early due to rate limits/network hiccups, or if a massive embedded table hits the subtree limit. Try exporting again, or split very large documents. (This only applies to local fallback conversion, not Feishu's official export channel.)

Progress stuck at 97%? ​

97% is the zip-packing phase. With hundreds of images this can take tens of seconds. If it stays frozen for several minutes:

  1. Check your Downloads folder first — the file may already be saved.
  2. Reopen the side panel and retry.
  3. Try switching Markdown image mode to "Keep online links" to grab the text first, then run Export Attachments separately.
  4. If it keeps stalling, click Export diagnostics at the bottom of the side panel and report it on the Feedback & Community page.

Where did my exported file go? ​

Check your browser's default Downloads folder (or Chrome's download icon in the top-right corner). Markdown with images and Sheets save as .zip; Bitables save as .xlsx.

How do I report a bug? ​

Click Submit feedback at the bottom of the side panel to open the Feedback & Community page. For self-hosted Feishu layout issues, attach the bundle from Export diagnostics (personal info is stripped automatically).

100% client-side — your documents and cookies never leave your device