把链接分享给你的 AI
抖音 / B 站视频 / 图文、公众号文章、小红书、PDF / 视频 —— 一个链接,蒸馏出你需要的一切产物:摘要、Markdown、Wiki、知识库。
安装 Envoy · 下载发行版 · 反馈问题 · English
也可以什么都不写:刷到一条干货视频、一篇笔记,丢个链接给 AI,让它直接当素材和参考。按「时序 + 关键帧 + ASR 转写」读,每一段都定到 [mm:ss],AI 少花 token 就把你要的全部关键内容理解好,而不是先啃标题、推荐流和弹幕。
已验证适配 Claude Code、Codex、DeepSeek Harness。
同一条链接、同一个模型,安装 Envoy 后能读到的链接从 22% 暴涨到 92%。
Envoy 以本地命令行 envoy 和 Claude Code / Codex / DeepSeek Harness 的插件与 skills 交付,安装后即可在本机运行。
60 秒演示:一条真实链接 → 直接拿到 [mm:ss] 字幕片段 → 没读到的范围显式列为待覆盖(读 TED 演讲 0–30 秒)。
录制与复现命令见 docs/demo/README.md。
各站点实际能读到什么(YouTube / B 站 / Vimeo / Dailymotion / Instagram 的真实实测,含网络不通时自动走可信代理)见 站点可读性说明。
三个宿主各一行。安装脚本只要求 curl:uv 和 Python 3.11 它自己装,装好会打印 envoy install: runtime … protocol … browser …。
# Claude Code
curl -fsSL https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.sh | sh -s -- claude-code
# Codex
curl -fsSL https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.sh | sh -s -- codex
# DeepSeek Harness
curl -fsSL https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.sh | sh -s -- dsh
默认是完整档:runtime + Chromium + Whisper base 权重,≈1.0 GB(178 + 683 + 141 MB),装完页面上、字幕里、视频中要的东西都能离线取,第一次读不再等下载。Chromium 占其中 1–2 分钟,权重随后下载;两步都可以重跑补齐,幂等。磁盘吃紧或只在 CI/容器里跑,用 --profile minimal:只装 runtime(≈178 MB,读普通网页、PDF、图片),Chromium 与权重留给首次使用时的报错命令(envoy browser setup、envoy asr install --model base)。介于两者之间是 --profile standard(runtime + Chromium,≈860 MB,不求转写)。体积口径与平台差异见 INSTALL.md。
不确定宿主是哪个:把最后一段换成 auto,脚本会识别已装的 Claude Code / Codex / DSH,都没有就写 MCP 条目(mcp、skill 也可以单独装;all 等同于 auto)。只想先看它要做什么,命令前加 ENVOY_DRY_RUN=1。从镜像或本地目录安装时,把下载根换成 ENVOY_RELEASES_BASE、清单地址换成 ENVOY_MANIFEST_URL(目录按 v<版本>/ 放产物与 SHA256SUMS),默认值不变;整仓换到 fork 时设 ENVOY_REPO(默认 regrevia/Envoy)。Windows PowerShell 用 irm https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.ps1 | iex(默认 auto,指定宿主时下载后 powershell -ExecutionPolicy Bypass -File install.ps1 dsh)。
装完两条自检:
envoy doctor --json # runtime.install.status 应为 pinned;完整档下 browser.ready 与 asr_model_available 也应为 true
envoy browser setup # 最小档或换 Chromium 版本时用(约 683 MB),装完会自动清掉被替换的旧版本
envoy asr install --model base # 最小档补齐 Whisper 权重(约 141 MB);有 whisper.cpp 就只下 GGML 权重,没有才装 torch
envoy browser prune # 回收旧版本浏览器下载(升级几次后缓存会翻倍),--dry-run 只报不删
升级就是重跑同一行;卸载、企业镜像、各宿主插件目录见 INSTALL.md。
关键帧 — 视频里的 PPT、图表、演示画面按时间点抽帧交给 AI 看,不用来回拖进度条。
视频理解 — 优先读公开字幕;没有字幕时对指定时间段跑本地 Whisper,返回带 [mm:ss] 的转写片段。
图文 — 网页、公众号文章、PDF、图片帖,变成干净正文、图片和来源。
知识库 / Wiki — 长视频整段读完,按主题分节,每条结论带时间戳,直接放进 Obsidian、Notion。
对 AI 说:
把这条视频整理成知识库:
https://www.bilibili.com/video/BV...先读前 10 分钟,按主题分节;每条结论后标注
[mm:ss];没覆盖到的部分单列“待补”,不要猜。
材料到手就已经分好段、带定位,所以产出可以直接引用:
## 2. 为什么选择固定轮
- 固定轮把连续动作拆成可复用的阶段,便于逐段调试。[04:18]
- 作者对比了三种方案,并给出取舍条件。[07:02]
- 这一段没有展示实际测试数据;待补。[09:31]
- 取材料 — 打开链接,拿到标题、正文、字幕或转写、PDF 文本、图片。
- 带定位 — 切成片段并附
video_time或来源坐标,给一个 material id。 - 按需续读 —
envoy_search定位关键词,envoy_expand补齐没读的部分,不重拉整页。 - 缺口照实报 — 没字幕、要登录、模态缺失、下载预算不够,标记为未覆盖,不写成结论。
浏览器在后台运行,遇到登录或验证才请你接管。接入方式是 Agent Skill + MCP,Claude Code、Codex、DeepSeek Harness 各有插件(Codex 0.156 起需执行一次 envoy hook install --host codex)。
同一条链接、同一个模型,只差装不装 Envoy:20 个任务包 × 3 轮提问,每臂 60 轮,题目与来源冻结在 benchmarks/fixed-set-v1。
| 发生了什么 | 没装 Envoy | 装了 Envoy |
|---|---|---|
| 进程正常结束并完成读取 | 22%(13/60) | 92%(55/60) |
| 跑到超时也没结论 | 68%(41/60) | 0% |
| 答案至少命中一条参考事实关键词 | 23%(14/60) | 82%(49/60) |
| 参考事实关键词覆盖率 | 9.1%(47/516) | 38.2%(197/516) |
| 第一次拿到证据(中位) | 88 秒 | 48 秒(少 45%) |
| 回答长度(中位) | 3,125 字 | 8,142 字(2.6 倍) |
| 空回答(另一组 60 对) | 31 处 | 0 处 |
123 条真实链接(新闻、公众号、B站、播客、PDF、论坛、代码文档……)跑了一遍,看三件事:
| 看什么 | 结果 |
|---|---|
| 100 条链接里,能拿到可用材料 | 80 条(80.5%) |
| 能连上的 100 条里,能读出正文 | 93 条(92.5%) |
| 打不开的链接要干等多久 | 26 秒(原来 77 秒,少了 67%) |
「可用」= 能直接作为素材引用,或已经整理成带定位的材料。
复算:scripts/acceptance/link_coverage.py。
Claude Code / Codex / DSH 的插件与 skills 在本机运行。需要任务与产物界面时,可用 Docker 启动 FastAPI + Next.js + MySQL Web 界面。
需要 Docker Desktop,仓库根目录:
cp .env.example .env
docker compose up -d --build
前端 http://127.0.0.1:8200,后端健康检查 http://127.0.0.1:8140/api/v1/health 返回 {"status":"ok"}。docker compose ps 里 mysql、redis、backend、frontend 都 healthy 即可用;MySQL 首次启动会自动执行 sql/ 下的建表脚本,上传与导出都写在 envoy_runtime 卷里,默认不需要对象存储。首次构建会拉 MySQL 8.4、Redis,并在后端镜像里装 FFmpeg、Tesseract、Chromium,耗时几分钟。docker compose down 保留数据卷;只有 down -v 会删库和本地文件。端口、密码、模型配置都在 .env,构建加速与排错见 Docker 一键启动。
- 安装、更新与 MCP 配置
- Claude Code 插件
- Codex 插件
- DeepSeek Harness 插件
- 产品与技术状态
- 平台真实验收矩阵
- 链接覆盖基线与复测
- 登录扫码交接
- 版本记录
- 安全与隐私说明
Share a link with your AI
Douyin / Bilibili video / image posts, WeChat articles, Xiaohongshu notes, PDF / video — one link, every artifact you wanted out of it: a summary, Markdown, a wiki, a knowledge base.
Or write nothing at all: when a video or a note is worth keeping, hand the link to the AI and let it work from the material itself as source and reference. It is read as ordered segments with keyframes and ASR transcripts locatable to [mm:ss], so the AI grasps everything that matters on far fewer tokens instead of chewing through the title, the recommendation rail and the danmaku.
Verified on Claude Code, Codex, and DeepSeek Harness.
Same link, same model: after installing Envoy, readable links jump from 22% to 92%.
Envoy ships as the local envoy command plus plugins and skills for Claude Code, Codex, and DeepSeek Harness. Install it once and run the complete link-reading workflow on your machine.
One line per host. The installer only needs curl: it installs uv and Python 3.11 itself and prints envoy install: runtime … protocol … browser … when done.
# Claude Code
curl -fsSL https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.sh | sh -s -- claude-code
# Codex
curl -fsSL https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.sh | sh -s -- codex
# DeepSeek Harness
curl -fsSL https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.sh | sh -s -- dsh
The default is the full profile: runtime + Chromium + the Whisper base weights, about 1.0 GB (178 + 683 + 141 MB), so every capability works offline after install and the first read never waits on a download. Chromium accounts for 1-2 minutes of it, the weights follow; both steps are idempotent and re-running the installer fills in anything missing. On a small disk, or in CI and containers, pass --profile minimal: the runtime alone (about 178 MB - plain pages, PDFs, images), where the first page that needs rendering reports envoy browser setup (a one-time ~683 MB Chromium download) and the first transcript reports envoy asr install --model base (~141 MB of GGML weights when whisper.cpp is present). --profile standard (runtime + Chromium, about 860 MB) sits between them. INSTALL.md has the size accounting and platform differences.
Not sure which host you have: use auto instead — it detects an installed Claude Code / Codex / DSH and falls back to an MCP entry (mcp and skill also install on their own; all is the same as auto). Add ENVOY_DRY_RUN=1 to see what it would do first. To install from a mirror or a local directory, point ENVOY_RELEASES_BASE at the download root and ENVOY_MANIFEST_URL at the manifest (layout: v<version>/ with the artifacts and SHA256SUMS); the defaults are unchanged; to point at a fork set ENVOY_REPO (default regrevia/Envoy). On Windows PowerShell: irm https://raw.githubusercontent.com/regrevia/Envoy/main/integrations/install.ps1 | iex (auto by default; for one host download it and run powershell -ExecutionPolicy Bypass -File install.ps1 dsh).
Two checks after installing:
envoy doctor --json # runtime.install.status should be pinned; the minimal profile starts with browser.ready and asr_model_available false, and both turn true once fetched
envoy browser setup # the minimal install has no Chromium; this fetches it (~683 MB), and repairs or changes versions, pruned stale copies included
envoy asr install --model base # the minimal install has no Whisper weights; this fetches them (~140 MB)
envoy browser prune # reclaim browser downloads left behind by upgrades; --dry-run only reports
Upgrading means running the same line again. Uninstall, mirrors, and each host's plugin directory: INSTALL.md.
Keyframes — pull slides, charts, and demo frames at chosen timestamps and hand them to the AI, no scrubbing.
Video — captions first; when there are none, run local Whisper over the requested range and return transcript segments with [mm:ss].
Text and images — web pages, articles, PDFs, image posts become clean text, images, and their source.
Knowledge base / wiki — read a long video end to end, group it by theme, put a timestamp on every claim, and drop the result into Obsidian or Notion.
Ask your AI:
Turn this video into a knowledge base:
https://www.bilibili.com/video/BV...Read the first 10 minutes, group sections by theme, and add
[mm:ss]after each claim. List anything not covered under "To fill"; do not guess.
The material arrives already segmented and located, so the output can cite directly:
## 2. Why use a fixed wheel
- A fixed wheel splits a continuous action into reusable stages for per-stage debugging. [04:18]
- The author compares three approaches and states the trade-offs. [07:02]
- This section shows no measured data; to fill. [09:31]
- Fetch — open the link and take the title, body, captions or transcript, PDF text, and images.
- Locate — split it into segments carrying
video_timeor source coordinates, and return a material id. - Continue on demand —
envoy_searchfinds a term,envoy_expandfills the unread range; no second full fetch. - Report gaps — no captions, login required, missing modality, exhausted download budget: marked as uncovered rather than written up as a conclusion.
The browser runs headlessly and asks you to take over only for login or verification. Access is an Agent Skill plus MCP server; Claude Code, Codex, and DeepSeek Harness each have a plugin (Codex 0.156+ needs one envoy hook install --host codex).
Same link, same model, the only difference is whether Envoy is installed: 20 task packages × 3 questions per arm (60 turns each) on a frozen package (benchmarks/fixed-set-v1).
| What happens | Without Envoy | With Envoy |
|---|---|---|
| Ends normally and completes the read | 22% (13/60) | 92% (55/60) |
| Times out with no answer | 68% (41/60) | 0% |
| Answer hits at least one reference-fact keyword | 23% (14/60) | 82% (49/60) |
| Share of reference-fact keywords hit | 9.1% (47/516) | 38.2% (197/516) |
| Time to the first piece of evidence (median) | 88 s | 48 s (45% less) |
| Answer length (median) | 3,125 chars | 8,142 chars (2.6×) |
| Empty answers (a separate 60-pair run) | 31 | 0 |
123 real links (news, WeChat posts, Bilibili, podcasts, PDFs, forums, code docs) — three questions:
| Question | Answer |
|---|---|
| Out of 100 links, how many give usable material | 80 (80.5%) |
| Out of the 100 that answered at all, how many yielded body text | 93 (92.5%) |
| How long an unreachable link makes you wait | 26 s (was 77 s, 67% less) |
"Usable" means ready to cite as source material. Rerun with scripts/acceptance/link_coverage.py.
The Claude Code, Codex, and DSH plugins and skills run locally. For a task and artifact workspace, start the FastAPI + Next.js + MySQL web interface with Docker.
With Docker Desktop running, from the repository root:
cp .env.example .env
docker compose up -d --build
The interface is at http://127.0.0.1:8200; http://127.0.0.1:8140/api/v1/health answers {"status":"ok"}. The stack is ready when mysql, redis, backend and frontend all report healthy; MySQL bootstraps the schema from sql/ on first start, and uploads plus exports stay on the envoy_runtime volume, so no object storage is required. The first build pulls MySQL 8.4 and Redis and installs FFmpeg, Tesseract and Chromium into the backend image, so it takes a few minutes. docker compose down keeps the volumes; only down -v drops the database and local files. Ports, passwords and model settings live in .env; build acceleration and troubleshooting are in Docker quickstart.
![60 秒演示:链接 → [mm:ss] 片段 → 待覆盖](/regrevia/Envoy/raw/main/docs/demo/envoy-demo-60s.gif)