Skip to content

Releases: ZhishengZZ/yeyi-translator

雅译 0.7.1

Choose a tag to compare

@ZhishengZZ ZhishengZZ released this 31 Jul 09:27

English

Yeyi 雅译 0.7.1 — the graduation release: select-to-translate, AI page summary, and the new Streaming Follow-Translate leave Labs as official features, and infinite-feed pages like X/Twitter get follow-along translation.

What's new

  • Streaming Follow-Translate. On infinite-feed pages like X/Twitter, new content is translated automatically as you scroll — no re-clicking. It idles down to save quota when scrolling stops, and retries on its own when rate-limited.
  • While active, the floating ball turns into a translucent, pulsing, colorful pixel heart 💗 beating at 60 bpm (human resting heart rate).
  • The floating-ball menu now has a "Streaming Follow-Translate" toggle, so you can switch it on/off right on the page.
  • Built-in site rule for X (x.com): skips the right-rail recommendations and keeps very short tweets translatable.
  • Select-to-translate and AI page summary graduate from Labs to official features (off by default; select-to-translate stays on by default). New "Reading aids" section in settings.
  • Settings reorganized: Streaming Follow-Translate lives under "Translation preferences"; search-box Chinese-to-English and the new-tab enhancement remain in Labs.
  • Stability improvements: the heart keeps pulsing reliably on busy pages, retries stop after a while instead of burning quota forever, and the in-menu toggle now works even with fast clicks.

Install

Unzip yeyi-translator-0.7.1.zipchrome://extensions/ → Developer mode → Load unpacked → pick the unzipped folder. Then set your OpenAI-compatible endpoint, model, and API key in options.


简体中文

0.7.1 划词翻译、AI 网页总结与「心动跟译」从实验室毕业成为正式功能,并为 X/Twitter 等无限滚动页面带来边刷边译体验。

主要更新

  • 新增「心动跟译」:X / 微博等无限滚动页面边刷边译,新内容自动跟随、无需反复点击;停滚自动降速省额度,限速后自行重试不卡死。
  • 开启「心动跟译」后,悬浮球变成一颗透明跳动的彩色像素心💗,心跳节奏按 60bpm 人类静息心率。
  • 悬浮球菜单新增「心动跟译」开关,可在页面内随时开关,无需进设置页。
  • 内置 X(x.com) 站点适配规则:忽略右侧推荐栏,短推文也能正常翻译。
  • 划词翻译、AI 网页总结移出实验室成为正式功能(默认关,划词默认开);设置页新增「阅读辅助」分区。
  • 设置页分区重组:心动跟译归入「翻译偏好」,搜索框中译英与新标签页增强留在实验室。
  • 稳定性优化:页面复杂时悬浮球心跳依旧稳定;翻译持续失败时会自动停止重试,不再白耗额度;菜单按钮快速连点也能正常开关。

下载与安装

  1. 下载并解压 yeyi-translator-0.7.1.zip
  2. 打开 Chrome 的 chrome://extensions
  3. 开启右上角"开发者模式"。
  4. 点击"加载已解压的扩展程序",选择解压后的目录。
  5. 在雅译设置页填写自己的 OpenAI 兼容模型接口、模型名称和 API Key。

雅译 0.7.0

Choose a tag to compare

@ZhishengZZ ZhishengZZ released this 30 Jul 07:57

English

Yeyi 雅译 0.7.0 — daily-reading polish with optional AI page summary and cross-language search.

What's new

  • Popup, options, new-tab, and the summary sidebar now show the current version everywhere.
  • Labs AI page summary with follow-up questions grounded in the current page.
  • Safe, lightweight Markdown rendering for summary answers (bold, lists, inline code).
  • Summary sidebar dismisses by clicking the dimmed page area; clicking/interacting inside the panel is unaffected.
  • Fixed a 400 error on some model services when asking follow-up questions.
  • Glossary kept but empty by default — an empty glossary no longer consumes model context.
  • Fixed a light/dark theme jump in the floating menu after restoring the original text.
  • New-tab enhancement stays optional: type Chinese and get an English search suggestion.
  • Both READMEs updated with 0.7.0 features, usage, and interaction details.

