@jackwener/opencli 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/.agents/skills/cross-project-adapter-migration/SKILL.md +2 -2
  2. package/.github/pull_request_template.md +7 -0
  3. package/.github/workflows/doc-check.yml +36 -0
  4. package/.github/workflows/docs.yml +7 -42
  5. package/CHANGELOG.md +23 -0
  6. package/CLI-EXPLORER.md +9 -8
  7. package/README.md +25 -10
  8. package/README.zh-CN.md +26 -11
  9. package/SKILL.md +95 -31
  10. package/dist/browser/cdp.js +6 -1
  11. package/dist/browser/page.d.ts +4 -1
  12. package/dist/browser/page.js +7 -1
  13. package/dist/build-manifest.js +23 -16
  14. package/dist/cli-manifest.json +431 -276
  15. package/dist/cli.d.ts +6 -0
  16. package/dist/cli.js +189 -162
  17. package/dist/clis/apple-podcasts/commands.test.d.ts +2 -0
  18. package/dist/clis/apple-podcasts/commands.test.js +76 -0
  19. package/dist/clis/apple-podcasts/search.js +2 -2
  20. package/dist/clis/apple-podcasts/top.js +9 -2
  21. package/dist/clis/arxiv/search.js +1 -1
  22. package/dist/clis/bilibili/dynamic.js +1 -1
  23. package/dist/clis/bilibili/favorite.js +1 -1
  24. package/dist/clis/bilibili/feed.js +1 -1
  25. package/dist/clis/bilibili/following.js +1 -1
  26. package/dist/clis/bilibili/history.js +1 -1
  27. package/dist/clis/bilibili/me.js +1 -1
  28. package/dist/clis/bilibili/ranking.js +1 -1
  29. package/dist/clis/bilibili/search.js +3 -3
  30. package/dist/clis/bilibili/subtitle.js +1 -1
  31. package/dist/clis/bilibili/user-videos.js +1 -1
  32. package/dist/{bilibili.d.ts → clis/bilibili/utils.d.ts} +1 -1
  33. package/dist/clis/bloomberg/businessweek.js +17 -0
  34. package/dist/clis/bloomberg/economics.js +17 -0
  35. package/dist/clis/bloomberg/feeds.d.ts +1 -0
  36. package/dist/clis/bloomberg/feeds.js +15 -0
  37. package/dist/clis/bloomberg/industries.d.ts +1 -0
  38. package/dist/clis/bloomberg/industries.js +17 -0
  39. package/dist/clis/bloomberg/main.d.ts +1 -0
  40. package/dist/clis/bloomberg/main.js +17 -0
  41. package/dist/clis/bloomberg/markets.d.ts +1 -0
  42. package/dist/clis/bloomberg/markets.js +17 -0
  43. package/dist/clis/bloomberg/news.d.ts +1 -0
  44. package/dist/clis/bloomberg/news.js +105 -0
  45. package/dist/clis/bloomberg/opinions.d.ts +1 -0
  46. package/dist/clis/bloomberg/opinions.js +17 -0
  47. package/dist/clis/bloomberg/politics.d.ts +1 -0
  48. package/dist/clis/bloomberg/politics.js +17 -0
  49. package/dist/clis/bloomberg/tech.d.ts +1 -0
  50. package/dist/clis/bloomberg/tech.js +17 -0
  51. package/dist/clis/bloomberg/utils.d.ts +34 -0
  52. package/dist/clis/bloomberg/utils.js +364 -0
  53. package/dist/clis/bloomberg/utils.test.d.ts +1 -0
  54. package/dist/clis/bloomberg/utils.test.js +129 -0
  55. package/dist/clis/boss/batchgreet.js +2 -2
  56. package/dist/clis/boss/chatlist.js +2 -2
  57. package/dist/clis/boss/detail.js +2 -2
  58. package/dist/clis/boss/greet.js +4 -4
  59. package/dist/clis/boss/search.js +1 -1
  60. package/dist/clis/boss/send.js +1 -1
  61. package/dist/clis/boss/stats.js +2 -2
  62. package/dist/clis/chaoxing/assignments.js +1 -1
  63. package/dist/clis/chaoxing/exams.js +1 -1
  64. package/dist/{chaoxing.d.ts → clis/chaoxing/utils.d.ts} +1 -1
  65. package/dist/{chaoxing.js → clis/chaoxing/utils.js} +0 -2
  66. package/dist/clis/chaoxing/utils.test.d.ts +1 -0
  67. package/dist/{chaoxing.test.js → clis/chaoxing/utils.test.js} +1 -1
  68. package/dist/clis/chatgpt/read.js +1 -1
  69. package/dist/clis/chatwise/export.js +1 -1
  70. package/dist/clis/chatwise/model.js +2 -2
  71. package/dist/clis/chatwise/screenshot.js +1 -1
  72. package/dist/clis/codex/export.js +1 -1
  73. package/dist/clis/codex/model.js +2 -2
  74. package/dist/clis/codex/screenshot.js +1 -1
  75. package/dist/clis/coupang/add-to-cart.js +3 -4
  76. package/dist/clis/coupang/search.js +2 -4
  77. package/dist/clis/coupang/utils.test.d.ts +1 -0
  78. package/dist/{coupang.test.js → clis/coupang/utils.test.js} +1 -1
  79. package/dist/clis/ctrip/search.js +1 -1
  80. package/dist/clis/cursor/export.js +1 -1
  81. package/dist/clis/cursor/model.js +2 -2
  82. package/dist/clis/cursor/screenshot.js +1 -1
  83. package/dist/clis/jike/comment.js +2 -3
  84. package/dist/clis/jike/create.js +1 -2
  85. package/dist/clis/jike/feed.js +0 -1
  86. package/dist/clis/jike/like.js +1 -2
  87. package/dist/clis/jike/notifications.js +0 -1
  88. package/dist/clis/jike/post.yaml +1 -0
  89. package/dist/clis/jike/repost.js +1 -2
  90. package/dist/clis/jike/search.js +2 -3
  91. package/dist/clis/jike/topic.yaml +1 -0
  92. package/dist/clis/jike/user.yaml +1 -0
  93. package/dist/clis/jimeng/history.yaml +0 -1
  94. package/dist/clis/linkedin/search.js +7 -7
  95. package/dist/clis/linux-do/category.yaml +1 -0
  96. package/dist/clis/linux-do/search.yaml +4 -3
  97. package/dist/clis/linux-do/topic.yaml +1 -0
  98. package/dist/clis/notion/export.js +1 -1
  99. package/dist/clis/reddit/comment.js +3 -4
  100. package/dist/clis/reddit/read.js +4 -5
  101. package/dist/clis/reddit/save.js +2 -3
  102. package/dist/clis/reddit/saved.js +0 -1
  103. package/dist/clis/reddit/search.yaml +1 -0
  104. package/dist/clis/reddit/subscribe.js +0 -1
  105. package/dist/clis/reddit/upvote.js +2 -3
  106. package/dist/clis/reddit/upvoted.js +0 -1
  107. package/dist/clis/reddit/user-comments.yaml +1 -0
  108. package/dist/clis/reddit/user-posts.yaml +1 -0
  109. package/dist/clis/reddit/user.yaml +1 -0
  110. package/dist/clis/reuters/search.js +1 -1
  111. package/dist/clis/smzdm/search.js +2 -3
  112. package/dist/clis/stackoverflow/search.yaml +1 -0
  113. package/dist/clis/steam/top-sellers.yaml +29 -0
  114. package/dist/clis/twitter/accept.js +2 -2
  115. package/dist/clis/twitter/article.js +2 -2
  116. package/dist/clis/twitter/block.d.ts +1 -0
  117. package/dist/clis/twitter/block.js +88 -0
  118. package/dist/clis/twitter/delete.js +1 -1
  119. package/dist/clis/twitter/hide-reply.d.ts +1 -0
  120. package/dist/clis/twitter/hide-reply.js +66 -0
  121. package/dist/clis/twitter/like.js +1 -1
  122. package/dist/clis/twitter/post.js +1 -1
  123. package/dist/clis/twitter/reply-dm.js +1 -1
  124. package/dist/clis/twitter/reply.js +2 -2
  125. package/dist/clis/twitter/search.js +1 -1
  126. package/dist/clis/twitter/thread.js +2 -2
  127. package/dist/clis/twitter/trending.d.ts +1 -0
  128. package/dist/clis/twitter/trending.js +91 -0
  129. package/dist/clis/twitter/unblock.d.ts +1 -0
  130. package/dist/clis/twitter/unblock.js +71 -0
  131. package/dist/clis/v2ex/topic.yaml +1 -0
  132. package/dist/clis/weibo/hot.js +0 -1
  133. package/dist/clis/weread/book.js +1 -1
  134. package/dist/clis/weread/highlights.js +1 -1
  135. package/dist/clis/weread/notes.js +1 -1
  136. package/dist/clis/weread/search.js +1 -1
  137. package/dist/clis/wikipedia/search.js +1 -1
  138. package/dist/clis/xiaohongshu/creator-note-detail.d.ts +15 -0
  139. package/dist/clis/xiaohongshu/creator-note-detail.js +69 -5
  140. package/dist/clis/xiaohongshu/creator-note-detail.test.js +80 -33
  141. package/dist/clis/xiaohongshu/creator-notes.js +35 -5
  142. package/dist/clis/xiaohongshu/creator-notes.test.js +35 -6
  143. package/dist/clis/xiaohongshu/creator-profile.js +0 -1
  144. package/dist/clis/xiaohongshu/creator-stats.js +0 -1
  145. package/dist/clis/xiaohongshu/download.js +2 -3
  146. package/dist/clis/xiaohongshu/feed.yaml +0 -1
  147. package/dist/clis/xiaohongshu/notifications.yaml +0 -1
  148. package/dist/clis/xiaohongshu/search.js +2 -2
  149. package/dist/clis/xiaohongshu/user.js +1 -2
  150. package/dist/clis/yahoo-finance/quote.js +0 -1
  151. package/dist/clis/youtube/search.js +1 -1
  152. package/dist/clis/youtube/transcript.js +1 -1
  153. package/dist/clis/youtube/video.js +1 -1
  154. package/dist/clis/zhihu/download.js +1 -2
  155. package/dist/clis/zhihu/question.js +1 -1
  156. package/dist/clis/zhihu/search.yaml +4 -3
  157. package/dist/commanderAdapter.d.ts +21 -0
  158. package/dist/commanderAdapter.js +111 -0
  159. package/dist/{engine.d.ts → discovery.d.ts} +0 -6
  160. package/dist/{engine.js → discovery.js} +1 -98
  161. package/dist/download/index.d.ts +2 -6
  162. package/dist/download/index.js +19 -46
  163. package/dist/engine.test.d.ts +1 -1
  164. package/dist/engine.test.js +8 -7
  165. package/dist/execution.d.ts +22 -0
  166. package/dist/execution.js +129 -0
  167. package/dist/explore.js +121 -107
  168. package/dist/external-clis.yaml +48 -0
  169. package/dist/external.d.ts +7 -2
  170. package/dist/external.js +11 -14
  171. package/dist/main.js +1 -1
  172. package/dist/pipeline/steps/browser.js +8 -2
  173. package/dist/registry.d.ts +2 -0
  174. package/dist/registry.js +2 -0
  175. package/dist/runtime.d.ts +5 -0
  176. package/dist/runtime.js +8 -0
  177. package/dist/serialization.d.ts +34 -0
  178. package/dist/serialization.js +63 -0
  179. package/dist/types.d.ts +4 -1
  180. package/docs/.vitepress/config.mts +14 -3
  181. package/docs/adapters/browser/arxiv.md +27 -0
  182. package/docs/adapters/browser/barchart.md +32 -0
  183. package/docs/adapters/browser/bloomberg.md +70 -0
  184. package/docs/adapters/browser/chaoxing.md +39 -0
  185. package/docs/adapters/browser/grok.md +35 -0
  186. package/docs/adapters/browser/hf.md +42 -0
  187. package/docs/adapters/browser/jike.md +45 -0
  188. package/docs/adapters/browser/jimeng.md +39 -0
  189. package/docs/adapters/browser/linux-do.md +45 -0
  190. package/docs/adapters/browser/sinafinance.md +35 -0
  191. package/docs/adapters/browser/stackoverflow.md +35 -0
  192. package/docs/adapters/browser/steam.md +26 -0
  193. package/docs/adapters/browser/twitter.md +3 -0
  194. package/docs/adapters/browser/weread.md +48 -0
  195. package/docs/adapters/browser/wikipedia.md +30 -0
  196. package/docs/adapters/browser/xiaohongshu.md +5 -1
  197. package/docs/adapters/desktop/chatgpt.md +3 -3
  198. package/docs/adapters/index.md +13 -0
  199. package/docs/advanced/download.md +4 -4
  200. package/docs/developer/architecture.md +17 -4
  201. package/package.json +1 -1
  202. package/scripts/check-doc-coverage.sh +69 -0
  203. package/scripts/copy-yaml.cjs +7 -0
  204. package/src/browser/cdp.ts +6 -1
  205. package/src/browser/page.ts +7 -1
  206. package/src/build-manifest.ts +25 -19
  207. package/src/cli.ts +218 -139
  208. package/src/clis/apple-podcasts/commands.test.ts +95 -0
  209. package/src/clis/apple-podcasts/search.ts +2 -2
  210. package/src/clis/apple-podcasts/top.ts +12 -2
  211. package/src/clis/arxiv/search.ts +1 -1
  212. package/src/clis/bilibili/dynamic.ts +1 -1
  213. package/src/clis/bilibili/favorite.ts +1 -1
  214. package/src/clis/bilibili/feed.ts +1 -1
  215. package/src/clis/bilibili/following.ts +1 -1
  216. package/src/clis/bilibili/history.ts +1 -1
  217. package/src/clis/bilibili/me.ts +1 -1
  218. package/src/clis/bilibili/ranking.ts +1 -1
  219. package/src/clis/bilibili/search.ts +3 -3
  220. package/src/clis/bilibili/subtitle.ts +1 -1
  221. package/src/clis/bilibili/user-videos.ts +1 -1
  222. package/src/{bilibili.ts → clis/bilibili/utils.ts} +1 -1
  223. package/src/clis/bloomberg/businessweek.ts +18 -0
  224. package/src/clis/bloomberg/economics.ts +18 -0
  225. package/src/clis/bloomberg/feeds.ts +16 -0
  226. package/src/clis/bloomberg/industries.ts +18 -0
  227. package/src/clis/bloomberg/main.ts +18 -0
  228. package/src/clis/bloomberg/markets.ts +18 -0
  229. package/src/clis/bloomberg/news.ts +136 -0
  230. package/src/clis/bloomberg/opinions.ts +18 -0
  231. package/src/clis/bloomberg/politics.ts +18 -0
  232. package/src/clis/bloomberg/tech.ts +18 -0
  233. package/src/clis/bloomberg/utils.test.ts +135 -0
  234. package/src/clis/bloomberg/utils.ts +429 -0
  235. package/src/clis/boss/batchgreet.ts +2 -2
  236. package/src/clis/boss/chatlist.ts +2 -2
  237. package/src/clis/boss/detail.ts +2 -2
  238. package/src/clis/boss/greet.ts +4 -4
  239. package/src/clis/boss/search.ts +1 -1
  240. package/src/clis/boss/send.ts +1 -1
  241. package/src/clis/boss/stats.ts +2 -2
  242. package/src/clis/chaoxing/assignments.ts +1 -1
  243. package/src/clis/chaoxing/exams.ts +1 -1
  244. package/src/{chaoxing.test.ts → clis/chaoxing/utils.test.ts} +1 -1
  245. package/src/{chaoxing.ts → clis/chaoxing/utils.ts} +1 -3
  246. package/src/clis/chatgpt/README.zh-CN.md +3 -3
  247. package/src/clis/chatgpt/read.ts +1 -1
  248. package/src/clis/chatwise/export.ts +1 -1
  249. package/src/clis/chatwise/model.ts +2 -2
  250. package/src/clis/chatwise/screenshot.ts +1 -1
  251. package/src/clis/codex/export.ts +1 -1
  252. package/src/clis/codex/model.ts +2 -2
  253. package/src/clis/codex/screenshot.ts +1 -1
  254. package/src/clis/coupang/add-to-cart.ts +3 -4
  255. package/src/clis/coupang/search.ts +2 -4
  256. package/src/{coupang.test.ts → clis/coupang/utils.test.ts} +1 -1
  257. package/src/clis/ctrip/search.ts +1 -1
  258. package/src/clis/cursor/export.ts +1 -1
  259. package/src/clis/cursor/model.ts +2 -2
  260. package/src/clis/cursor/screenshot.ts +1 -1
  261. package/src/clis/jike/comment.ts +2 -3
  262. package/src/clis/jike/create.ts +1 -2
  263. package/src/clis/jike/feed.ts +0 -1
  264. package/src/clis/jike/like.ts +1 -2
  265. package/src/clis/jike/notifications.ts +0 -1
  266. package/src/clis/jike/post.yaml +1 -0
  267. package/src/clis/jike/repost.ts +1 -2
  268. package/src/clis/jike/search.ts +2 -3
  269. package/src/clis/jike/topic.yaml +1 -0
  270. package/src/clis/jike/user.yaml +1 -0
  271. package/src/clis/jimeng/history.yaml +0 -1
  272. package/src/clis/linkedin/search.ts +7 -7
  273. package/src/clis/linux-do/category.yaml +1 -0
  274. package/src/clis/linux-do/search.yaml +4 -3
  275. package/src/clis/linux-do/topic.yaml +1 -0
  276. package/src/clis/notion/export.ts +1 -1
  277. package/src/clis/reddit/comment.ts +3 -4
  278. package/src/clis/reddit/read.ts +4 -5
  279. package/src/clis/reddit/save.ts +2 -3
  280. package/src/clis/reddit/saved.ts +0 -1
  281. package/src/clis/reddit/search.yaml +1 -0
  282. package/src/clis/reddit/subscribe.ts +0 -1
  283. package/src/clis/reddit/upvote.ts +2 -3
  284. package/src/clis/reddit/upvoted.ts +0 -1
  285. package/src/clis/reddit/user-comments.yaml +1 -0
  286. package/src/clis/reddit/user-posts.yaml +1 -0
  287. package/src/clis/reddit/user.yaml +1 -0
  288. package/src/clis/reuters/search.ts +1 -1
  289. package/src/clis/smzdm/search.ts +2 -3
  290. package/src/clis/stackoverflow/search.yaml +1 -0
  291. package/src/clis/steam/top-sellers.yaml +29 -0
  292. package/src/clis/twitter/accept.ts +2 -2
  293. package/src/clis/twitter/article.ts +2 -2
  294. package/src/clis/twitter/block.ts +92 -0
  295. package/src/clis/twitter/delete.ts +1 -1
  296. package/src/clis/twitter/hide-reply.ts +70 -0
  297. package/src/clis/twitter/like.ts +1 -1
  298. package/src/clis/twitter/post.ts +1 -1
  299. package/src/clis/twitter/reply-dm.ts +1 -1
  300. package/src/clis/twitter/reply.ts +2 -2
  301. package/src/clis/twitter/search.ts +1 -1
  302. package/src/clis/twitter/thread.ts +2 -2
  303. package/src/clis/twitter/trending.ts +113 -0
  304. package/src/clis/twitter/unblock.ts +75 -0
  305. package/src/clis/v2ex/topic.yaml +1 -0
  306. package/src/clis/weibo/hot.ts +0 -1
  307. package/src/clis/weread/book.ts +1 -1
  308. package/src/clis/weread/highlights.ts +1 -1
  309. package/src/clis/weread/notes.ts +1 -1
  310. package/src/clis/weread/search.ts +1 -1
  311. package/src/clis/wikipedia/search.ts +1 -1
  312. package/src/clis/xiaohongshu/creator-note-detail.test.ts +82 -33
  313. package/src/clis/xiaohongshu/creator-note-detail.ts +89 -5
  314. package/src/clis/xiaohongshu/creator-notes.test.ts +39 -6
  315. package/src/clis/xiaohongshu/creator-notes.ts +44 -5
  316. package/src/clis/xiaohongshu/creator-profile.ts +0 -1
  317. package/src/clis/xiaohongshu/creator-stats.ts +0 -1
  318. package/src/clis/xiaohongshu/download.ts +2 -3
  319. package/src/clis/xiaohongshu/feed.yaml +0 -1
  320. package/src/clis/xiaohongshu/notifications.yaml +0 -1
  321. package/src/clis/xiaohongshu/search.ts +2 -2
  322. package/src/clis/xiaohongshu/user.ts +1 -2
  323. package/src/clis/yahoo-finance/quote.ts +0 -1
  324. package/src/clis/youtube/search.ts +1 -1
  325. package/src/clis/youtube/transcript.ts +1 -1
  326. package/src/clis/youtube/video.ts +1 -1
  327. package/src/clis/zhihu/download.ts +1 -2
  328. package/src/clis/zhihu/question.ts +1 -1
  329. package/src/clis/zhihu/search.yaml +4 -3
  330. package/src/commanderAdapter.ts +113 -0
  331. package/src/{engine.ts → discovery.ts} +1 -108
  332. package/src/download/index.ts +21 -54
  333. package/src/engine.test.ts +8 -7
  334. package/src/execution.ts +138 -0
  335. package/src/explore.ts +135 -109
  336. package/src/external-clis.yaml +9 -0
  337. package/src/external.ts +15 -12
  338. package/src/main.ts +1 -1
  339. package/src/pipeline/steps/browser.ts +7 -2
  340. package/src/registry.ts +5 -0
  341. package/src/runtime.ts +9 -0
  342. package/src/serialization.ts +79 -0
  343. package/src/types.ts +1 -1
  344. package/tests/e2e/browser-public.test.ts +25 -0
  345. package/tests/e2e/public-commands.test.ts +55 -1
  346. package/dist/clis/twitter/trending.yaml +0 -46
  347. package/docs/public/CNAME +0 -1
  348. package/src/clis/twitter/trending.yaml +0 -46
  349. /package/dist/{bilibili.js → clis/bilibili/utils.js} +0 -0
  350. /package/dist/{chaoxing.test.d.ts → clis/bloomberg/businessweek.d.ts} +0 -0
  351. /package/dist/{coupang.test.d.ts → clis/bloomberg/economics.d.ts} +0 -0
  352. /package/dist/{coupang.d.ts → clis/coupang/utils.d.ts} +0 -0
  353. /package/dist/{coupang.js → clis/coupang/utils.js} +0 -0
  354. /package/src/{coupang.ts → clis/coupang/utils.ts} +0 -0
