douyinWEB/extensions/dylive-helper/README.md
eric f3860cc3ee feat(test1): X发帖支持文字+视频,媒体经S3中转发完删除
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 07:29:44 -05:00

31 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# dylive Helper
TikTok Cookie + X2 Ops(popup **可独立运行**)。
与本站 Web `/x` 的对接(自动配对 / 任务队列)在后台完成,**不改变** X 页签原有操作方式。
## 安装
```bash
cd extensions/dylive-helper
npm install
npm run build
```
Chrome 加载:`extensions/dylive-helper/dist`
## 与 Web /x
1. 登录 https://dylive.nomadro.com 并打开 `/x`(或任意本站页)→ 插件自动配对,无需手填 Token
2. Web `/x` 下发任务 → 插件领取并在 x.com 执行 → 结果回写本站
3. 插件 **X** 页签仍可像原来一样本地点按钮跑任务(独立模式)
## 发帖(文字 + 视频/图)
1. Web `/x` → 互动 → 发帖:填文案并选媒体
2. 媒体先上传到本站 S3(`downloads/x2-media/…`),任务只带 URL
3. 插件打开 compose → 拉取 S3 文件 → 挂载后发帖
4. 任务结束(成功/失败/取消)后 **自动删除 S3 对象**;浏览器本地选择在上传后清空
重新加载扩展目录:`extensions/dylive-helper/dist`(v2.2.0+)