DraftDuet / 开源项目DraftDuet / Projects

LOCAL BROWSER AUTOMATION

Clawser

让正在用的浏览器,接入工作流。Your browser, part of your workflow.

Clawser 把自己的脚本连接到明确接入的浏览器标签页。保留已有会话,通过本机 CDP 中继查看页面、执行交互与排查问题,串起真实的浏览器工作流。Clawser connects your own scripts to browser tabs you explicitly attach. Keep your existing session and use a local CDP relay to inspect pages, automate interactions, and debug real workflows.

本地运行LocalCDPCLIMIT

THE CORE IDEA

你的浏览器,你的脚本,一条本地连接。Your browser. Your scripts. One local bridge.

启动本地客户端Start the local client

在电脑上运行 Clawser,在 127.0.0.1 上开启本地中继,连接自己的脚本与浏览器。Run Clawser on your computer to start a relay on 127.0.0.1 and connect your own scripts with the browser.

明确接入标签页Choose the tab to attach

通过扩展工具栏接入指定标签页,在已有会话中开展操作,也可以随时解除接入。Attach a specific tab using the extension toolbar, work in your existing session, and detach it when you are done.

编排自己的工作流Run your own workflow

通过 Chrome DevTools Protocol 操作标签页,用 CLI 命令和结构化 JSON 输出组合检查、交互和验证。Operate the tab through the Chrome DevTools Protocol, using CLI commands and structured JSON output to combine inspection, interaction, and checks.

FROM THE WORKBENCH

为真实浏览器工作流,准备实用的工具。Practical tools for real browser workflows.

读取页面状态Inspect page state

查看标签页、页面快照、控制台输出、页面错误与网络活动。Inspect tabs, page snapshots, console output, page errors, and network activity.

执行浏览器操作Automate browser actions

点击、输入、选择、拖拽、上传、下载并处理对话框。Click, type, select, drag, upload, download, and handle dialogs.

在真实会话中验证Check a real session

在实际使用的环境和账号状态中检查操作与结果,让脚本与自己的工作方式衔接。Check actions and outcomes in the environment and account session you actually use.

组合脚本与工具Compose scripts and tools

在 Node.js 或 RPA 脚本中使用 CLI 命令与结构化输出,组织适合自己的流程。Use CLI commands and structured output in Node.js or RPA scripts to build the workflow you need.

A LOCAL CONNECTION

本地建立连接,由你决定怎样使用。A local connection. A workflow you control.

扩展在标签页与你运行的 Clawser 客户端之间建立本地连接,正常中继连接使用 127.0.0.1。扩展没有发布者运营的遥测或分析服务。The extension is a local bridge between your tab and the Clawser client you run, using 127.0.0.1 for its normal relay connection. It has no publisher-operated telemetry or analytics service.

本机客户端、脚本和业务网站可能继续处理或传输你授权的内容。本地存储、诊断数据及所需权限,详见隐私政策。Your local client, scripts, and websites may further process or transmit content you authorize. The privacy policy describes local storage, diagnostic data, and permissions.

阅读 Clawser 隐私政策Read the Clawser privacy policy

QUICK INSTALL

安装客户端,再接入你的标签页。Install the client, then attach your tab.

Linux / macOS / WSL2 / Termux

curl -fsSL https://www.agilecho.top/install.sh | bash

Windows PowerShell

iex (irm https://www.agilecho.top/install.ps1)

需要 Node.js 22.12 或更高版本。源码安装和扩展设置步骤详见 GitHub。Requires Node.js 22.12 or later. Full source installation and extension setup are documented on GitHub.

KEEP EXPLORING

项目资料与实践记录Project resources and notes

Clawser 以 MIT 许可开源。查看源码、阅读使用说明、反馈问题,或从浏览器自动化实践笔记开始。Clawser is open source under the MIT license. Read the source and documentation, report an issue, or start with the browser automation notes.