@@ -0,0 +1,32 @@
1
+ # Barchart
2
+
3
+ **Mode**: 🌐 Public · **Domain**: `barchart.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli barchart quote` | Stock quote with price, volume, and key metrics |
10
+ | `opencli barchart options` | Options chain with greeks, IV, volume, and open interest |
11
+ | `opencli barchart greeks` | Options greeks overview (IV, delta, gamma, theta, vega) |
12
+ | `opencli barchart flow` | Unusual options activity / options flow |
13
+
14
+ ## Usage Examples
15
+
16
+ ```bash
17
+ # Get stock quote
18
+ opencli barchart quote --symbol AAPL
19
+
20
+ # View options chain
21
+ opencli barchart options --symbol TSLA
22
+
23
+ # Options greeks overview
24
+ opencli barchart greeks --symbol NVDA
25
+
26
+ # Unusual options flow
27
+ opencli barchart flow --limit 20 -f json
28
+ ```
29
+
30
+ ## Prerequisites
31
+
32
+ - No browser required — uses public API
@@ -0,0 +1,70 @@
1
+ # Bloomberg
2
+
3
+ **Mode**: 🌐 / 🔐 Mixed · **Domains**: `feeds.bloomberg.com`, `www.bloomberg.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli bloomberg main` | Bloomberg homepage top stories from RSS |
10
+ | `opencli bloomberg markets` | Bloomberg Markets top stories from RSS |
11
+ | `opencli bloomberg economics` | Bloomberg Economics top stories from RSS |
12
+ | `opencli bloomberg industries` | Bloomberg Industries top stories from RSS |
13
+ | `opencli bloomberg tech` | Bloomberg Tech top stories from RSS |
14
+ | `opencli bloomberg politics` | Bloomberg Politics top stories from RSS |
15
+ | `opencli bloomberg businessweek` | Bloomberg Businessweek top stories from RSS |
16
+ | `opencli bloomberg opinions` | Bloomberg Opinion top stories from RSS |
17
+ | `opencli bloomberg feeds` | List the RSS feed aliases used by the adapter |
18
+ | `opencli bloomberg news <link>` | Read a standard Bloomberg story/article page and return title, summary, media links, and article text |
19
+
20
+ ## What works today
21
+
22
+ - RSS-backed listing commands work without a browser:
23
+ - `main`
24
+ - `markets`
25
+ - `economics`
26
+ - `industries`
27
+ - `tech`
28
+ - `politics`
29
+ - `businessweek`
30
+ - `opinions`
31
+ - `feeds`
32
+ - `bloomberg news` works on standard Bloomberg story/article pages that expose `#__NEXT_DATA__` and are accessible to your current Chrome session.
33
+
34
+ ## Current limitations
35
+
36
+ - Audio pages and some other non-standard Bloomberg URLs may fail.
37
+ - Some Bloomberg pages can return bot-protection or access-gated responses instead of article data.
38
+ - This adapter is for data retrieval/extraction only. It does **not** bypass Bloomberg paywall, login, entitlement, or other access checks.
39
+
40
+ ## Usage Examples
41
+
42
+ ```bash
43
+ # List supported RSS feed aliases
44
+ opencli bloomberg feeds
45
+
46
+ # Fetch Bloomberg homepage headlines
47
+ opencli bloomberg main --limit 5
48
+
49
+ # Fetch a section feed as JSON
50
+ opencli bloomberg tech --limit 3 -f json
51
+
52
+ # Read a standard article page
53
+ opencli bloomberg news https://www.bloomberg.com/news/articles/2026-03-19/example -f json
54
+
55
+ # Relative article paths also work
56
+ opencli bloomberg news /news/articles/2026-03-19/example
57
+ ```
58
+
59
+ ## Prerequisites
60
+
61
+ - RSS commands do not require Chrome.
62
+ - `bloomberg news` requires:
63
+ - Chrome running
64
+ - a Chrome session that can already access the target Bloomberg article page
65
+ - the [Browser Bridge extension](/guide/browser-bridge)
66
+
67
+ ## Notes
68
+
69
+ - RSS commands support `--limit` with a maximum of 20 items.
70
+ - If `bloomberg news` fails on a page from RSS, try a different standard story/article link first; not every Bloomberg URL in feeds is a normal article page.
@@ -0,0 +1,39 @@
1
+ # 超星学习通 (Chaoxing)
2
+
3
+ **Mode**: 🔐 Browser · **Domain**: `mooc2-ans.chaoxing.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli chaoxing assignments` | 学习通作业列表 |
10
+ | `opencli chaoxing exams` | 学习通考试列表 |
11
+
12
+ ## Usage Examples
13
+
14
+ ```bash
15
+ # List all assignments
16
+ opencli chaoxing assignments --limit 20
17
+
18
+ # Filter exams by course name
19
+ opencli chaoxing exams --course "高等数学"
20
+
21
+ # Filter exams by status
22
+ opencli chaoxing exams --status ongoing
23
+
24
+ # JSON output
25
+ opencli chaoxing assignments -f json
26
+ ```
27
+
28
+ ### Options
29
+
30
+ | Option | Description |
31
+ |--------|-------------|
32
+ | `--course` | Filter by course name (fuzzy match) |
33
+ | `--status` | Filter by status: `all`, `upcoming`, `ongoing`, `finished` |
34
+ | `--limit` | Max number of results (default: 20) |
35
+
36
+ ## Prerequisites
37
+
38
+ - Chrome running and **logged into** mooc2-ans.chaoxing.com
39
+ - [Browser Bridge extension](/guide/browser-bridge) installed
@@ -0,0 +1,35 @@
1
+ # Grok
2
+
3
+ **Mode**: 🔐 Browser · **Domain**: `grok.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli grok ask` | Send a message to Grok and get response |
10
+
11
+ ## Usage Examples
12
+
13
+ ```bash
14
+ # Ask Grok a question
15
+ opencli grok ask --prompt "Explain quantum computing in simple terms"
16
+
17
+ # Start a new chat session
18
+ opencli grok ask --prompt "Hello" --new
19
+
20
+ # Set custom timeout (default: 120s)
21
+ opencli grok ask --prompt "Write a long essay" --timeout 180
22
+ ```
23
+
24
+ ### Options
25
+
26
+ | Option | Description |
27
+ |--------|-------------|
28
+ | `--prompt` | The message to send (required) |
29
+ | `--timeout` | Wait timeout in seconds (default: 120) |
30
+ | `--new` | Start a new chat session (default: false) |
31
+
32
+ ## Prerequisites
33
+
34
+ - Chrome running and **logged into** grok.com
35
+ - [Browser Bridge extension](/guide/browser-bridge) installed
@@ -0,0 +1,42 @@
1
+ # Hugging Face
2
+
3
+ **Mode**: 🌐 Public · **Domain**: `huggingface.co`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli hf top` | Top upvoted Hugging Face papers |
10
+
11
+ ## Usage Examples
12
+
13
+ ```bash
14
+ # Today's top papers
15
+ opencli hf top --limit 10
16
+
17
+ # All papers (no limit)
18
+ opencli hf top --all
19
+
20
+ # Specific date
21
+ opencli hf top --date 2025-03-01
22
+
23
+ # Weekly/monthly top papers
24
+ opencli hf top --period weekly
25
+ opencli hf top --period monthly
26
+
27
+ # JSON output
28
+ opencli hf top -f json
29
+ ```
30
+
31
+ ### Options
32
+
33
+ | Option | Description |
34
+ |--------|-------------|
35
+ | `--limit` | Number of papers (default: 20) |
36
+ | `--all` | Return all papers, ignoring limit |
37
+ | `--date` | Date in `YYYY-MM-DD` format (defaults to most recent) |
38
+ | `--period` | Time period: `daily`, `weekly`, or `monthly` (default: daily) |
39
+
40
+ ## Prerequisites
41
+
42
+ - No browser required — uses public Hugging Face API
@@ -0,0 +1,45 @@
1
+ # 即刻 (Jike)
2
+
3
+ **Mode**: 🔐 Browser · **Domain**: `web.okjike.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli jike feed` | 即刻首页动态流 |
10
+ | `opencli jike search` | 搜索即刻帖子 |
11
+ | `opencli jike post` | 帖子详情及评论 |
12
+ | `opencli jike topic` | 话题详情 |
13
+ | `opencli jike user` | 用户资料 |
14
+ | `opencli jike create` | 发布即刻动态 |
15
+ | `opencli jike comment` | 评论即刻帖子 |
16
+ | `opencli jike like` | 点赞即刻帖子 |
17
+ | `opencli jike repost` | 转发即刻帖子 |
18
+ | `opencli jike notifications` | 即刻通知 |
19
+
20
+ ## Usage Examples
21
+
22
+ ```bash
23
+ # View feed
24
+ opencli jike feed --limit 10
25
+
26
+ # Search posts
27
+ opencli jike search "AI" --limit 20
28
+
29
+ # View post details and comments
30
+ opencli jike post <post-id>
31
+
32
+ # Create a new post
33
+ opencli jike create --content "Hello Jike!"
34
+
35
+ # Like a post
36
+ opencli jike like <post-id>
37
+
38
+ # JSON output
39
+ opencli jike feed -f json
40
+ ```
41
+
42
+ ## Prerequisites
43
+
44
+ - Chrome running and **logged into** web.okjike.com
45
+ - [Browser Bridge extension](/guide/browser-bridge) installed
@@ -0,0 +1,39 @@
1
+ # 即梦AI (Jimeng)
2
+
3
+ **Mode**: 🔐 Browser · **Domain**: `jimeng.jianying.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli jimeng generate` | 即梦AI 文生图 — 输入 prompt 生成图片 |
10
+ | `opencli jimeng history` | 查看生成历史 |
11
+
12
+ ## Usage Examples
13
+
14
+ ```bash
15
+ # Generate an image
16
+ opencli jimeng generate --prompt "一只在星空下的猫"
17
+
18
+ # Use a specific model
19
+ opencli jimeng generate --prompt "cyberpunk city" --model high_aes_general_v50
20
+
21
+ # Set custom wait timeout
22
+ opencli jimeng generate --prompt "sunset landscape" --wait 60
23
+
24
+ # View generation history
25
+ opencli jimeng history --limit 10
26
+ ```
27
+
28
+ ### Options (generate)
29
+
30
+ | Option | Description |
31
+ |--------|-------------|
32
+ | `--prompt` | Image description prompt (required) |
33
+ | `--model` | Model: `high_aes_general_v50` (5.0 Lite), `high_aes_general_v42` (4.6), `high_aes_general_v40` (4.0) |
34
+ | `--wait` | Wait seconds for generation (default: 40) |
35
+
36
+ ## Prerequisites
37
+
38
+ - Chrome running and **logged into** jimeng.jianying.com
39
+ - [Browser Bridge extension](/guide/browser-bridge) installed
@@ -0,0 +1,45 @@
1
+ # LINUX DO
2
+
3
+ **Mode**: 🔐 Browser · **Domain**: `linux.do`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli linux-do hot` | 热门话题 |
10
+ | `opencli linux-do latest` | 最新话题 |
11
+ | `opencli linux-do categories` | 板块列表 |
12
+ | `opencli linux-do category` | 板块话题 |
13
+ | `opencli linux-do search` | 搜索话题 |
14
+ | `opencli linux-do topic` | 话题详情 |
15
+
16
+ ## Usage Examples
17
+
18
+ ```bash
19
+ # Hot topics this week
20
+ opencli linux-do hot --limit 20
21
+
22
+ # Hot topics by period
23
+ opencli linux-do hot --period daily
24
+ opencli linux-do hot --period monthly
25
+
26
+ # Latest topics
27
+ opencli linux-do latest --limit 10
28
+
29
+ # List all categories
30
+ opencli linux-do categories
31
+
32
+ # Search topics
33
+ opencli linux-do search "NixOS"
34
+
35
+ # View topic details
36
+ opencli linux-do topic 12345
37
+
38
+ # JSON output
39
+ opencli linux-do hot -f json
40
+ ```
41
+
42
+ ## Prerequisites
43
+
44
+ - Chrome running and **logged into** linux.do
45
+ - [Browser Bridge extension](/guide/browser-bridge) installed
@@ -0,0 +1,35 @@
1
+ # 新浪财经 (Sina Finance)
2
+
3
+ **Mode**: 🌐 Public · **Domain**: `finance.sina.com.cn`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli sinafinance news` | 新浪财经 7×24 小时实时快讯 |
10
+
11
+ ## Usage Examples
12
+
13
+ ```bash
14
+ # Latest financial news
15
+ opencli sinafinance news --limit 20
16
+
17
+ # Filter by type
18
+ opencli sinafinance news --type 1 # A股
19
+ opencli sinafinance news --type 2 # 宏观
20
+ opencli sinafinance news --type 6 # 国际
21
+
22
+ # JSON output
23
+ opencli sinafinance news -f json
24
+ ```
25
+
26
+ ### Options
27
+
28
+ | Option | Description |
29
+ |--------|-------------|
30
+ | `--limit` | Max results, up to 50 (default: 20) |
31
+ | `--type` | News type: `0`=全部, `1`=A股, `2`=宏观, `3`=公司, `4`=数据, `5`=市场, `6`=国际, `7`=观点, `8`=央行, `9`=其它 |
32
+
33
+ ## Prerequisites
34
+
35
+ - No browser required — uses public API
@@ -0,0 +1,35 @@
1
+ # Stack Overflow
2
+
3
+ **Mode**: 🌐 Public · **Domain**: `stackoverflow.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli stackoverflow hot` | Hot questions |
10
+ | `opencli stackoverflow search` | Search questions |
11
+ | `opencli stackoverflow bounties` | Questions with active bounties |
12
+ | `opencli stackoverflow unanswered` | Unanswered questions |
13
+
14
+ ## Usage Examples
15
+
16
+ ```bash
17
+ # Hot questions
18
+ opencli stackoverflow hot --limit 10
19
+
20
+ # Search questions
21
+ opencli stackoverflow search "async await" --limit 20
22
+
23
+ # Active bounties
24
+ opencli stackoverflow bounties --limit 10
25
+
26
+ # Unanswered questions
27
+ opencli stackoverflow unanswered --limit 10
28
+
29
+ # JSON output
30
+ opencli stackoverflow hot -f json
31
+ ```
32
+
33
+ ## Prerequisites
34
+
35
+ - No browser required — uses public Stack Exchange API
@@ -0,0 +1,26 @@
1
+ # Steam
2
+
3
+ **Mode**: 🌐 Public · **Domain**: `store.steampowered.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli steam top-sellers` | Top selling games on Steam |
10
+
11
+ ## Usage Examples
12
+
13
+ ```bash
14
+ # Quick start
15
+ opencli steam top-sellers
16
+
17
+ # Limit results
18
+ opencli steam top-sellers --limit 5
19
+
20
+ # JSON output
21
+ opencli steam top-sellers -f json
22
+ ```
23
+
24
+ ## Prerequisites
25
+
26
+ - No login required (public API)
@@ -24,6 +24,9 @@
24
24
  | `opencli twitter unfollow` | |
25
25
  | `opencli twitter bookmark` | |
26
26
  | `opencli twitter unbookmark` | |
27
+ | `opencli twitter block` | |
28
+ | `opencli twitter unblock` | |
29
+ | `opencli twitter hide-reply` | |
27
30
  | `opencli twitter download` | |
28
31
  | `opencli twitter accept` | |
29
32
  | `opencli twitter reply-dm` | |
@@ -0,0 +1,48 @@
1
+ # 微信读书 (WeRead)
2
+
3
+ **Mode**: 🔐 Browser · **Domain**: `weread.qq.com`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli weread shelf` | List books on your bookshelf |
10
+ | `opencli weread search` | Search books on WeRead |
11
+ | `opencli weread book` | View book details |
12
+ | `opencli weread ranking` | Book rankings by category |
13
+ | `opencli weread notebooks` | List books that have highlights or notes |
14
+ | `opencli weread highlights` | List your highlights (underlines) in a book |
15
+ | `opencli weread notes` | List your notes (thoughts) on a book |
16
+
17
+ ## Usage Examples
18
+
19
+ ```bash
20
+ # View your bookshelf
21
+ opencli weread shelf --limit 20
22
+
23
+ # Search books
24
+ opencli weread search "三体"
25
+
26
+ # View book details
27
+ opencli weread book <book-id>
28
+
29
+ # Book rankings
30
+ opencli weread ranking --limit 10
31
+
32
+ # List books with notes/highlights
33
+ opencli weread notebooks
34
+
35
+ # View highlights for a book
36
+ opencli weread highlights <book-id>
37
+
38
+ # View your notes
39
+ opencli weread notes <book-id>
40
+
41
+ # JSON output
42
+ opencli weread shelf -f json
43
+ ```
44
+
45
+ ## Prerequisites
46
+
47
+ - Chrome running and **logged into** weread.qq.com
48
+ - [Browser Bridge extension](/guide/browser-bridge) installed
@@ -0,0 +1,30 @@
1
+ # Wikipedia
2
+
3
+ **Mode**: 🌐 Public · **Domain**: `wikipedia.org`
4
+
5
+ ## Commands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | `opencli wikipedia search` | Search Wikipedia articles |
10
+ | `opencli wikipedia summary` | Get Wikipedia article summary |
11
+
12
+ ## Usage Examples
13
+
14
+ ```bash
15
+ # Search articles
16
+ opencli wikipedia search "quantum computing" --limit 10
17
+
18
+ # Get article summary
19
+ opencli wikipedia summary --title "Artificial intelligence"
20
+
21
+ # Search in other languages
22
+ opencli wikipedia search "人工智能" --lang zh
23
+
24
+ # JSON output
25
+ opencli wikipedia search "Rust" -f json
26
+ ```
27
+
28
+ ## Prerequisites
29
+
30
+ - No browser required — uses public Wikipedia API
@@ -9,9 +9,13 @@
9
9
  | `opencli xiaohongshu search` | |
