explaingit

wechat-article/wechat-article-exporter

9,089TypeScriptAudience · writerComplexity · 2/5LicenseSetup · easy

TLDR

An online tool that bulk-downloads articles from WeChat public accounts and saves them as HTML, Markdown, Word documents, or other formats, no local installation required.

Mindmap

mindmap
  root((wechat-article-exporter))
    What it does
      Bulk article download
      WeChat public accounts
      Multiple export formats
    Output formats
      HTML full fidelity
      Markdown
      Excel
      DOCX
    Filtering
      By author
      By date
      By title
    Deployment
      Online website
      Docker
      Cloudflare
Click or tap to explore — scroll the page freely

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

Things people build with this

USE CASE 1

Bulk-download all articles from a WeChat public account and save them as HTML files with original styling intact.

USE CASE 2

Export WeChat articles to Markdown format for republishing or archiving in a personal knowledge base.

USE CASE 3

Filter and export only original articles by a specific author or published within a date range.

USE CASE 4

Run a private Docker instance of the tool to keep your WeChat credentials off a public server.

Tech stack

TypeScriptDockerCloudflare

Getting it running

Difficulty · easy Time to first run · 5min

Exporting engagement data such as view and comment counts requires capturing WeChat authentication credentials via packet inspection.

Free to use for any purpose including commercial use, just keep the MIT copyright notice.

In plain English

wechat-article-exporter is an online tool for bulk downloading articles from WeChat Official Accounts (the public subscription channels inside the WeChat app). If you follow a public account and want to save its articles locally, this tool lets you export them in bulk rather than opening each one by hand. The tool requires no local installation. You can use it through an online website, or run your own private instance using Docker or by deploying it to Cloudflare's infrastructure. Articles can be exported in several formats: HTML, JSON, Excel, plain text, Markdown, and DOCX. The HTML export is noted as being able to reproduce the original article layout and styling at 100 percent fidelity, because it bundles the images and style files together. Filtering options let you narrow downloads by author, article title, publish date, whether an article was original content, or which collection it belongs to. The tool also supports exporting engagement data such as view counts, forward counts, comments, and comment replies, though this feature requires an additional step to capture authentication credentials via packet inspection. The tool works by using a search function in the WeChat Official Account management backend as the access method for retrieving article lists. It caches fetched article lists locally to reduce repeated requests. The README is written in Chinese and points to a separate documentation site for usage instructions. The project is licensed under MIT.

Copy-paste prompts

Prompt 1
I want to archive all articles from a WeChat public account. Walk me through using wechat-article-exporter to bulk download them as HTML files.
Prompt 2
How do I deploy wechat-article-exporter with Docker on my own server so my WeChat credentials stay private?
Prompt 3
Using wechat-article-exporter, how do I filter and export only articles published after a certain date?
Prompt 4
I want to export WeChat articles to Markdown. What steps do I follow in wechat-article-exporter and what does the output look like?
Open on GitHub → Explain another repo

← wechat-article on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.