# wechat-article-exporter | 公众号文章工具箱 | Knowledge Base | Instagit

一款在线的 微信公众号文章批量下载 工具，支持导出阅读量与评论数据，无需搭建任何环境，可通过 在线网站 使用，支持 docker 私有化部署和 Cloudflare 部署。  支持下载各种文件格式，其中 HTML 格式可100%还原文章排版与样式。

GitHub Stars: 10.9k

Repository: https://github.com/wechat-article/wechat-article-exporter

---

## Articles

### [Integration Architecture of the EXTERNAL_API_SERVICE in wechat-article-exporter](/wechat-article/wechat-article-exporter/integration-architecture-external-api-service)

Explore the EXTERNAL_API_SERVICE integration architecture, a Nitro gateway securely proxying WeChat MP requests and managing public proxies for efficient server-side access.

- Tags: architecture
- Published: 2026-05-26

### [How Video and Audio Messages Are Handled Differently from Standard Articles in wechat-article-exporter](/wechat-article/wechat-article-exporter/video-audio-message-handling-vs-standard-articles)

Learn how wechat-article-exporter handles video and audio messages differently than standard articles. Discover its specialized parsing and media extraction for richer exports.

- Tags: internals
- Published: 2026-05-26

### [WeChat QR Code Scan Login Flow: How scan.get.ts Handles Authentication Polling in wechat-article-exporter](/wechat-article/wechat-article-exporter/role-scan-qr-code-login-flow)

Explore how scan.get.ts in wechat-article-exporter handles WeChat QR code scan login authentication polling by proxying client UUID to WeChat's backend for confirmation.

- Tags: internals
- Published: 2026-05-26

### [How WeChat Article Exporter Handles Pagination for Large Article Lists](/wechat-article/wechat-article-exporter/handle-pagination-large-article-lists)

Learn how WeChat Article Exporter effectively paginates large article lists using offset-based requests and a 20-item page size. Discover the looping strategy for seamless data retrieval to the last article.

- Tags: internals
- Published: 2026-05-26

### [How to Download WeChat Article Comments and Replies via the Comment API](/wechat-article/wechat-article-exporter/workflow-downloading-comments-replies-comment-api)

Learn how to download WeChat article comments and replies using the official comment API. This guide explains the workflow for data extraction and storage.

- Tags: how-to-guide
- Published: 2026-05-26

### [How Turndown Service Converts HTML to Markdown While Preserving Formatting in WeChat Article Exporter](/wechat-article/wechat-article-exporter/turndown-service-html-to-markdown-conversion)

Discover how Turndown service expertly converts HTML to Markdown in WeChat Article Exporter. Learn how it preserves formatting and visual hierarchy using rule-based transformations.

- Tags: how-to-guide
- Published: 2026-05-26

### [Required Environment Variables for Deploying wechat-article-exporter: NITRO_KV_DRIVER and NITRO_KV_BASE Explained](/wechat-article/wechat-article-exporter/environment-variables-deployment-wechat-article-exporter)

Deploy wechat-article-exporter easily by understanding NITRO_KV_DRIVER and NITRO_KV_BASE environment variables. Learn how to configure your storage backend and path for successful deployment.

- Tags: how-to-guide
- Published: 2026-05-26

### [How AG Grid Enterprise License Is Managed in Nuxt 3: A Complete Implementation Guide](/wechat-article/wechat-article-exporter/ag-grid-enterprise-license-management-nuxt-3)

Learn to manage your AG Grid Enterprise license in Nuxt 3. This guide details storing your key securely, exposing it in runtimeConfig, and applying it for seamless integration.

- Tags: how-to-guide
- Published: 2026-05-26

### [Purpose of the Debug Cache in WeChat Article Exporter (store/v2/debug.ts)](/wechat-article/wechat-article-exporter/purpose-debug-cache-store-v2-debug-ts)

Learn about the WeChat Article Exporter's debug cache. This IndexedDB table stores failed download HTML for offline debugging without impacting the main cache. Perfect for developers.

- Tags: internals
- Published: 2026-05-26

### [How ProxyManager Manages Request Concurrency Limits with Credentials in WeChat Article Exporter](/wechat-article/wechat-article-exporter/proxymanager-request-concurrency-limits-credentials)

Learn how ProxyManager manages request concurrency limits with credentials by delegating control to BaseDownloader while using lower limits for credentialed requests to prevent rate limiting.

- Tags: how-to-guide
- Published: 2026-05-26

### [How FileSystemDirectoryHandle Powers Direct File Exporting in WeChat Article Exporter](/wechat-article/wechat-article-exporter/filesystemdirectoryhandle-for-exporting-files)

Learn how FileSystemDirectoryHandle enables direct file exporting in WeChat Article Exporter to user-selected folders, eliminating save dialogs and organizing files hierarchically.

- Tags: how-to-guide
- Published: 2026-05-26