10
10
  | `opencli xiaohongshu notifications` | |
11
11
  | `opencli xiaohongshu feed` | |
12
- | `opencli xiaohongshu me` | |
13
12
  | `opencli xiaohongshu user` | |
14
13
  | `opencli xiaohongshu download` | |
14
+ | `opencli xiaohongshu creator-notes` | |
15
+ | `opencli xiaohongshu creator-note-detail` | |
16
+ | `opencli xiaohongshu creator-notes-summary` | |
17
+ | `opencli xiaohongshu creator-profile` | |
18
+ | `opencli xiaohongshu creator-stats` | |
15
19
 
16
20
  ## Usage Examples
17
21
 
@@ -14,7 +14,7 @@ The current built-in commands use native AppleScript automation — no extra lau
14
14
  - `opencli chatgpt status`: Check if the ChatGPT app is currently running.
15
15
  - `opencli chatgpt new`: Activate ChatGPT and press `Cmd+N` to start a new conversation.
16
16
  - `opencli chatgpt send "message"`: Copy your message to clipboard, activate ChatGPT, paste, and submit.
17
- - `opencli chatgpt read`: Copy the last AI response via `Cmd+Shift+C` and return it as text.
17
+ - `opencli chatgpt read`: Read the last visible message from the focused ChatGPT window via the Accessibility tree.
18
18
 