Install

Unzip yeyi-translator-0.7.0.zipchrome://extensions/ → Developer mode → Load unpacked → pick the unzipped folder. Then set your OpenAI-compatible endpoint, model, and API key in options.


雅译 0.7.0

0.7.0 面向日常网页阅读进一步完善翻译体验,并加入可选的 AI 网页总结与跨语言搜索能力。

主要更新

  • 弹窗、设置页、新标签页和总结侧栏统一显示当前版本号。
  • 新增实验室 AI 网页总结助手,支持基于当前页面继续追问。
  • 总结追问支持安全的轻量 Markdown 排版,包括加粗、列表和行内代码。
  • 总结侧栏支持点击左侧网页区域收回,框内点击与输入不受影响。
  • 修复部分模型服务下总结追问报 400 错误的问题。
  • 术语表功能继续保留,但默认留空;空术语表不再占用模型上下文。
  • 修复恢复原文后悬浮菜单深浅色显示跳变。
  • 新标签页增强保持可选,支持中文搜索词生成英文检索建议。
  • 中英文 README 已同步补充 0.7.0 功能说明、使用方式和交互细节。

下载与安装

  1. 下载并解压 yeyi-translator-0.7.0.zip
  2. 打开 Chrome 的 chrome://extensions
  3. 开启右上角"开发者模式"。
  4. 点击"加载已解压的扩展程序",选择解压后的目录。
  5. 在雅译设置页填写自己的 OpenAI 兼容模型接口、模型名称和 API Key。

雅译 Yeyi 0.6.0

Choose a tag to compare

@ZhishengZZ ZhishengZZ released this 10 Jul 16:57

English

Yeyi 雅译 0.6.0 — the coverage-and-usability release. Native JavaScript, Manifest V3, no build step, no dependencies. Bring your own OpenAI-compatible key.

What's new since 0.4.0

  • Translates inside iframes and open Shadow DOM. The single biggest fix for "whole sections never translate" — reader pages, embedded docs, and web-component sites are now covered.
  • Select-to-translate. Highlight any text → a bubble appears → one click shows the translation in your chosen style, ready to copy.
  • Per-site rules. Include / exclude / force-block / force-inline selectors, min-length gates, and injected CSS — with built-in rules (Wikipedia, Shopee) and a custom-JSON box in settings.
  • Drop-cap handling so a large floating first letter no longer splits the opening paragraph.
  • Context refinement, smarter. Only re-refines paragraphs that already have a translation, and starts from what's on screen — less waste, faster.
  • Settings apply instantly (search-assist and bilingual style no longer need a page reload).
  • Faster defaults: concurrency 4, 40s timeout, all provider presets raised to 8000 max tokens.
  • A real glossary — 40 curated terms across AI, dev, web, and business reading.

Install

Unzip yeyi-translator-0.6.0.zipchrome://extensions/ → Developer mode → Load unpacked → pick the unzipped folder. Then set your OpenAI-compatible endpoint, model, and API key in options.

Credits & License

DOM engine, Shadow-DOM traversal, per-site rules, and the selection-translate interaction are ported/adapted from Read Frog (GPL-3.0). Yeyi is licensed under GPL-3.0. See CREDITS.md.


简体中文

雅译 Yeyi 0.6.0 —— 主打「不漏译」和好用。原生 JavaScript,Manifest V3,无构建、无依赖,自带 OpenAI 兼容 Key。

