dsh-wx-archive

A wx_archive tool that turns a WeChat Official Account article link into a permanent Markdown snapshot via the 2100laike archive service: images are re-hosted so they never break, snapshots survive article deletion, resubmits dedup-hit and return the latest version without spending quota, a content_kind field tells text articles from sticker (image-post) messages, and refresh forces a refetch with a PAT. Needs the third-party 2100laike service; anonymous use is limited to 8 archives per day per plugin instance and a registered PAT raises that to 100 per day.

Overview

A wx_archive tool that turns a WeChat Official Account article link into a permanent Markdown snapshot via the 2100laike archive service: images are re-hosted so they never break, snapshots survive article deletion, resubmits dedup-hit and return the latest version without spending quota, a content_kind field tells text articles from sticker (image-post) messages, and refresh forces a refetch with a PAT. Needs the third-party 2100laike service; anonymous use is limited to 8 archives per day per plugin instance and a registered PAT raises that to 100 per day.

Installation

Install from GitHub

dsh plugin --profile web add github:opencamel/dsh-wx-archive

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands