docs: update README and SKILL for new Reddit adapters

- Reddit: 4 → 15 commands (popular, read, user, user-posts,
  user-comments, upvote, save, comment, subscribe, saved, upvoted)
- Twitter: add thread command
- Xiaohongshu: remove non-existent me command
- SKILL.md: expand Reddit examples with full 15-command reference
This commit is contained in:
jackwener committed 2026-03-17 01:33:43 +08:00
1 parent fbec2f6f5d
commit a7c367a61b
4 files changed
+23 -12

No files matched your search

+3 -3
View File
@@ -134,10 +134,10 @@ npm install -g @jackwener/opencli@latest
|------|----------|------| |------|----------|------|
| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `subtitle` `dynamic` `ranking` `following` `user-videos` | 🔐 Browser | | **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `subtitle` `dynamic` `ranking` `following` `user-videos` | 🔐 Browser |
| **zhihu** | `hot` `search` `question` | 🔐 Browser | | **zhihu** | `hot` `search` `question` | 🔐 Browser |
| **xiaohongshu** | `search` `notifications` `feed` `me` `user` | 🔐 Browser | | **xiaohongshu** | `search` `notifications` `feed` `user` | 🔐 Browser |
| **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 Browser | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 Browser |
| **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` | 🔐 Browser | | **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `thread` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` | 🔐 Browser |
| **reddit** | `hot` `frontpage` `search` `subreddit` | 🔐 Browser | | **reddit** | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` | 🔐 Browser |
| **weibo** | `hot` | 🔐 Browser | | **weibo** | `hot` | 🔐 Browser |
| **boss** | `search` `detail` | 🔐 Browser | | **boss** | `search` `detail` | 🔐 Browser |
| **coupang** | `search` `add-to-cart` | 🔐 Browser | | **coupang** | `search` `add-to-cart` | 🔐 Browser |
+3 -3
View File
@@ -133,10 +133,10 @@ npm install -g @jackwener/opencli@latest
|------|------|------| |------|------|------|
| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `subtitle` `dynamic` `ranking` `following` `user-videos` | 🔐 浏览器 | | **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `subtitle` `dynamic` `ranking` `following` `user-videos` | 🔐 浏览器 |
| **zhihu** | `hot` `search` `question` | 🔐 浏览器 | | **zhihu** | `hot` `search` `question` | 🔐 浏览器 |
| **xiaohongshu** | `search` `notifications` `feed` `me` `user` | 🔐 浏览器 | | **xiaohongshu** | `search` `notifications` `feed` `user` | 🔐 浏览器 |
| **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 浏览器 | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 浏览器 |
| **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` | 🔐 浏览器 | | **twitter** | `trending` `bookmarks` `profile` `search` `timeline` `thread` `following` `followers` `notifications` `post` `reply` `delete` `like` `article` `follow` `unfollow` `bookmark` `unbookmark` | 🔐 浏览器 |
| **reddit** | `hot` `frontpage` `search` `subreddit` | 🔐 浏览器 | | **reddit** | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` | 🔐 浏览器 |
| **weibo** | `hot` | 🔐 浏览器 | | **weibo** | `hot` | 🔐 浏览器 |
| **boss** | `search` `detail` | 🔐 浏览器 | | **boss** | `search` `detail` | 🔐 浏览器 |
| **coupang** | `search` `add-to-cart` | 🔐 浏览器 | | **coupang** | `search` `add-to-cart` | 🔐 浏览器 |
+15 -4
View File
@@ -68,7 +68,6 @@ opencli zhihu question --id 34816524 # 问题详情和回答
opencli xiaohongshu search --keyword "美食" # 搜索笔记 opencli xiaohongshu search --keyword "美食" # 搜索笔记
opencli xiaohongshu notifications # 通知(mentions/likes/connections) opencli xiaohongshu notifications # 通知(mentions/likes/connections)
opencli xiaohongshu feed --limit 10 # 推荐 Feed opencli xiaohongshu feed --limit 10 # 推荐 Feed
opencli xiaohongshu me # 我的信息
opencli xiaohongshu user --uid xxx # 用户主页 opencli xiaohongshu user --uid xxx # 用户主页
# 雪球 Xueqiu (browser) # 雪球 Xueqiu (browser)
@@ -88,6 +87,7 @@ opencli twitter bookmarks --limit 20 # 获取收藏的书签推文
opencli twitter search --keyword "AI" # 搜索推文 opencli twitter search --keyword "AI" # 搜索推文
opencli twitter profile elonmusk # 用户资料 opencli twitter profile elonmusk # 用户资料
opencli twitter timeline --limit 20 # 时间线 opencli twitter timeline --limit 20 # 时间线
opencli twitter thread 1234567890 # 推文 thread(原文 + 回复)
opencli twitter article 1891511252174299446 # 推文长文内容 opencli twitter article 1891511252174299446 # 推文长文内容
opencli twitter follow elonmusk # 关注用户 opencli twitter follow elonmusk # 关注用户
opencli twitter unfollow elonmusk # 取消关注 opencli twitter unfollow elonmusk # 取消关注
@@ -97,9 +97,20 @@ opencli twitter unbookmark https://x.com/... # 取消收藏
# Reddit (browser) # Reddit (browser)
opencli reddit hot --limit 10 # 热门帖子 opencli reddit hot --limit 10 # 热门帖子
opencli reddit hot --subreddit programming # 指定子版块 opencli reddit hot --subreddit programming # 指定子版块
opencli reddit frontpage --limit 10 # 首页 opencli reddit frontpage --limit 10 # 首页 /r/all
opencli reddit search --keyword "AI" # 搜索 opencli reddit popular --limit 10 # /r/popular 热门
opencli reddit subreddit --name rust # 子版块浏览 opencli reddit search --query "AI" --sort top --time week # 搜索(支持排序+时间过滤)
opencli reddit subreddit --name rust --sort top --time month # 子版块浏览(支持时间过滤)
opencli reddit read --post_id 1abc123 # 阅读帖子 + 评论
opencli reddit user --username spez # 用户资料(karma、注册时间)
opencli reddit user-posts --username spez # 用户发帖历史
opencli reddit user-comments --username spez # 用户评论历史
opencli reddit upvote --post_id xxx --direction up # 投票(up/down/none)
opencli reddit save --post_id xxx # 收藏帖子
opencli reddit comment --post_id xxx --text "Great!" # 发表评论
opencli reddit subscribe --subreddit python # 订阅子版块
opencli reddit saved --limit 10 # 我的收藏
opencli reddit upvoted --limit 10 # 我的赞
# V2EX (public + browser) # V2EX (public + browser)
opencli v2ex hot --limit 10 # 热门话题 opencli v2ex hot --limit 10 # 热门话题
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "@jackwener/opencli", "name": "@jackwener/opencli",
"version": "0.7.0", "version": "0.7.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@jackwener/opencli", "name": "@jackwener/opencli",
"version": "0.7.0", "version": "0.7.1",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"chalk": "^5.3.0", "chalk": "^5.3.0",