Loading...
Loading...
WeChat Official Account subscription and article management (based on the Mp2rss service, which converts Official Accounts to RSS) — subscribe to / list / unsubscribe from WeChat Official Accounts, query the historical articles of a given Official Account, and fuzzy-search subscribed sources by keyword. Matches: “Subscribe to this Official Account <article URL>”, “Convert this Official Account to RSS”, “Subscribe <mp.weixin.qq.com/s/...>”, “Which Official Accounts have I subscribed to?”, “List my Official Account RSS feeds”, “What has this Official Account posted recently?”, “Historical articles of <Official Account>”, “Pull the articles for <Official Account>”, “Unsubscribe from <Official Account>”, “Remove <Official Account> from my subscriptions”, “Search my subscribed Official Accounts for <keyword>”, and “mp2rss mp list / search / subscribe / remove / articles”. When subscribing, the input is the URL of “any article from the Official Account” (mp.weixin.qq.com/s/...), not the Official Account name itself. ⚠️ Handles only “WeChat Official Account” semantics; requests mentioning “X account / Twitter / xUserId / long-form articles / posts” should be routed to mp2rss-x and must not come here.
npx skill4agent add areyoubugcoder/mp2rss-cli mp2rss-mpmp2rssmp2rss-authmp2rss auth statusloggedIn: truemp2rss auth loginmp2rss mp list [-q <keyword>] [-p <page>] [--page-size <n>] [-o json]| Flag | Default | Description |
|---|---|---|
| — | Fuzzy-search by Official Account name |
| 1 | Page number |
| 20 | Number of items per page (maximum 50) |
| table | |
mp2rss mp list
mp2rss mp list -q 财经
mp2rss mp list -p 2 --page-size 50
mp2rss mp list -o json | jq '.items[].mpName'{
"items": [
{
"sourceType": "mp",
"mpId": 123456,
"mpName": "某公众号",
"mpAvatarUrl": "https://...",
"createdAt": 1705000000000,
"mpLastArticleAt": 1705000050000
}
],
"total": 42,
"page": 1,
"pageSize": 20
}mp2rss mp search <keyword> [-p <page>] [--page-size <n>] [-o json]mp2rss mp list -q <keyword>listmp2rss mp search 财经
mp2rss mp search 财经 -o jsonmp2rss mp subscribe <article-url> [-o json]https://mp.weixin.qq.com/s/...mp2rss mp subscribe https://mp.weixin.qq.com/s/abcDEFghIJKlmnop
mp2rss mp subscribe https://mp.weixin.qq.com/s/abc -o json{
"ok": true,
"articleUrl": "https://mp.weixin.qq.com/s/..."
}mp2rss mp remove <mpId> [-y] [-o json]-ymp2rss mp remove 123456
mp2rss mp remove 123456 -y
mp2rss mp remove 123456 -y -o json{
"ok": true,
"mpId": 123456
}items[].mpIdmp2rss mp list -o jsonmp2rss mp articles <mpId> [-p <page>] [--page-size <n>] [-o json]| Flag | Default | Description |
|---|---|---|
| 1 | Page number |
| 100 | Number of items per page (maximum 100) |
| table | |
mp2rss mp articles 123456
mp2rss mp articles 123456 -p 2 --page-size 100
mp2rss mp articles 123456 -o json | jq '.items[].title'{
"items": [
{
"mpId": 123456,
"articleId": "article-id",
"title": "文章标题",
"summary": "文章摘要",
"coverImageUrl": "https://...",
"originalUrl": "https://mp.weixin.qq.com/s/...",
"contentMarkdown": "# Markdown 正文",
"publishedAt": 1705000000000,
"updatedAt": 1705000010000
}
]
}totalpagepageSizeitems-o jsonmpIdmpIdmpNamempAvatarUrlmpLastArticleAtarticleIdoriginalUrlcontentMarkdownpublishedAt<X>mp.weixin.qq.com/s/...mp2rss mp list -q <name>--page-size-p{"error":{"message":"...","code":<int>}}codeRetry-After"kind":"rate_limited"0123mp2rss auth loginmp2rss-auth45