Skip to content

Alexhuihui/wechat-article-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeChat Article Reader Skill

Chinese

A shareable Codex skill for reading WeChat public articles from mp.weixin.qq.com when normal desktop requests get sent to verification pages.

What It Does

  • Fetches article pages with a mobile WeChat user-agent
  • Extracts title, author, account info, publish time, cover image, image URLs, HTML body, and plain text
  • Supports direct URL fetching and parsing from saved local HTML
  • Returns JSON, metadata-only output, plain text, or raw article HTML

Repository Layout

wechat-article-reader-skill/
|-- README.md
|-- README_zh.md
|-- LICENSE
|-- .gitignore
`-- wechat-article-reader/
    |-- SKILL.md
    |-- agents/openai.yaml
    `-- scripts/extract_wechat_article.py

Local Usage

Run the bundled extractor directly:

python wechat-article-reader/scripts/extract_wechat_article.py "https://mp.weixin.qq.com/s/97gEBa6m1-VIB25PFBELtw" --format meta
python wechat-article-reader/scripts/extract_wechat_article.py "https://mp.weixin.qq.com/s/97gEBa6m1-VIB25PFBELtw" --format text

Parse previously saved HTML:

python wechat-article-reader/scripts/extract_wechat_article.py article.html --from-file --format text

Install As A Codex Skill

Manual install:

  1. Copy wechat-article-reader/ into ~/.codex/skills/
  2. Restart Codex

GitHub install after publishing this repo:

python ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py --repo <owner>/<repo> --path wechat-article-reader

Or use the GitHub tree URL:

python ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py --url https://github.com/<owner>/<repo>/tree/main/wechat-article-reader

Validation

Validate the skill folder:

python -X utf8 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py wechat-article-reader

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages