diff --git a/README.md b/README.md index 3fd4160..94d1526 100644 --- a/README.md +++ b/README.md @@ -54,10 +54,18 @@ OpenCLI connects to your browser through a lightweight **Browser Bridge** Chrome ### Browser Bridge Extension Setup -1. Install the **opencli Browser Bridge** extension in Chrome: - - Open `chrome://extensions`, enable **Developer mode** (top-right toggle) - - Click **Load unpacked**, select the `extension/` folder from this repo -2. That's it! The daemon auto-starts when you run any browser command. No tokens, no manual configuration. +You can install the extension via either method: + +**Method 1: Download Pre-built Release (Recommended)** +1. Go to the GitHub [Releases page](https://github.com/jackwener/opencli/releases) and download the latest `opencli-extension.zip` or `opencli-extension.crx`. +2. Open `chrome://extensions` and enable **Developer mode** (top-right toggle). +3. Drag and drop the `.crx` file or the unzipped folder into the extensions page. + +**Method 2: Load Unpacked Source (For Developers)** +1. Open `chrome://extensions` and enable **Developer mode**. +2. Click **Load unpacked** and select the `extension/` directory from this repository. + +That's it! The daemon auto-starts when you run any browser command. No tokens, no manual configuration. > **Tip**: Use `opencli doctor` for ongoing diagnosis: > ```bash diff --git a/README.zh-CN.md b/README.zh-CN.md index 01c9ce2..a1b2322 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -55,10 +55,18 @@ OpenCLI 通过轻量化的 **Browser Bridge** Chrome 扩展 + 微型 daemon 与 ### Browser Bridge 扩展配置 -1. 在 Chrome 中安装 **opencli Browser Bridge** 扩展: - - 打开 `chrome://extensions`,启用右上角的 **开发者模式** - - 点击 **加载已解压的扩展程序**,选择本仓库的 `extension/` 文件夹 -2. 完成!运行任何浏览器命令时 daemon 会自动启动。无需 token,无需手动配置。 +你可以选择以下任一方式安装扩展: + +**方式一:下载构建好的安装包(推荐)** +1. 到 GitHub [Releases 页面](https://github.com/jackwener/opencli/releases) 下载最新的 `opencli-extension.zip` 或 `opencli-extension.crx`。 +2. 打开 Chrome 的 `chrome://extensions`,启用右上角的 **开发者模式**。 +3. 将 `.crx` 拖入浏览器窗口,或将解压后的文件夹拖入即可完成安装。 + +**方式二:加载源码(针对开发者)** +1. 同样在 `chrome://extensions` 开启 **开发者模式**。 +2. 点击 **加载已解压的扩展程序**,选择本仓库代码树中的 `extension/` 文件夹。 + +完成!运行任何 opencli 浏览器命令时,后台微型 daemon 会自动启动与浏览器通信。无需配 API Token,零代码配置。 > **Tip**:后续诊断用 `opencli doctor`: > ```bash