diff --git a/README.md b/README.md index 589a115..7992541 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![npm](https://img.shields.io/npm/v/@jackwener/opencli)](https://www.npmjs.com/package/@jackwener/opencli) -A CLI tool that turns **any website** into a command-line interface. **46 commands** across **17 sites** — bilibili, zhihu, xiaohongshu, twitter, reddit, xueqiu, github, v2ex, hackernews, bbc, weibo, boss, yahoo-finance, reuters, smzdm, ctrip, youtube — powered by browser session reuse and AI-native discovery. +A CLI tool that turns **any website** into a command-line interface. **47 commands** across **17 sites** — bilibili, zhihu, xiaohongshu, twitter, reddit, xueqiu, github, v2ex, hackernews, bbc, weibo, boss, yahoo-finance, reuters, smzdm, ctrip, youtube — powered by browser session reuse and AI-native discovery. ## ✨ Highlights @@ -82,7 +82,7 @@ Public API commands (`hackernews`, `github search`, `v2ex`) need no browser at a | Site | Commands | Mode | |------|----------|------| -| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` | 🔐 Browser | +| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` `following` | 🔐 Browser | | **zhihu** | `hot` `search` `question` | 🔐 Browser | | **xiaohongshu** | `search` `notifications` `feed` `me` `user` | 🔐 Browser | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 Browser | @@ -95,7 +95,7 @@ Public API commands (`hackernews`, `github search`, `v2ex`) need no browser at a | **reuters** | `search` | 🔐 Browser | | **smzdm** | `search` | 🔐 Browser | | **ctrip** | `search` | 🔐 Browser | -| **github** | `trending` `search` | 🔐 / 🌐 | +| **github** | `search` | 🌐 Public | | **v2ex** | `hot` `latest` `topic` | 🌐 Public | | **hackernews** | `top` | 🌐 Public | | **bbc** | `news` | 🌐 Public | diff --git a/README.zh-CN.md b/README.zh-CN.md index 4ecfdba..7a37a60 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -11,7 +11,7 @@ OpenCLI 通过 Chrome 浏览器 + [Playwright MCP Bridge](https://github.com/nic ## ✨ 亮点 -- 🌐 **46 个命令,17 个站点** — B站、知乎、小红书、Twitter、Reddit、雪球(xueqiu)、GitHub、V2EX、Hacker News、BBC、微博、BOSS直聘、Yahoo Finance、路透社、什么值得买、携程、YouTube +- 🌐 **47 个命令,17 个站点** — B站、知乎、小红书、Twitter、Reddit、雪球(xueqiu)、GitHub、V2EX、Hacker News、BBC、微博、BOSS直聘、Yahoo Finance、路透社、什么值得买、携程、YouTube - 🔐 **零风控** — 复用 Chrome 登录态,无需存储任何凭证 - 🤖 **AI 原生** — `explore` 自动发现 API,`synthesize` 生成适配器,`cascade` 探测认证策略 - 🚀 **动态加载引擎** — 只需将 `.ts` 或 `.yaml` 适配器放入 `clis/` 文件夹即可自动注册生效 @@ -83,7 +83,7 @@ npm install -g @jackwener/opencli@latest | 站点 | 命令 | 模式 | |------|------|------| -| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` | 🔐 浏览器 | +| **bilibili** | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` `following` | 🔐 浏览器 | | **zhihu** | `hot` `search` `question` | 🔐 浏览器 | | **xiaohongshu** | `search` `notifications` `feed` `me` `user` | 🔐 浏览器 | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 浏览器 | @@ -96,7 +96,7 @@ npm install -g @jackwener/opencli@latest | **reuters** | `search` | 🔐 浏览器 | | **smzdm** | `search` | 🔐 浏览器 | | **ctrip** | `search` | 🔐 浏览器 | -| **github** | `trending` `search` | 🔐 / 🌐 | +| **github** | `search` | 🌐 公共 API | | **v2ex** | `hot` `latest` `topic` | 🌐 公共 API | | **hackernews** | `top` | 🌐 公共 API | | **bbc** | `news` | 🌐 公共 API | diff --git a/SKILL.md b/SKILL.md index 500ec6b..299f6ff 100644 --- a/SKILL.md +++ b/SKILL.md @@ -52,6 +52,7 @@ opencli bilibili user-videos --uid 12345 # 用户投稿 opencli bilibili subtitle --bvid BV1xxx # 获取视频字幕 (支持 --lang zh-CN) opencli bilibili dynamic --limit 10 # 动态 opencli bilibili ranking --limit 10 # 排行榜 +opencli bilibili following --limit 20 # 我的关注列表 (支持 --uid 查看他人) # 知乎 (browser) opencli zhihu hot --limit 10 # 知乎热榜 @@ -70,9 +71,10 @@ opencli xueqiu hot-stock --limit 10 # 雪球热门股票榜 opencli xueqiu stock --symbol SH600519 # 查看股票实时行情 opencli xueqiu watchlist # 获取自选股/持仓列表 opencli xueqiu feed # 我的关注 timeline +opencli xueqiu hot --limit 10 # 雪球热榜 +opencli xueqiu search --keyword "特斯拉" # 搜索 -# GitHub (trending=browser, search=public) -opencli github trending --limit 10 # GitHub Trending +# GitHub (public) opencli github search --keyword "cli" # 搜索仓库 # Twitter/X (browser)