gitwtfhub

wtf is larksnap?

ambrosex/larksnap — explained in plain English

Analysis updated 2026-05-18

169TypeScriptAudience · generalComplexity · 2/5LicenseSetup · easy

TL;DR

A Chrome extension that exports Feishu/Lark documents to Markdown, PDF, or HTML, clips any webpage, and downloads videos, all using the browser's own logged-in session with no server backend.

Mindmap

mindmap
  root((LarkSnap))
    What it does
      Export Feishu docs to Markdown PDF HTML
      Clip any webpage to Markdown
      Screenshot and AI summarize pages
      Download videos via yt-dlp
    Tech stack
      TypeScript
      React
      Vite
      Chrome Manifest V3
    Use cases
      Backing up work documents
      Clipping articles for notes
      Feeding documents into Claude Code
    Audience
      Feishu Lark users
      Knowledge workers
      Developers using Claude Code

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Export a Feishu or Lark document to Markdown, PDF, or HTML for backup or sharing

REASON 2

Clip any webpage into Markdown, including sites that block copying

REASON 3

Pull a Feishu document or arXiv paper directly into a local folder through Claude Code

What's in the stack?

TypeScriptReactViteChrome Extension

How it stacks up

ambrosex/larksnapfanbidog/okkmax-webtsukamg/polymarket-weather-trading-engine
Stars169170168
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderatemoderate
Complexity2/54/54/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Video downloads and Claude Code integration require local tools like yt-dlp, ffmpeg, and Node.js.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice and state changes.

Wtf does this do

LarkSnap is a Chrome browser extension that helps people export documents from Feishu and Lark, which are workplace collaboration tools popular in China (Feishu is the Chinese name, Lark the international one). It lets a user turn a document into Markdown, PDF, or HTML, download attachments in bulk, cache pages offline, and even write Markdown content back into a document. It works using the browser's own logged-in session and Feishu's internal web interfaces, so there is no need to register an app or request API permissions through an official developer platform. It also works with company-hosted, privately deployed versions of Feishu, and can still export documents even when an organization has turned off the official export feature, though the README stresses this fallback path should only be used with proper authorization. Beyond Feishu documents, the extension works as a general web clipping tool. On any webpage, it can convert the full page or a selection into Markdown, take a full-page screenshot, generate an AI summary, and remove restrictions that block copying or right-clicking. It can also download videos from Bilibili, YouTube, Douyin, and TikTok by handing the page link to a small local helper program that uses the yt-dlp and ffmpeg command-line tools already installed on the user's machine. A companion piece lets the extension connect to Claude Code, an AI coding assistant, through an installable skill. Once set up, a user can paste a Feishu document link into Claude Code and have it download directly to a local folder, or paste an arXiv paper link to fetch the PDF, HTML, and Markdown versions of that paper without needing the browser extension at all for that particular feature. The project states that all document content, cookies, and login sessions stay on the user's own computer, with no backend server and no content sent to third parties. It does collect anonymous, disableable usage statistics such as feature counts and version numbers, but nothing identifying. It requests only the browser permissions it needs at the time, rather than broad access upfront. The extension is released under the Apache License 2.0, and its author credits several existing open-source Feishu export projects as design references.

Yoink these prompts

Prompt 1
Explain how LarkSnap exports Feishu documents without needing an official API key
Prompt 2
Walk me through installing LarkSnap and connecting it to Claude Code with the larksnap-fetch skill
Prompt 3
What privacy protections does LarkSnap mention about document content and login sessions
Prompt 4
Describe how LarkSnap downloads videos from sites like YouTube or Bilibili

Frequently asked questions

wtf is larksnap?

A Chrome extension that exports Feishu/Lark documents to Markdown, PDF, or HTML, clips any webpage, and downloads videos, all using the browser's own logged-in session with no server backend.

What language is larksnap written in?

Mainly TypeScript. The stack also includes TypeScript, React, Vite.

What license does larksnap use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice and state changes.

How hard is larksnap to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is larksnap for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.