Skip to content

BB-Browser

BB-Browser turns your web browser into a structured API. Instead of scraping HTML or reverse-engineering APIs, BB-Browser uses site-specific adapters that interact with websites like a human user — and return clean, structured data.

BB-Browser controls a headed Chrome instance and exposes platform-specific commands through the Pinix Hub:

Agent / CLI
Hub ──► bb-browser-daemon ──► Chrome
│ │
│ site adapters │ real browser
│ ├─ twitter │ ├─ cookies
│ ├─ google │ ├─ JS execution
│ ├─ hackernews │ ├─ DOM interaction
│ └─ ... │ └─ anti-detection
│ │
└── structured data ◄┘

BB-Browser ships with 36 platform adapters and 103 commands:

CategoryPlatforms
SearchGoogle, Bing, DuckDuckGo
SocialTwitter/X, Reddit, Xiaohongshu, Weibo
TechHackerNews, GitHub, Stack Overflow, arXiv
KnowledgeWikipedia, Zhihu, Bilibili
BusinessXueqiu (stocks), 12306 (trains), Amap (maps)
MediaYouTube, Bilibili, Douyin
And more20+ additional platforms

BB-Browser is automatically started by pinix start. Its commands appear in pinix hub list:

Terminal window
# Search Google
pinix invoke google search "pinix ai agent"
# Get HackerNews top stories
pinix invoke hackernews top
# Search Twitter
pinix invoke twitter search "AI agents" --sort recent
# Get stock quotes
pinix invoke xueqiu quote "AAPL"

All commands return structured JSON:

Terminal window
pinix invoke hackernews top --json
{
"items": [
{
"id": "12345",
"title": "Show HN: Pinix — Capability platform for AI Agents",
"url": "https://github.com/epiral/pinix",
"score": 342,
"author": "builder",
"comments": 128,
"time": "2h ago"
}
]
}

Filter output on the command line:

Terminal window
pinix invoke hackernews top --jq '.items[:3].title'

Some platforms require authentication (Twitter, Xiaohongshu, etc.). BB-Browser uses your existing browser cookies:

  1. Open Chrome (the one managed by bb-browser)
  2. Log in to the platform manually
  3. BB-Browser uses those cookies for subsequent commands

Platforms that don’t require login (HackerNews, Wikipedia, Google) work immediately.

BB-Browser has three components:

ComponentPurpose
bb-browserCLI — for direct terminal use
bb-browser-daemonEdge Clip Provider — connects to Hub, manages Chrome
bb-viewerStream viewer — for remote browser viewing (auto-downloaded)

The daemon manages the Chrome lifecycle and routes invocations to the appropriate site adapter.