mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
c264531586
* feat(zlibrary): add search and info commands
Add Z-Library adapter with two browser-based commands:
- `search` — Search books by title, author, or ISBN.
Navigates to /s/<query> and extracts results from
<z-bookcard> shadow DOM custom elements.
- `info` — Get book details and available download formats
from a book page URL.
Uses Strategy.COOKIE with browser automation to bypass
Cloudflare protection. The adapter reuses the user's existing
Z-Library login cookies from system Chrome.
Known limitation: actual file downloading requires Playwright's
download event handling (page.on('download')). OpenCLI's browser
automation does not currently intercept file downloads. Users
needing to download files should use Playwright to navigate to
the book URLs discovered by this adapter.
* fix(zlibrary): harden input and empty extraction
---------
Co-authored-by: jean <jean@jeandeMacBook-Pro.local>
Co-authored-by: jackwener <jakevingoo@gmail.com>
32 KiB
32 KiB
All Adapters
Run opencli list for the live registry.
Browser Adapters
| Site | Commands | Mode |
|---|---|---|
trending bookmarks profile search timeline thread following followers notifications post reply delete like likes lists article follow unfollow bookmark unbookmark download accept reply-dm block unblock hide-reply |
🔐 Browser | |
hot frontpage popular search subreddit read user user-posts user-comments upvote save comment subscribe saved upvoted |
🔐 Browser | |
| tieba | hot posts search read |
🔐 Browser |
| hupu | hot search detail mentions reply like unlike |
🌐 / 🔐 |
| bilibili | hot search me favorite history feed feed-detail subtitle video dynamic ranking following user-videos download |
🔐 Browser |
| zhihu | hot search question download follow like favorite comment answer |
🔐 Browser |
| xiaohongshu | search notifications feed user note comments download publish creator-notes creator-note-detail creator-notes-summary creator-profile creator-stats |
🔐 Browser |
| xiaoe | courses detail catalog play-url content |
🔐 Browser |
| xueqiu | feed hot-stock hot search stock comments watchlist earnings-date fund-holdings fund-snapshot |
🔐 Browser |
| youtube | search video transcript comments channel playlist feed history watch-later subscriptions like unlike subscribe unsubscribe |
🔐 Browser |
| zlibrary | search info |
🔐 Browser |
| v2ex | hot latest topic node user member replies nodes daily me notifications |
🌐 / 🔐 |
| bloomberg | main markets economics industries tech politics businessweek opinions feeds news |
🌐 / 🔐 |
hot search feed user me post comments |
🔐 Browser | |
| toutiao | articles |
🔐 Browser |
search timeline |
🔐 Browser | |
| coupang | search add-to-cart |
🔐 Browser |
| boss | search detail recommend joblist greet batchgreet send chatlist chatmsg invite mark exchange resume stats |
🔐 Browser |
| 51job | search hot detail company |
🔐 Browser |
| powerchina | search |
🔐 Browser |
| ctrip | search |
🔐 Browser |
| reuters | search |
🔐 Browser |
| smzdm | search |
🔐 Browser |
| jike | feed search post topic user create comment like repost notifications |
🔐 Browser |
| ke | ershoufang zufang xiaoqu chengjiao |
🔐 Browser |
| jimeng | generate history |
🔐 Browser |
| yollomi | generate video edit upload models remove-bg upscale face-swap restore try-on background object-remover |
🔐 Browser |
| linux-do | hot latest feed search categories category tags topic topic-content user-posts user-topics |
🔐 Browser |
| chaoxing | assignments exams |
🔐 Browser |
| grok | ask image |
🔐 Browser |
| gemini | new ask image deep-research deep-research-result |
🔐 Browser |
| maimai | search-talents |
🔐 Browser |
| yuanbao | new ask |
🔐 Browser |
| notebooklm | status list open current get source-list source-get source-fulltext source-guide history note-list notes-get summary |
🔐 Browser |
| doubao | status new send read ask history detail meeting-summary meeting-transcript |
🔐 Browser |
| weread | shelf search book ranking notebooks highlights notes |
🔐 Browser |
| douban | search top250 subject photos download marks reviews movie-hot book-hot |
🔐 Browser |
feed profile search friends groups events notifications memories add-friend join-group |
🔐 Browser | |
| imdb | search title top trending person reviews |
🌐 / 🔐 |
explore profile search user followers following follow unfollow like unlike comment save unsave saved |
🔐 Browser | |
| medium | feed search user |
🔐 Browser |
| mubu | doc docs notes recent search |
🔐 Browser |
| sinablog | hot search article user |
🔐 Browser |
| substack | feed search publication |
🔐 Browser |
| pixiv | ranking search user illusts detail download |
🔐 Browser |
| tiktok | explore search profile user following follow unfollow like unlike comment save unsave live notifications friends |
🔐 Browser |
news search suggest trends |
🌐 / 🔐 | |
| jd | item |
🔐 Browser |
| amazon | bestsellers search product offer discussion movers-shakers new-releases |
🔐 Browser |
| 1688 | search item assets download store |
🔐 Browser |
| gitee | trending search user |
🌐 / 🔐 |
| web | read |
🔐 Browser |
| weixin | download drafts create-draft |
🔐 Browser |
| 36kr | news hot search article |
🌐 / 🔐 |
| producthunt | posts today hot browse |
🌐 / 🔐 |
| ones | login me token-info tasks my-tasks task worklog logout |
🔐 Browser Bridge + ONES_BASE_URL |
| band | bands posts post mentions |
🔐 Browser |
| baidu-scholar | search |
🌐 Public |
| zsxq | groups dynamics topics topic search |
🔐 Browser |
| bluesky | search profile user feeds followers following thread trending starter-packs |
🌐 Public |
| douyin | profile videos user-videos activities collections hashtag location stats publish draft drafts delete update |
🔐 Browser |
| google-scholar | search cite profile |
🌐 Public |
| gov-law | search recent |
🌐 Public |
| gov-policy | search recent |
🌐 Public |
| xianyu | search item chat |
🔐 Browser |
| quark | ls mkdir mv rename rm save share-tree |
🔐 Browser |
| uiverse | code preview |
🔐 Browser |
| nowcoder | hot trending topics recommend creators companies jobs search suggest experience referral salary papers practice notifications detail |
🌐 / 🔐 |
| wanfang | search |
🌐 Public |
| eastmoney | hot-rank |
🔐 Browser |
| tdx | hot-rank |
🔐 Browser |
| ths | hot-rank |
🔐 Browser |
Public API Adapters
| Site | Commands | Mode |
|---|---|---|
| hackernews | top new best ask show jobs search user |
🌐 Public |
| bbc | news |
🌐 Public |
| devto | top tag user |
🌐 Public |
| dictionary | search synonyms examples |
🌐 Public |
| apple-podcasts | search episodes top |
🌐 Public |
| xiaoyuzhou | podcast podcast-episodes episode download transcript (local credentials required) |
🔑 Local API |
| yahoo-finance | quote |
🌐 Public |
| arxiv | search paper |
🌐 Public |
| paperreview | submit review feedback |
🌐 Public |
| barchart | quote options greeks flow |
🌐 Public |
| binance | price prices ticker pairs trades depth asks klines top gainers losers |
🌐 Public |
| hf | top |
🌐 Public |
| sinafinance | news rolling-news stock stock-rank |
🌐 / 🔐 |
| spotify | auth status play pause next prev volume search queue shuffle repeat |
🔑 OAuth API |
| stackoverflow | hot search bounties unanswered |
🌐 Public |
| wikipedia | search summary random trending |
🌐 Public |
| lesswrong | curated frontpage new top top-week top-month top-year read comments user user-posts tag tags sequences shortform |
🌐 Public |
| lobsters | hot newest active tag |
🌐 Public |
| steam | top-sellers |
🌐 Public |
Desktop Adapters
| App | Description | Commands |
|---|---|---|
| Cursor | Control Cursor IDE | status send read new dump composer model extract-code ask screenshot history export |
| Codex | Drive OpenAI Codex CLI agent | status send read new extract-diff model ask screenshot history export |
| Antigravity | Control Antigravity Ultra | status send read new dump extract-code model watch |
| ChatGPT App | Automate ChatGPT macOS app | status new send read ask model |
| ChatWise | Multi-LLM client | status new send read ask model history export screenshot |
| Notion | Search, read, write pages | status search read new write sidebar favorites export |
| Discord | Desktop messages & channels | status send read channels servers search members |
| Doubao App | Doubao AI desktop app via CDP | status new send read ask screenshot dump |