19
19
  ## Approach 2: CDP (Advanced, Electron Debug Mode)
20
20
 
@@ -33,11 +33,11 @@ export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9224"
33
33
 
34
34
  ## How It Works
35
35
 
36
- - **AppleScript mode**: Uses `osascript` and `pbcopy`/`pbpaste` for clipboard-based text transfer.
36
+ - **AppleScript mode**: Uses `osascript` to control ChatGPT, `pbcopy`/`pbpaste` to paste prompts, and the macOS Accessibility tree to read visible chat messages.
37
37
  - **CDP mode**: Connects via Chrome DevTools Protocol to the Electron renderer process.
38
38
 
39
39
  ## Limitations
40
40
 
41
41
  - macOS only (AppleScript dependency)
42
42
  - AppleScript mode requires Accessibility permissions
43
- - `read` command copies the last responseearlier messages need manual scroll
43
+ - `read` returns the last visible message in the focused ChatGPT window scroll first if the message you want is not visible
@@ -14,6 +14,7 @@ Run `opencli list` for the live registry.
14
14
  | **[xueqiu](/adapters/browser/xueqiu)** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 Browser |
15
15
  | **[youtube](/adapters/browser/youtube)** | `search` `video` `transcript` | 🔐 Browser |
16
16
  | **[v2ex](/adapters/browser/v2ex)** | `hot` `latest` `topic` `daily` `me` `notifications` | 🌐 / 🔐 |
