【开源自荐】Tabrelay:让脚本和 AI Agent 直接操作你已经登录好的 Chrome
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- Une demi-journée
- Accessibilité débutants
- 15/100
- Type d'issue
- Documentation
- Clarté
- À clarifier
- Activité
- Active
- Stack technique
- javascript, python
- Domaine
- content
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
大家好,自荐一下我自己做的开源项目: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)。
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 1.9k
- Forks
- 74
- Merge moyen
- 2 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de OpenGithubs/weekly
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
OpenGithubs/weekly#233 ·
-
【开源自荐】Orkas:在一个桌面项目里协调研究和办公任务Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
OpenGithubs/weekly#230 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
OpenGithubs/weekly#157 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
OpenGithubs/weekly#106 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
OpenGithubs/weekly#232 ·
Toutes les issues de OpenGithubs/weekly
Issues similaires
-
Add: KBS TV SDOuvertestreams:add
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Add Free CS Systems Workshops, Starter Scaffolds & Zero-Dependency Verification CLI to CS SeriesOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
提交项目:轻点工具箱,处理报名照片和日常图片的中文网站Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 70/100
1c7/chinese-independent-developer#2036 ·
Les mainteneurs répondent en général sous 1 jour
-
[Sync EN] sodium: fix the return value of the scalarmult and ristretto255 arithmetic functionsOuverteПеревод устарел
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Industrial Center Text TypoOuverteBug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour