【开源自荐】Tabrelay:让脚本和 AI Agent 直接操作你已经登录好的 Chrome
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 15/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- javascript, python
- 领域
- content
调研方向
This is a self-promotion post for an external project (Tabrelay), not a task against the OpenGithubs/weekly repository, and the payload names no file, test or entry point in it. Start by reading the repository's contribution or submission guidance and recent weekly entries to see whether external project recommendations are accepted and in what format. Done would mean either an entry drafted in the same style as existing weekly items or a redirect to the project's own tracker; the linked repository and site are the only sources given.
由索引模型根据 Issue 内容生成。
描述
大家好,自荐一下我自己做的开源项目:Tabrelay,让脚本和 AI Agent 直接操作你自己已经登录好的 Chrome。
- 开源仓库:https://github.com/aaronsuns/tabrelay (Python + Chrome 扩展,MIT,免费)
- 介绍页和使用指南:https://tabrelay.zexa.se/?ref=other
起因:我想让 AI Agent 帮我操作网页,但不想再开一个自动化浏览器、重新登录一遍、过一遍两步验证,有些网站还会把自动化浏览器当机器人。所以我写了这个:一个很小的 Chrome 扩展加一个 Python 文件,命令行把任务(打开页面、执行 JS、点击、输入、上传文件、截图)通过 127.0.0.1 发给扩展,扩展用 Chrome DevTools Protocol 在你日常用的 Chrome 里执行。
- 用你真实的浏览器:你的 profile、cookie、登录状态、两步验证都在,不用再登录一次。
- 不抢屏幕:任务在后台窗口里跑,页面会被告知“有焦点”,你在别的软件里打字也不受影响。
- 有围栏:扩展只碰你在扩展设置页里允许的网站,并且只接受带本地密钥的任务;白名单只能在扩展自己的设置页改,Agent 改不了。
- 很小:只用 Python 标准库,没有 npm,不用构建,核心约 1100 行。
- 是命令行,不是 MCP 服务,任何能跑 shell 命令的 Agent(包括 Claude Code)都能用。
和 Playwright / Puppeteer 比:做测试、跑在服务器上请用它们;Tabrelay 取舍的是“在你已经在用的浏览器里干活”,所以没有自动等待定位器,只支持 Chrome/Chromium,页面也能检测到调试器已连接。
tabrelay ping
TAB=$(tabrelay open https://example.com/)
tabrelay eval "$TAB" 'document.title'
tabrelay shot "$TAB" /tmp/example.png
项目才一周,欢迎试用、提意见。开发中大量使用了 AI 编程助手(Claude Code)。
- 主要语言
- 没有语言数据
- 星标
- 1.9k
- 派生
- 74
- 平均合并
- 2 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenGithubs/weekly 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
OpenGithubs/weekly#233 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
OpenGithubs/weekly#230 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
OpenGithubs/weekly#157 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
OpenGithubs/weekly#106 ·
-
难度 5/5 一周以上 新手友好度 20/100
OpenGithubs/weekly#232 ·
查看 OpenGithubs/weekly 的全部 Issue
相似的 Issue
-
Add: KBS TV SD未关闭streams:add
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Add Free CS Systems Workshops, Starter Scaffolds & Zero-Dependency Verification CLI to CS Series未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 70/100
1c7/chinese-independent-developer#2036 ·
维护者通常 1 天内回复
-
Перевод устарел
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Bug
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复