17
+ | **[bloomberg](/adapters/browser/bloomberg)** | `main` `markets` `economics` `industries` `tech` `politics` `businessweek` `opinions` `feeds` `news` | 🌐 / 🔐 |
17
18
  | **[weibo](/adapters/browser/weibo)** | `hot` | 🔐 Browser |
18
19
  | **[linkedin](/adapters/browser/linkedin)** | `search` | 🔐 Browser |
19
20
  | **[coupang](/adapters/browser/coupang)** | `search` `add-to-cart` | 🔐 Browser |
@@ -21,6 +22,12 @@ Run `opencli list` for the live registry.
21
22
  | **[ctrip](/adapters/browser/ctrip)** | `search` | 🔐 Browser |
22
23
  | **[reuters](/adapters/browser/reuters)** | `search` | 🔐 Browser |
23
24
  | **[smzdm](/adapters/browser/smzdm)** | `search` | 🔐 Browser |
25
+ | **[jike](/adapters/browser/jike)** | `feed` `search` `post` `topic` `user` `create` `comment` `like` `repost` `notifications` | 🔐 Browser |
26
+ | **[jimeng](/adapters/browser/jimeng)** | `generate` `history` | 🔐 Browser |
27
+ | **[linux-do](/adapters/browser/linux-do)** | `hot` `latest` `categories` `category` `search` `topic` | 🔐 Browser |
28
+ | **[chaoxing](/adapters/browser/chaoxing)** | `assignments` `exams` | 🔐 Browser |
29
+ | **[grok](/adapters/browser/grok)** | `ask` | 🔐 Browser |
30
+ | **[weread](/adapters/browser/weread)** | `shelf` `search` `book` `ranking` `notebooks` `highlights` `notes` | 🔐 Browser |
24
31
 