相比 0.4.0 的新内容

  • iframe 和 open Shadow DOM 内也翻译了。 这是「整段/整章不翻译」最大的一刀——小说阅读页、内嵌文档、Web Component 站点现在都能覆盖。
  • 划词即译。 选中任意文字 → 冒出 气泡 → 点一下就地显示译文,按你选的风格来,可一键复制。
  • 站点规则。 include / exclude / 强制块级 / 强制行内选择器、最短长度门槛、注入 CSS——内置维基/Shopee 规则,设置页可填自定义 JSON。
  • 首字下沉处理,大号浮动首字母不再把开头段落割裂。
  • 上下文精翻更聪明。 只重译已有译文的段落,且从当前屏幕开始——更省、更快。
  • 设置即改即生效(搜索助翻、双语样式不再需要刷新页面)。
  • 更快的默认值:并发 4、超时 40 秒、所有服务商预设上调到 8000 最大 token。
  • 一份真正有用的术语表——40 条,覆盖 AI / 开发 / 互联网 / 商业新闻四类常读内容。

安装

解压 yeyi-translator-0.6.0.zipchrome://extensions/ → 开发者模式 → 加载已解压的扩展程序 → 选解压出的文件夹。随后在设置页填 OpenAI 兼容接口、模型和 API Key。

署名与许可

DOM 引擎、Shadow DOM 遍历、站点规则、划词翻译交互均移植/改编自 Read Frog(GPL-3.0)。雅译以 GPL-3.0 开源。详见 CREDITS.md

雅译 Yeyi 0.4.0 (preview)

Pre-release

Choose a tag to compare

@ZhishengZZ ZhishengZZ released this 09 Jul 03:07

English

Yeyi 雅译 0.4.0 (preview) — an open-source AI webpage-translation extension for Chrome (native JS, Manifest V3, no build step, no dependencies).

This is a preview release: usable, but expect rough edges.

Highlights

  • Native Chrome-style UI across popup / options / new tab; the new-tab page recreates the native Google search capsule (voice, Lens), the colored Google logo, and top-sites tiles.
  • A search box that translates — type Chinese, get an English query suggestion (experimental, opt-in).
  • Six translation styles信达雅 (Xin-Da-Ya) signature default, plus precise / natural / technical / business / literary.
  • Text-node clustering engine that fully collects deeply nested div/span content without duplicate blocks.
  • Bilingual by default, on-demand context refinement, and bring-your-own OpenAI-compatible key (the key never leaves chrome.storage.local).

Install

Unzip yeyi-translator-0.4.0-preview.zip → open chrome://extensions/ → enable Developer mode → Load unpacked → select the unzipped folder. Then set your OpenAI-compatible endpoint, model, and API key on the options page.

Credits & License

The DOM translation engine is ported/adapted from Read Frog (GPL-3.0). Yeyi is therefore licensed under GPL-3.0. See CREDITS.md.


简体中文

雅译 Yeyi 0.4.0(预览版) —— 开源的 Chrome AI 网页翻译扩展(原生 JS,Manifest V3,无构建、无依赖)。

这是预览版:可用,但仍有毛边。

亮点

  • 原生 Chrome 风格界面(弹窗 / 设置 / 新标签页统一);新标签页复刻 Google 搜索胶囊(语音、Lens)、彩色 Logo 和常用磁贴。
  • 能翻译的搜索框 —— 输入中文,给出可直接搜索的英文查询词(实验功能,需手动开启)。
  • 六档翻译风格 —— 信达雅 招牌默认,另有 精准忠实 / 自然中文 / 技术文档 / 商务正式 / 文学润色。
  • 文本节点聚类引擎,完整收录深层 div/span 套娃内容,不产生重复译块。
  • 默认双语对照、按需上下文精翻、自带 OpenAI 兼容 Key(密钥只存 chrome.storage.local,不进页面)。

安装

解压 yeyi-translator-0.4.0-preview.zip → 打开 chrome://extensions/ → 开启开发者模式 → 加载已解压的扩展程序 → 选解压出的文件夹。随后在设置页填写 OpenAI 兼容接口、模型和 API Key。

署名与许可

DOM 翻译引擎移植 / 改编自 Read Frog(GPL-3.0),因此雅译整体以 GPL-3.0 开源。详见 CREDITS.md