WeChat MP Monitor

v1.0.0

Monitor WeChat MP (微信公众号) articles and send notifications. Use when user needs to track public account updates, summarize articles, or receive alerts when ne...

0· 300· 1 versions· 1 current· 1 all-time· Updated 18h ago· MIT-0

Install

openclaw skills install wechat-mp-monitor

WeChat MP Monitor

Monitor WeChat public account articles and deliver notifications.

Features

  • Monitor specific WeChat public accounts for new articles
  • Extract and summarize article content
  • Send notifications to Feishu/Lark
  • Schedule checks via cron

Quick Start

Monitor a single article

scripts/wechat_mp.py summary <article_url>

Add account to watchlist

scripts/wechat_mp.py watch <account_name> [--feishu-webhook <url>]

Check all watched accounts

scripts/wechat_mp.py check-all

Setup

Feishu Webhook (Optional)

To receive Feishu notifications:

  1. Create a Feishu group
  2. Add a webhook bot
  3. Copy the webhook URL
  4. Set environment variable:
    export FEISHU_WEBHOOK="https://open.feishu.cn/open-apis/bot/v2/hook/..."
    

Cron Schedule

Add to crontab for automatic monitoring:

# Check every hour
0 * * * * cd /path/to/workspace && python scripts/wechat_mp.py check-all

Or use OpenClaw cron:

openclaw cron add --name "wechat-monitor" --schedule "0 * * * *" --command "python scripts/wechat_mp.py check-all"

Commands

CommandDescription
summary <url>Summarize a single article
watch <name>Add account to watchlist
unwatch <name>Remove from watchlist
listShow watched accounts
check-allCheck all accounts for updates
historyShow recently processed articles

Data Storage

  • Watchlist: ~/.wechat_mp_monitor/watchlist.json
  • Article history: ~/.wechat_mp_monitor/history.json

Dependencies

  • Python 3.6+
  • requests
  • beautifulsoup4

Install: pip install requests beautifulsoup4

Version tags

automationvk973drkf2vwcmambc8zm6dx8eh82vc6wfeishuvk973drkf2vwcmambc8zm6dx8eh82vc6wlarkvk973drkf2vwcmambc8zm6dx8eh82vc6wlatestvk973drkf2vwcmambc8zm6dx8eh82vc6wmonitorvk973drkf2vwcmambc8zm6dx8eh82vc6wmpvk973drkf2vwcmambc8zm6dx8eh82vc6wnotificationvk973drkf2vwcmambc8zm6dx8eh82vc6wrssvk973drkf2vwcmambc8zm6dx8eh82vc6wwechatvk973drkf2vwcmambc8zm6dx8eh82vc6w