25
32
  ## Public API Adapters
26
33
 
@@ -32,6 +39,12 @@ Run `opencli list` for the live registry.
32
39
  | **[apple-podcasts](/adapters/browser/apple-podcasts)** | `search` `episodes` `top` | 🌐 Public |
33
40
  | **[xiaoyuzhou](/adapters/browser/xiaoyuzhou)** | `podcast` `podcast-episodes` `episode` | 🌐 Public |
34
41
  | **[yahoo-finance](/adapters/browser/yahoo-finance)** | `quote` | 🌐 Public |
42
+ | **[arxiv](/adapters/browser/arxiv)** | `search` `paper` | 🌐 Public |
43
+ | **[barchart](/adapters/browser/barchart)** | `quote` `options` `greeks` `flow` | 🌐 Public |
44
+ | **[hf](/adapters/browser/hf)** | `top` | 🌐 Public |
45
+ | **[sinafinance](/adapters/browser/sinafinance)** | `news` | 🌐 Public |
46
+ | **[stackoverflow](/adapters/browser/stackoverflow)** | `hot` `search` `bounties` `unanswered` | 🌐 Public |
47
+ | **[wikipedia](/adapters/browser/wikipedia)** | `search` `summary` | 🌐 Public |
35
48
 
36
49
  ## Desktop Adapters
