> Chrome CDP automation with 103 commands across 36 platforms. Runs via the bb-browser daemon on the host machine, accessible from inside the Rabbit container.
bb-browser connects to a real Chromium instance on the host via Chrome DevTools Protocol (CDP). The daemon runs at localhost:19824. Commands execute within the actual browser — with real cookies and sessions — so you can access logged-in content without any API keys.
The binary is available inside the container at /usr/local/bin/bb-browser (bind-mounted from host).
# Run a site adapter
bb-browser site <adapter>/<command> [args]
# List all available adapters
bb-browser site list
# Get adapter usage details
bb-browser site info boss/search
# Output as JSON
bb-browser site <adapter>/<command> [args] --json
bb-browser site boss/search '工程师 上海' --json
bb-browser site boss/detail <job_url>
> ⚠️ BOSS has anti-bot detection. If you see 您的环境存在异常, the browser session needs a manual BOSS visit to solve captcha first.
bb-browser site twitter/search 'AI agent 2025' --json
bb-browser site twitter/bookmarks --json
bb-browser site twitter/notifications --json
bb-browser site twitter/tweets <username> --json
bb-browser site twitter/user <username> --json
bb-browser site twitter/thread <tweet_url> --json
bb-browser site xiaohongshu/search '东京旅游' --json
bb-browser site xiaohongshu/feed --json
bb-browser site xiaohongshu/note <note_url> --json
bb-browser site xiaohongshu/me --json
bb-browser site xiaohongshu/user_posts <user_id> --json
> Note: Requires logged-in XHS session in Chromium.
bb-browser site bilibili/search 'Claude AI' --json
bb-browser site bilibili/trending --json
bb-browser site bilibili/popular --json
bb-browser site bilibili/feed --json
bb-browser site bilibili/history --json
bb-browser site weibo/hot --json
bb-browser site weibo/feed --json
bb-browser site weibo/search <keyword> --json
bb-browser site weibo/user <uid_or_name> --json
bb-browser site zhihu/hot --json
bb-browser site zhihu/search <keyword> --json
bb-browser site zhihu/question <question_url> --json
bb-browser site xueqiu/hot-stock 5 --json
bb-browser site xueqiu/stock <code> --json
bb-browser site eastmoney/news --json
bb-browser site yahoo-finance/quote AAPL --json
bb-browser site google/search 'Claude AI 2025' --json
bb-browser site reddit/hot programming --json
bb-browser site hackernews/top --json
bb-browser site arxiv/search 'LLM agents' --json
bb-browser site github/issues owner/repo --json
bb-browser site youdao/translate '株式会社' --json
For sites without adapters, use raw CDP commands:
bb-browser open <url> # Open URL in current tab
bb-browser open <url> --tab # Open in new tab
bb-browser snapshot -i # Screenshot + page snapshot
bb-browser tab # List open tabs
bb-browser tab <index> # Switch to tab
bb-browser eval "document.title" # Run JS in active tab
bb-browser network requests --json # Capture network traffic
When you want to use bb-browser in a Python subprocess inside the container:
import subprocess, json
result = subprocess.run(
['bb-browser', 'site', 'twitter/search', query, '--json'],
capture_output=True, text=True, timeout=30
)
data = json.loads(result.stdout)
Or from a skill shell script:
bb-browser site zhihu/hot --json | python3 -c "import json,sys; items=json.load(sys.stdin); print('\n'.join(i['title'] for i in items[:5]))"
localhost:19824共 1 个版本