bb-browser 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -5
- package/README.zh-CN.md +18 -5
- package/dist/cli.js +1139 -306
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,11 +52,6 @@ bb-browser flips this: **instead of forcing websites to provide machine interfac
|
|
|
52
52
|
npm install -g bb-browser
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
### Chrome Extension
|
|
56
|
-
|
|
57
|
-
1. Download from [Releases](https://github.com/epiral/bb-browser/releases/latest)
|
|
58
|
-
2. Unzip → `chrome://extensions/` → Developer Mode → Load unpacked
|
|
59
|
-
|
|
60
55
|
### Use
|
|
61
56
|
|
|
62
57
|
```bash
|
|
@@ -65,6 +60,24 @@ bb-browser site recommend # see which adapters match your browsing habits
|
|
|
65
60
|
bb-browser site zhihu/hot # go
|
|
66
61
|
```
|
|
67
62
|
|
|
63
|
+
### OpenClaw (no extension needed)
|
|
64
|
+
|
|
65
|
+
If you use [OpenClaw](https://openclaw.ai), bb-browser runs directly through OpenClaw's built-in browser — no Chrome extension or daemon required:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
bb-browser site reddit/hot --openclaw
|
|
69
|
+
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Skill on ClawHub: [bb-browser-openclaw](https://clawhub.ai/yan5xu/bb-browser)
|
|
73
|
+
|
|
74
|
+
### Chrome Extension (standalone mode)
|
|
75
|
+
|
|
76
|
+
For use without OpenClaw (Claude Code MCP, standalone CLI):
|
|
77
|
+
|
|
78
|
+
1. Download from [Releases](https://github.com/epiral/bb-browser/releases/latest)
|
|
79
|
+
2. Unzip → `chrome://extensions/` → Developer Mode → Load unpacked
|
|
80
|
+
|
|
68
81
|
### MCP (Claude Code / Cursor)
|
|
69
82
|
|
|
70
83
|
```json
|
package/README.zh-CN.md
CHANGED
|
@@ -52,11 +52,6 @@ bb-browser 翻转了这个逻辑:**不是让网站适配机器,而是让机
|
|
|
52
52
|
npm install -g bb-browser
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
### Chrome 扩展
|
|
56
|
-
|
|
57
|
-
1. 从 [Releases](https://github.com/epiral/bb-browser/releases/latest) 下载 zip
|
|
58
|
-
2. 解压 → `chrome://extensions/` → 开发者模式 → 加载已解压的扩展程序
|
|
59
|
-
|
|
60
55
|
### 使用
|
|
61
56
|
|
|
62
57
|
```bash
|
|
@@ -65,6 +60,24 @@ bb-browser site recommend # 看看哪些和你的浏览习惯匹配
|
|
|
65
60
|
bb-browser site zhihu/hot # 开搞
|
|
66
61
|
```
|
|
67
62
|
|
|
63
|
+
### OpenClaw(无需安装扩展)
|
|
64
|
+
|
|
65
|
+
如果你使用 [OpenClaw](https://openclaw.ai),bb-browser 可以直接通过 OpenClaw 内置浏览器运行,不需要额外安装 Chrome 扩展或 daemon:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
bb-browser site reddit/hot --openclaw
|
|
69
|
+
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
ClawHub Skill: [bb-browser-openclaw](https://clawhub.ai/yan5xu/bb-browser)
|
|
73
|
+
|
|
74
|
+
### Chrome 扩展(独立模式)
|
|
75
|
+
|
|
76
|
+
不使用 OpenClaw 时(Claude Code MCP、独立 CLI)需要安装扩展:
|
|
77
|
+
|
|
78
|
+
1. 从 [Releases](https://github.com/epiral/bb-browser/releases/latest) 下载 zip
|
|
79
|
+
2. 解压 → `chrome://extensions/` → 开发者模式 → 加载已解压的扩展程序
|
|
80
|
+
|
|
68
81
|
### MCP 接入(Claude Code / Cursor)
|
|
69
82
|
|
|
70
83
|
```json
|