37
50
 
@@ -26,23 +26,23 @@ brew install yt-dlp
26
26
 
27
27
  ```bash
28
28
  # Download images/videos from Xiaohongshu note
29
- opencli xiaohongshu download --note_id abc123 --output ./xhs
29
+ opencli xiaohongshu download --note-id abc123 --output ./xhs
30
30
 
31
31
  # Download Bilibili video (requires yt-dlp)
32
32
  opencli bilibili download --bvid BV1xxx --output ./bilibili
33
33
  opencli bilibili download --bvid BV1xxx --quality 1080p
34
34
 
35
35
  # Download Twitter media from user
36
- opencli twitter download --username elonmusk --limit 20 --output ./twitter
36
+ opencli twitter download elonmusk --limit 20 --output ./twitter
37
37
 
38
38
  # Download single tweet media
39
39
  opencli twitter download --tweet-url "https://x.com/user/status/123" --output ./twitter
40
40
 
41
41
  # Export Zhihu article to Markdown
42
- opencli zhihu download --url "https://zhuanlan.zhihu.com/p/xxx" --output ./zhihu
42
+ opencli zhihu download "https://zhuanlan.zhihu.com/p/xxx" --output ./zhihu
43
43
 
44
44
  # Export with local images
45
- opencli zhihu download --url "https://zhuanlan.zhihu.com/p/xxx" --download-images
45
+ opencli zhihu download "https://zhuanlan.zhihu.com/p/xxx" --download-images
46
46
  ```
47
47
 
48
48
  ## Pipeline Step (YAML Adapters)