36 platforms, 103 commands. One-liner structured data from any website using your login state.
All commands use --openclaw to run through OpenClaw's browser. No Chrome extension or daemon needed.
Quick Start
# First time: pull community adapters
bb-browser site update
# See what's available
bb-browser site list
# See which adapters match your browsing habits
bb-browser site recommend
# Run any adapter via OpenClaw's browser
bb-browser site reddit/hot --openclaw
bb-browser site hackernews/top 5 --openclaw
bb-browser site v2ex/hot --openclaw
IMPORTANT: Always use --openclaw
Every bb-browser site command MUST include --openclaw to use OpenClaw's browser:
# Correct
bb-browser site twitter/search "AI agent" --openclaw
bb-browser site zhihu/hot 10 --openclaw --json
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'
# Wrong (requires separate Chrome extension)
bb-browser site twitter/search "AI agent"
Data Extraction (most common use)
# Social media
bb-browser site twitter/search "OpenClaw" --openclaw
bb-browser site twitter/thread <tweet-url> --openclaw
bb-browser site reddit/thread <post-url> --openclaw
bb-browser site weibo/hot --openclaw
bb-browser site xiaohongshu/search "query" --openclaw
# Developer
bb-browser site github/repo owner/repo --openclaw
bb-browser site github/issues owner/repo --openclaw
bb-browser site hackernews/top 10 --openclaw
bb-browser site stackoverflow/search "async await" --openclaw
bb-browser site arxiv/search "transformer" --openclaw
# Finance
bb-browser site xueqiu/stock SH600519 --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw
bb-browser site eastmoney/stock "茅台" --openclaw
# News & Knowledge
bb-browser site zhihu/hot --openclaw
bb-browser site 36kr/newsflash --openclaw
bb-browser site wikipedia/summary "Python" --openclaw
# Video
bb-browser site youtube/transcript VIDEO_ID --openclaw
bb-browser site bilibili/search "query" --openclaw
Filtering with --jq
Use --jq to extract specific fields (no need for --json, it's implied):
# Just stock names
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[].name'
# Specific fields as objects
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent, heat}'
# Filter results
bb-browser site reddit/hot --openclaw --jq '.posts[] | {title, score}'
View adapter details
# Check what args an adapter takes
bb-browser site info xueqiu/stock
# Search adapters by keyword
bb-browser site search reddit
Login State
Adapters run inside OpenClaw's browser tabs. If a site requires login:
The adapter will return an error like {"error": "HTTP 401", "hint": "Not logged in?"}
Log in to the site in OpenClaw's browser:
openclaw browser open https://twitter.com
Complete login manually in the browser window
Retry the command
Creating New Adapters
Turn any website into a CLI command:
# Read the guide
bb-browser guide
# Or just tell me: "turn notion.so into a bb-browser adapter"
# I'll reverse-engineer the API, write the adapter, test it, and submit a PR.
# 首次使用:拉取社区适配器
bb-browser site update
# 查看可用的适配器
bb-browser site list
# 查看哪些适配器符合你的浏览习惯
bb-browser site recommend
# 通过 OpenClaw 的浏览器运行任意适配器
bb-browser site reddit/hot --openclaw
bb-browser site hackernews/top 5 --openclaw
bb-browser site v2ex/hot --openclaw
重要:始终使用 --openclaw
每个 bb-browser site 命令都必须包含 --openclaw,以使用 OpenClaw 的浏览器:
# 正确
bb-browser site twitter/search "AI agent" --openclaw
bb-browser site zhihu/hot 10 --openclaw --json
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'
# 错误(需要单独的 Chrome 扩展)
bb-browser site twitter/search "AI agent"
数据提取(最常见的用途)
# 社交媒体
bb-browser site twitter/search "OpenClaw" --openclaw
bb-browser site twitter/thread <tweet-url> --openclaw
bb-browser site reddit/thread <post-url> --openclaw
bb-browser site weibo/hot --openclaw
bb-browser site xiaohongshu/search "query" --openclaw
# 开发者
bb-browser site github/repo owner/repo --openclaw
bb-browser site github/issues owner/repo --openclaw
bb-browser site hackernews/top 10 --openclaw
bb-browser site stackoverflow/search "async await" --openclaw
bb-browser site arxiv/search "transformer" --openclaw
# 财经
bb-browser site xueqiu/stock SH600519 --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw
bb-browser site eastmoney/stock "茅台" --openclaw
# 新闻与知识
bb-browser site zhihu/hot --openclaw
bb-browser site 36kr/newsflash --openclaw
bb-browser site wikipedia/summary "Python" --openclaw
# 视频
bb-browser site youtube/transcript VIDEO_ID --openclaw
bb-browser site bilibili/search "query" --openclaw
You're already logged into Twitter, Reddit, YouTube, Zhihu, Bilibili, LinkedIn, GitHub — bb-browser lets AI agents use that directly.
bb-browser site twitter/search "AI agent" # search tweets
bb-browser site zhihu/hot # trending on Zhihu
bb-browser site arxiv/search "transformer" # search papers
bb-browser site eastmoney/stock "茅台" # real-time stock quote
bb-browser site boss/search "AI engineer" # search jobs
bb-browser site wikipedia/summary "Python" # Wikipedia summary
bb-browser site youtube/transcript VIDEO_ID # full transcript
bb-browser site stackoverflow/search "async" # search SO questions
103 commands across 36 platforms. All using your real browser's login state. Full list →
The idea
The internet was built for browsers. AI agents have been trying to access it through APIs — but 99% of websites don't offer one.
bb-browser flips this: instead of forcing websites to provide machine interfaces, let machines use the human interface directly. The adapter runs eval inside your browser tab, calls fetch() with your cookies, or invokes the page's own webpack modules. The website thinks it's you. Because it is you.
Playwright / Selenium
Scraping libs
bb-browser
Browser
Headless, isolated
No browser
Your real Chrome
Login state
None, must re-login
Cookie extraction
Already there
Anti-bot
Detected easily
Cat-and-mouse
Invisible — it IS the user
Complex auth
Can't replicate
Reverse engineer
Page handles it itself
Quick Start
Install
npm install -g bb-browser
Use
bb-browser site update # pull community adapters
bb-browser site recommend # see which adapters match your browsing habits
bb-browser site zhihu/hot # go
OpenClaw (no extension needed)
If you use OpenClaw, bb-browser runs directly through OpenClaw's built-in browser — no Chrome extension or daemon required:
bb-browser site reddit/hot --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'
Tell your AI agent: "turn XX website into a CLI". It reads the guide, reverse-engineers the API with network --with-body, writes the adapter, tests it, and submits a PR. All autonomously.
Three tiers of adapter complexity:
Tier
Auth method
Example
Time
1
Cookie (fetch directly)
Reddit, GitHub, V2EX
~1 min
2
Bearer + CSRF token
Twitter, Zhihu
~3 min
3
Webpack injection / Pinia store
Twitter search, Xiaohongshu
~10 min
We tested this: 20 AI agents ran in parallel, each independently reverse-engineered a website and produced a working adapter. The marginal cost of adding a new website to the agent-accessible internet is approaching zero.
What this means for AI agents
Without bb-browser, an AI agent's world is: files + terminal + a few APIs with keys.
With bb-browser: files + terminal + the entire internet.
An agent can now, in under a minute:
# Cross-platform research on any topic
bb-browser site arxiv/search "retrieval augmented generation"
bb-browser site twitter/search "RAG"
bb-browser site github search rag-framework
bb-browser site stackoverflow/search "RAG implementation"
bb-browser site zhihu/search "RAG"
bb-browser site 36kr/newsflash
Six platforms, six dimensions, structured JSON. Faster and broader than any human researcher.
Also a full browser automation tool
bb-browser open https://example.com
bb-browser snapshot -i # accessibility tree
bb-browser click @3 # click element
bb-browser fill @5 "hello" # fill input
bb-browser eval "document.title" # run JS
bb-browser fetch URL --json # authenticated fetch
bb-browser network requests --with-body --json # capture traffic
bb-browser screenshot # take screenshot
All commands support --json output, --jq <expr> for inline filtering, and --tab <id> for concurrent multi-tab operations.
bb-browser site xueqiu/hot-stock 5 --jq '.items[] | {name, changePercent}'
# {"name":"云天化","changePercent":"2.08%"}
# {"name":"东芯股份","changePercent":"-7.60%"}
bb-browser site info xueqiu/stock # view adapter args, example, domain
Daemon configuration
The daemon binds to 127.0.0.1:19824 by default. You can customize the host with --host:
bb-browser daemon --host 127.0.0.1 # IPv4 only (fix macOS IPv6 issues)
bb-browser daemon --host 0.0.0.0 # listen on all interfaces (for Tailscale / ZeroTier remote access)