### [WeChat appmsgpublish vs profile_ext/getmsg APIs: Key Differences and Use Cases](/wechat-article/wechat-article-exporter/difference-wechat-appmsgpublish-profile-ext-getmsg-apis)

Understand the key differences between WeChat appmsgpublish and profile_ext/getmsg APIs. Discover which API to use for browser rendering versus data extraction and bulk export.

- Tags: deep-dive
- Published: 2026-05-26

### [How Image and Video Resources Are Downloaded and Mapped During Export in WeChat Articles](/wechat-article/wechat-article-exporter/image-video-resource-download-mapping-export)

Learn how wechat article exporter downloads and maps image and video resources. Discover its three-phase pipeline: discovery, concurrent caching, and URL remapping.

- Tags: internals
- Published: 2026-05-26

### [How wechat-article-exporter Handles WeChat API Session Expiration (ret code 200003)](/wechat-article/wechat-article-exporter/handle-wechat-api-session-expiration-ret-code-200003)

Learn how wechat-article-exporter solves WeChat API session expiration errors ret code 200003 by automatically re-logging in and retrying failed requests.

- Tags: internals
- Published: 2026-05-26

### [Server-Side Cookie Storage Mechanism Using CookieStore in wechat-article-exporter](/wechat-article/wechat-article-exporter/server-side-cookie-storage-cookiestore)

Discover the server-side cookie storage mechanism in wechat-article-exporter using CookieStore. Learn how it combines memory cache and Nitro KV storage for efficient WeChat MP authentication cookie management.

- Tags: internals
- Published: 2026-05-26

### [How to Filter Articles by Author and Date in the WeChat Article Exporter UI](/wechat-article/wechat-article-exporter/article-filters-by-author-date-ui-implementation)

Learn how article filtering by author and date is implemented in the WeChat Article Exporter UI using AG Grid's custom filters and value getters for Unix timestamps.

- Tags: how-to-guide
- Published: 2026-05-26

### [How the HTML Exporter Ensures 100% Style Preservation with Embedded Resources](/wechat-article/wechat-article-exporter/html-exporter-style-preservation-embedded-resources)

Learn how our HTML exporter achieves 100% style preservation. It embeds all resources locally by caching external assets and rewriting URLs, ensuring your original markup remains perfectly intact.

- Tags: how-to-guide
- Published: 2026-05-26

### [Data Flow from WeChat API to IndexedDB Cache in the WeChat Article Exporter](/wechat-article/wechat-article-exporter/data-flow-wechat-api-to-indexeddb-cache)

Understand the data flow from WeChat API to IndexedDB cache in the WeChat Article Exporter. Learn how it retrieves, parses, and caches article metadata.

- Tags: internals
- Published: 2026-05-26

### [How WeChat API Credentials (uin, key, pass_ticket) Are Parsed and Validated in the Exporter](/wechat-article/wechat-article-exporter/wechat-api-credentials-parsing-validation)

Learn how the WeChat Article Exporter parses and validates uin, key, and pass_ticket API credentials from localStorage. Discover the validation steps for secure API access.

- Tags: internals
- Published: 2026-05-26

### [WeChat Article Exporter Supported Formats: HTML, JSON, Excel, PDF, and More](/wechat-article/wechat-article-exporter/supported-export-formats-wechat-article-exporter)

Export WeChat articles to HTML JSON Excel PDF and more. Access your WeChat content in multiple user-friendly formats with wechat-article-exporter.

- Tags: api-reference
- Published: 2026-05-26

### [How the wechat-article-exporter Implements a Concurrent Download Queue with p-queue](/wechat-article/wechat-article-exporter/concurrent-download-queue-implementation-p-queue)

Learn how wechat-article-exporter uses p-queue to implement a concurrent download queue. Dynamically set concurrency limits with proxies to avoid rate limiting and overload.

- Tags: internals
- Published: 2026-05-26

### [Dexie IndexedDB Schema for Caching Articles and Comments in WeChat Article Exporter](/wechat-article/wechat-article-exporter/dexie-indexeddb-schema-for-caching-articles-comments)

Learn the Dexie IndexedDB schema for caching WeChat articles and comments in the WeChat Article Exporter. Discover efficient client-side data persistence strategies.

- Tags: internals
- Published: 2026-05-26

### [How Cookies Are Managed by the Nitro Server-Side Proxy in wechat-article-exporter](/wechat-article/wechat-article-exporter/how-are-cookies-managed-by-nitro-server-side-proxy)

Learn how the Nitro server-side proxy in wechat-article-exporter manages authentication cookies by forwarding them to the WeChat MP API and persisting new Set-Cookie values.

- Tags: internals
- Published: 2026-05-26

### [How the Nitro Server-Side Proxy Handles WeChat API Requests](/wechat-article/wechat-article-exporter/how-does-nitro-server-side-proxy-handle-wechat-api-requests)

Learn how the Nitro server-side proxy securely handles WeChat API requests by forwarding them with forged headers, managing cookies, and sanitizing responses to prevent CORS issues.

- Tags: how-to-guide
- Published: 2026-05-26

