- name
- qiaomu-opencli-usage
- description
- Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 79+ adapters.
- version
- 1.6.9
- author
- joeseesun
- upstream
- jackwener/opencli
- tags
- ["opencli","cli","browser","web","chrome-extension","cdp","bilibili","twitter","reddit","xiaohongshu","github","youtube","AI","agent","automation"]
# OpenCLI Usage Guide
> Make any website or Electron App your CLI. Reuse Chrome login, zero risk, AI-powered discovery.
## Install & Run
```bash
# npm global install (recommended)
npm install -g @jackwener/opencli
opencli <command>
# Or from source
cd ~/code/opencli && npm install
npx tsx src/main.ts <command>
# Update to latest
npm update -g @jackwener/opencli
```
## Prerequisites
Browser commands require:
1. Chrome browser running **(logged into target sites)**
2. **opencli Browser Bridge** Chrome extension installed (load `extension/` as unpacked in `chrome://extensions`)
3. No further setup needed โ the daemon auto-starts on first browser command
> **Note**: You must be logged into the target website in Chrome before running commands. Tabs opened during command execution are auto-closed afterwards.
Public API commands (`hackernews`, `v2ex`) need no browser.
## Quick Lookup by Capability
| Capability | Platforms (partial list) |
|-----------|--------------------------|
| **search** | Bilibili, Twitter, Reddit, Xiaohongshu, Zhihu, YouTube, Google, arXiv, LinkedIn, Pixiv, etc. |
| **hot/trending** | Bilibili, Twitter, Weibo, HackerNews, Reddit, V2EX, Xueqiu, Lobsters, Douban |
| **feed/timeline** | Twitter, Reddit, Xiaohongshu, Xueqiu, Jike, Facebook, Instagram, Medium |
| **user/profile** | Twitter, Reddit, Instagram, TikTok, Facebook, Bilibili, Pixiv |
| **post/create** | Twitter, Jike, Douyin, Weibo |
| **AI chat** | Grok, Doubao, ChatGPT, Gemini, Cursor, Codex, NotebookLM |
| **finance/stock** | Xueqiu, Yahoo Finance, Barchart, Sina Finance, Bloomberg |
| **web scraping** | `opencli web read --url <url>` โ any URL to Markdown |
| **GitHub/DevOps** | `opencli gh`, `opencli docker`, `opencli vercel` โ external CLI passthrough |
| **collaboration** | `opencli lark-cli`, `opencli dws`, `opencli wecom-cli` โ external CLI passthrough |
## Command Quick Reference
Usage: `opencli <site> <command> [args] [--limit N] [-f json|yaml|md|csv|table]`
Type legend: ๐ = Browser (needs Chrome login) ยท โ
= Public API (no browser) ยท ๐ฅ๏ธ = Desktop (Electron/CDP) ยท ๐ง = External CLI (passthrough)
### Website Adapters
| Site | Type | Commands |
|------|------|----------|
| **1688** | ๐ | `search` `item` `download` `store` |
| **36kr** | ๐ | `hot` `news` `search` `article` |
| **amazon** | ๐ | `bestsellers` `search` `product` `offer` `discussion` `movers-shakers` `new-releases` |
| **apple-podcasts** | โ
| `top` `search` `episodes` |
| **arxiv** | โ
| `search` `paper` |
| **band** | ๐ | `bands` `posts` `post` `mentions` |
| **barchart** | ๐ | `quote` `options` `greeks` `flow` |
| **bbc** | โ
| `news` |
| **bilibili** | ๐ | `hot` `search` `me` `favorite` `history` `feed` `user-videos` `subtitle` `dynamic` `ranking` `following` |
| **bloomberg** | โ
๐ | RSS: `main` `markets` `tech` `politics` `economics` `opinions` `industries` `businessweek` `feeds` ยท Browser: `news` (full article) |
| **bluesky** | ๐ | `search` `profile` `user` `feeds` `followers` `following` `thread` `trending` `starter-packs` |
| **boss** | ๐ | `search` `detail` `recommend` `joblist` `greet` `batchgreet` `send` `chatlist` `chatmsg` `invite` `mark` `exchange` `resume` `stats` |
| **chaoxing** | ๐ | `assignments` `exams` |
| **coupang** | ๐ | `search` `add-to-cart` |
| **ctrip** | ๐ | `search` |
| **devto** | โ
| `top` `tag` `user` |
| **dictionary** | โ
| `search` `synonyms` `examples` |
| **doubao** | ๐ | `status` `new` `send` `read` `ask` `detail` `history` `meeting-summary` `meeting-transcript` |
| **douban** | ๐ | `search` `top250` `subject` `photos` `download` `marks` `reviews` `movie-hot` `book-hot` |
| **douyin** | ๐ | `profile` `videos` `user-videos` `activities` `collections` `hashtag` `location` `stats` `publish` `draft` `drafts` `delete` `update` |
| **facebook** | ๐ | `feed` `profile` `search` `friends` `groups` `events` `notifications` `memories` `add-friend` `join-group` |
| **gemini** | ๐ | `ask` `new` `image` `deep-research` `deep-research-result` |
| **google** | โ
| `news` `search` `suggest` `trends` |
| **grok** | ๐ | `ask` |
| **hackernews** | โ
| `top` `new` `best` `ask` `show` `jobs` `search` `user` |
| **hf** | โ
| `top` |
| **hupu** | ๐ | `hot` `search` `detail` `like` `unlike` `reply` `mentions` |
| **imdb** | โ
| `top` `trending` `search` `title` `person` `reviews` |
| **instagram** | ๐ | `explore` `profile` `search` `user` `followers` `following` `follow` `unfollow` `like` `unlike` `comment` `save` `unsave` `saved` |
| **jd** | ๐ | `item` |
| **jianyu** | ๐ | `search` |
| **jike** | ๐ | `feed` `search` `create` `like` `comment` `repost` `notifications` `post` `topic` `user` |
| **jimeng** | ๐ | `generate` `history` |
| **lesswrong** | โ
| `frontpage` `curated` `new` `top` `top-week` `top-month` `top-year` `shortform` `read` `comments` `user` `user-posts` `sequences` `tags` `tag` |
| **linkedin** | ๐ | `search` `timeline` |
| **linux-do** | ๐ | `hot` `latest` `feed` `search` `categories` `category` `tags` `topic` `topic-content` `user-posts` `user-topics` |
| **lobsters** | โ
| `hot` `newest` `active` `tag` |
| **medium** | ๐ | `feed` `search` `user` |
| **notebooklm** | ๐ | `status` `list` `open` `current` `get` `history` `summary` `note-list` `notes-get` `source-list` `source-get` `source-fulltext` `source-guide` |
| **ones** | ๐ | `login` `logout` `me` `tasks` `task` `my-tasks` `worklog` `token-info` |
| **paperreview** | โ
| `submit` `review` `feedback` |
| **pixiv** | ๐ | `ranking` `search` `user` `illusts` `detail` `download` |
| **producthunt** | โ
| `today` `hot` `browse` `posts` |
| **quark** | ๐ | `ls` `mkdir` `mv` `rename` `rm` `save` `share-tree` |
| **reddit** | ๐ | `hot` `frontpage` `popular` `search` `subreddit` `read` `user` `user-posts` `user-comments` `upvote` `save` `comment` `subscribe` `saved` `upvoted` |
| **reuters** | ๐ | `search` |
| **sinablog** | ๐ | `hot` `search` `article` `user` |
| **sinafinance** | โ
| `news` |
| **smzdm** | ๐ | `search` |
| **spotify** | โ
| `auth` `status` `play` `pause` `next` `prev` `volume` `search` `queue` `shuffle` `repeat` |
| **stackoverflow** | โ
| `hot` `search` `bounties` `unanswered` |
| **steam** | โ
| `top-sellers` |
| **substack** | ๐ | `feed` `search` `publication` |
| **tieba** | ๐ | `hot` `search` `posts` `read` |
| **tiktok** | ๐ | `explore` `search` `profile` `user` `following` `follow` `unfollow` `like` `unlike` `comment` `save` `unsave` `live` `notifications` `friends` |
| **twitter** | ๐ | `trending` `bookmarks` `search` `profile` `timeline` `thread` `article` `follow` `unfollow` `bookmark` `unbookmark` `post` `like` `likes` `reply` `delete` `block` `unblock` `followers` `following` `notifications` `hide-reply` `download` `accept` `reply-dm` |
| **v2ex** | โ
๐ | Public: `hot` `latest` `topic` `node` `nodes` `member` `user` `replies` ยท Browser: `daily` `me` `notifications` |
| **web** | ๐ | `read` โ any URL to Markdown |
| **weibo** | ๐ | `hot` `search` `feed` `user` `me` `post` `comments` |
| **weixin** | ๐ | `download` โ ๅ
ฌไผๅท article to Markdown |
| **weread** | ๐ | `shelf` `search` `book` `highlights` `notes` `notebooks` `ranking` |
| **wikipedia** | โ
| `search` `summary` `random` `trending` |
| **xianyu** | ๐ | `search` `item` `chat` |
| **xiaoe** | ๐ | `courses` `catalog` `content` `detail` `play-url` |
| **xiaohongshu** | ๐ | `search` `notifications` `feed` `user` `note` `comments` `download` `publish` `creator-notes` `creator-note-detail` `creator-notes-summary` `creator-profile` `creator-stats` |
| **xiaoyuzhou** | โ
| `podcast` `podcast-episodes` `episode` |
| **xueqiu** | ๐ | `hot-stock` `stock` `watchlist` `feed` `hot` `search` `comments` `earnings-date` `fund-holdings` `fund-snapshot` |
| **yahoo-finance** | ๐ | `quote` |
| **yollomi** | ๐ | `models` `generate` `video` `upload` `remove-bg` `edit` `background` `face-swap` `object-remover` `restore` `try-on` `upscale` |
| **youtube** | ๐ | `search` `video` `transcript` |
| **yuanbao** | ๐ | `new` `ask` |
| **zhihu** | ๐ | `hot` `search` `question` |
| **zsxq** | ๐ | `groups` `dynamics` `topics` `topic` `search` |
### Desktop Apps (CDP/Electron)
View on GitHub