Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

docs: add the 1.1.0 site and README design draft

wquguru645ae24994dd
diff --git a/docs/design/site-1.1.0.html b/docs/design/site-1.1.0.html
new file mode 100644
index 0000000..18cec45
--- /dev/null
+++ b/docs/design/site-1.1.0.html
@@ -0,0 +1,505 @@
+<!doctype html>
+<html lang="zh-CN">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>知了 1.1.0 官网与 README</title>
+<!-- 设计稿:1.1.0 发布后的官网、README、GitHub About。由 claude.ai 设计画布转成本地文件,并按仓库现状修正
+ (标“已改”的地方)。只是稿子,不进 site/ 构建;落地时改 site/*.html、site/i18n/*.json、README*.md。 -->
+<style>
+:root{--ground:#F3F4F6;--page:#F6F7F9;--card:#FFFFFF;--ink:#15171C;--ink2:#3B3F48;--grey:#5A5F6B;--grey2:#6B7080;--line:#ECEEF1;--line2:#E4E6EA;--accent:#E8552B;--accentText:#B23E17;--accentBg:#FDEDE7;--code:#F3F4F6}
+*{box-sizing:border-box}
+body{margin:0;background:var(--ground);color:var(--ink);font:15px/1.5 Inter,"Noto Sans SC",-apple-system,"PingFang SC",system-ui,sans-serif}
+a{color:var(--ink)}a:hover{color:var(--accentText)}
+code{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;font-size:13px}
+
+/* 稿子外框 */
+.toc{position:sticky;top:0;z-index:5;background:var(--ink);color:#fff;display:flex;flex-wrap:wrap;gap:4px 16px;padding:10px 16px;font-size:13px}
+.toc b{margin-right:8px}.toc a{color:#C4C8D0;text-decoration:none}.toc a:hover{color:#fff}
+.board{max-width:1320px;margin:32px auto;padding:0 16px}
+.board>h2{font-size:14px;font-weight:700;color:var(--grey);margin:0 0 8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
+.frame{background:var(--page);border:1px solid var(--line2);border-radius:14px;overflow:hidden}
+.chg{font-size:11px;font-weight:700;color:var(--accentText);background:var(--accentBg);border-radius:4px;padding:1px 6px;white-space:nowrap}
+.todo{font-size:11px;font-weight:700;color:#7A5B00;background:#FFF4CC;border-radius:4px;padding:1px 6px;white-space:nowrap}
+
+/* 站点通用 */
+.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
+header.site{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:18px 24px;max-width:1160px;margin:0 auto}
+.logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:18px}
+.logo i{width:30px;height:30px;border-radius:7px;background:var(--ink);display:inline-flex;align-items:center;justify-content:center}
+.logo i::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--accent)}
+nav.top{display:flex;flex-wrap:wrap;gap:20px;margin-left:auto;align-items:center;font-size:14px}
+nav.top a{text-decoration:none;color:var(--ink2)}nav.top a.on{color:var(--ink);font-weight:600}
+.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:14px;font-weight:700;text-decoration:none;font-size:16px;border:1px solid transparent}
+.btn.sm{min-height:44px;padding:0 18px;border-radius:11px;font-size:14px;font-weight:600}
+.btn.orange{background:var(--accent);color:#fff}.btn.dark{background:var(--ink);color:#fff}.btn.light{background:#fff;border-color:var(--line2);color:var(--ink)}
+.btn small{display:block;font-size:12px;font-weight:500;opacity:.75}
+.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:24px}
+.pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:13px;color:var(--ink2)}
+.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
+.tag{font-size:12px;font-weight:600;color:var(--accentText);background:var(--accentBg);border-radius:999px;padding:2px 9px}
+.tag.grey{color:var(--ink2);background:var(--code)}
+.muted{color:var(--grey);font-size:14px}.muted2{color:var(--grey2);font-size:13px}
+.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
+.cmd{display:block;background:var(--code);border-radius:10px;padding:10px 12px;color:#2A2D35;word-break:break-all}
+.seg{display:flex;flex-wrap:wrap;gap:8px}
+.seg button{min-height:44px;padding:0 18px;border-radius:12px;border:1px solid var(--line2);background:#fff;color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
+.seg button[aria-selected=true],.seg button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:700}
+.seg.round button{border-radius:999px}
+.path{display:flex;flex-wrap:wrap;gap:6px;font-size:13px}
+.path span{background:#fff;border:1px solid var(--line);border-radius:8px;padding:5px 9px}
+.path span:last-child{background:var(--accentBg);border-color:var(--accentBg);color:var(--accentText);font-weight:600}
+.placeholder{border:1px dashed var(--line2);border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--grey2);font-size:14px}
+
+/* 首页 */
+.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;padding:72px 24px 40px}
+.hero h1{margin:0;display:flex;flex-direction:column;gap:14px}
+.hero h1 span:first-child{font-size:18px;font-weight:600;color:var(--grey)}
+.hero h1 span:last-child{font-size:clamp(36px,6vw,60px);line-height:1.12;font-weight:900}
+.plat{display:flex;flex-direction:column;gap:6px;text-decoration:none;padding:20px;border-radius:16px}
+.plat strong{font-size:17px}
+
+/* 手机 */
+.phones{display:flex;flex-wrap:wrap;gap:32px;justify-content:center;padding:32px 16px}
+.phone{width:375px;max-width:100%;background:var(--page);border:1px solid var(--line2);border-radius:28px;padding:20px 16px 28px;display:flex;flex-direction:column;gap:14px}
+.phone h1{font-size:30px;line-height:1.15;font-weight:900;margin:4px 0 0}
+
+/* 下载页表格 */
+table.cmp{width:100%;border-collapse:collapse;min-width:720px}
+.cmp th,.cmp td{padding:12px 14px;border-top:1px solid var(--line);text-align:left;font-size:14px;vertical-align:top}
+.cmp th{font-weight:600;color:var(--ink2);white-space:nowrap}
+.cmp thead th{border-top:0;font-size:13px;color:var(--grey)}
+
+/* 上手 */
+.step{display:flex;flex-wrap:wrap;gap:28px}
+.step>div{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
+.step aside{flex:1 1 340px;min-width:0;background:var(--page);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px}
+.num{width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
+.num.o{background:var(--accent)}
+.step h3{margin:0;font-size:24px;font-weight:800}
+.step ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
+.ov{border:2px solid var(--accent)}
+
+/* 更新日志 */
+.rel{display:flex;flex-direction:column;gap:0}
+.item{display:flex;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
+.kind{flex:none;width:44px;text-align:center;font-size:12px;font-weight:700;border-radius:6px;padding:3px 0;height:fit-content}
+.k-new{color:var(--accentText);background:var(--accentBg)}.k-imp{background:var(--code)}.k-fix{border:1px solid var(--line2);background:#fff;color:var(--ink2)}
+
+/* GitHub 风格 */
+.gh{background:#fff;color:#1f2328;font:14px/1.5 -apple-system,"Segoe UI","Noto Sans SC",sans-serif;padding:32px}
+.gh a{color:#0969da;text-decoration:none}
+.gh h1{font-size:30px;margin:0 0 12px}
+.gh h2.md{font-size:22px;font-weight:600;margin:28px 0 14px;padding-bottom:8px;border-bottom:1px solid #d1d9e0;display:flex;gap:10px;align-items:center}
+.gh h3{font-size:17px;margin:18px 0 6px}
+.gh table{border-collapse:collapse;width:100%;font-size:14px;margin:0 0 14px}
+.gh th,.gh td{border:1px solid #d1d9e0;padding:7px 12px;text-align:left;vertical-align:top}
+.gh th{background:#f6f8fa}
+.gh code{background:#eff1f3;padding:2px 6px;border-radius:6px;font-size:85%}
+.badges{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
+.badges span{font:11px/18px Verdana,sans-serif;color:#fff;background:#555;border-radius:3px;padding:0 6px}
+.badges span b{background:#E8552B;margin-right:-6px;margin-left:6px;padding:0 6px;border-radius:0 3px 3px 0;font-weight:400}
+.topic{display:inline-block;font-size:12px;font-weight:500;color:#0969da;background:#ddf4ff;border-radius:999px;padding:2px 10px;margin:2px}
+.topic.add{color:var(--accentText);background:var(--accentBg)}
+.topic.gone{color:#8c959f;background:#f6f8fa;text-decoration:line-through}
+.del{text-decoration:line-through;color:#8c959f}
+
+/* 备注 */
+.notes{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));padding:24px}
+.note{background:#FFF7E8;border:1px solid #F5DDB0;border-radius:12px;padding:18px;font-size:14px}
+.note h3{margin:0 0 8px;font-size:15px}.note ul{margin:0;padding-left:18px}.note li{margin:4px 0}
+
+@media (max-width:640px){.wrap,header.site{padding-left:16px;padding-right:16px}.gh{padding:20px 16px}.hero{padding:48px 16px 32px}}
+</style>
+</head>
+<body>
+
+<div class="toc"><b>知了 1.1.0 · 官网 / README / GitHub</b>
+<a href="#b-notes">落地备注</a><a href="#b-home">首页</a><a href="#b-phone">首页 · 手机</a><a href="#b-download">/download/</a><a href="#b-start">/start/</a><a href="#b-changelog">/changelog/</a><a href="#b-readme">README</a><a href="#b-about">GitHub About</a>
+</div>
+
+<!-- ============ 落地备注 ============ -->
+<section class="board" id="b-notes">
+<h2>落地备注 <span class="chg">已改</span> 标出的是相对画布原稿按仓库现状改过的地方</h2>
+<div class="frame notes">
+<div class="note"><h3>首页 i18n key(zh / en / ja / ko 四份)</h3><ul>
+<li>pill:去掉“macOS 14.4+ · Apple 芯片”,改成四个平台</li>
+<li>dl_mac → 按访客系统显示主按钮,新增 dl_win / dl_linux / dl_android / dl_other</li>
+<li>home_title / home_desc / og_desc / ld_desc / foot_desc:“Mac 上的…”改成四个平台;“声音不出本机”只说 Mac(AGENTS.md 硬规则)</li>
+<li>foot_meta:→“Mac · Windows · Linux · Android”</li>
+<li>send_head / send_text:只对 iPhone 显示;Android 直接给 APK</li>
+<li>FAQ:“Windows 能用吗”这类问答重写</li></ul></div>
+<div class="note"><h3>下载直链 <span class="chg">已改</span></h3><ul>
+<li>不能拼 <code>releases/latest/download/Cicada-&lt;v&gt;-…</code>:发版只带有改动的平台,只发 Linux 的版本不是 latest,直链会 404。</li>
+<li>scripts/site.py 构建时按平台找“最新一个带这个平台文件的 release”,链到那个 release 的确切文件,文件大小也从 API 读,不手写。</li>
+<li>Windows 直接用 <code>releases/latest/download/Cicada-Setup.exe</code> / <code>Cicada-Setup-arm64.exe</code>:文件名不带版本号。latest 只在带 Mac 包时移动,所以 Windows 也要走上一条的查找,或确保每次 Windows 发版都带 Mac。</li>
+<li>新 release 先是草稿:<code>scripts/deploy-site.sh</code> 要在 <code>scripts/publish-release.sh</code> 之后跑,否则链到看不见的草稿。</li></ul></div>
+<div class="note"><h3>上手与路线图</h3><ul>
+<li>start.html 三步都分平台;s2_badge 在 Windows / Linux / Android 上是“必需”</li>
+<li>Windows、Linux 第 3 步改成主窗口里的“还差几步”清单 <span class="chg">已改</span>(1446b24、e5c14eb)</li>
+<li>Android 一节按“版本 × 品牌”分支,和 App 的 OverlayGuideActivity 同一套判断;网页用 Client Hints(platformVersion、model)预选,猜不出就让人选;Android 手机上默认选中 Android,start_mob_h 只给 iPhone</li>
+<li>路线图 road_later_items:Windows、Android 移进已发布;加“Android 上架应用商店”“iPhone 版”“苹果公证 · Windows 代码签名”</li>
+<li>road_none_items 去掉“iPhone / iPad · 系统不允许”(ios/ 已在做)</li>
+<li>iOS 不进标签、下载卡片和平台表,等它进 release 再加</li></ul></div>
+<div class="note"><h3>GitHub 侧</h3><ul>
+<li>changelog.json:每条加 <code>platform</code>(mac / windows / linux / android,可多个),changelog.html 加筛选;现有 56 条都要补 <span class="todo">待补</span></li>
+<li>README.md 与 README.en.md 同步改</li>
+<li>About:<code>gh repo edit --description … --homepage https://cicada.indaloop.app --add-topic windows,linux,android</code></li>
+<li>Linux / Android 两块等它们真的进 release 再上线</li>
+<li>scripts/changelog.py:<code>feat(ios)</code> 不再落进 Mac 的发版说明 <span class="chg">已改</span></li></ul></div>
+</div>
+</section>
+
+<!-- ============ 首页 ============ -->
+<section class="board" id="b-home">
+<h2>官网首页 · 桌面(Mac 访客)</h2>
+<div class="frame">
+<header class="site"><a class="logo" href="#"><i aria-hidden="true"></i>知了</a>
+<nav class="top"><a href="#b-start">开始使用</a><a class="on" href="#b-download">下载</a><a href="#b-changelog">更新日志</a><a href="#">GitHub</a><a class="btn sm dark" href="#">下载 Mac 版</a></nav></header>
+<div class="hero">
+<span class="pill">免费开源 · Mac · Windows · Linux · Android</span>
+<h1><span>知了,替你听、替你说、替你记</span><span>任何会议、任何直播<br>都没有语言障碍</span></h1>
+<p style="margin:0;font-size:20px;color:var(--ink2)">听得懂,说得出,记得住</p>
+<div style="display:flex;flex-wrap:wrap;justify-content:center;gap:12px">
+<a class="btn orange" href="#"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 4v12"/><path d="M6 11l6 6 6-6"/><path d="M5 20h14"/></svg>下载 Mac 版</a>
+<a class="btn light" href="#b-start">三步开始使用</a></div>
+<p class="muted" style="margin:0">也有 <a href="#"><b>Windows</b></a> · <a href="#"><b>Linux</b></a> · <a href="#"><b>Android</b></a> 版 · <a href="#b-download">全部下载</a></p>
+<p class="muted2" style="margin:0">版本 1.1.0 · <a href="#b-changelog" style="color:inherit">更新内容</a> · <a href="#" style="color:inherit">查看源码</a> · 作者 @wquguru</p>
+</div>
+<div class="wrap" style="padding-bottom:56px">
+<div class="grid" style="grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px">
+<a class="plat card" href="#"><span style="display:flex;justify-content:space-between"><strong>Mac</strong><span class="tag">功能最全</span></span><span class="muted" style="font-size:13px">macOS 14.4+ · Apple 芯片</span><span class="muted2">本机识别,声音不出电脑</span></a>
+<a class="plat card" href="#"><strong>Windows</strong><span class="muted" style="font-size:13px">Windows 10 (2004)+ · x64 / ARM64</span><span class="muted2">一个安装程序,不用管理员 <span class="chg">已改</span></span></a>
+<a class="plat card" href="#"><strong>Linux</strong><span class="muted" style="font-size:13px">Ubuntu 22.04 / 24.04 桌面版</span><span class="muted2">需要 Ling key</span></a>
+<a class="plat card" href="#"><strong>Android</strong><span class="muted" style="font-size:13px">Android 10+</span><span class="muted2">需要 Ling key · 可面对面翻译</span></a>
+</div>
+<div class="placeholder" style="margin-top:28px;height:220px">[原有的产品演示图,位置不变]</div>
+</div>
+</div>
+</section>
+
+<!-- ============ 手机 ============ -->
+<section class="board" id="b-phone">
+<h2>官网首页 · 手机</h2>
+<div class="frame phones">
+<div class="phone"><span class="muted2">Android 访客</span>
+<a class="logo" href="#" style="font-size:16px"><i aria-hidden="true"></i>知了</a>
+<span class="pill" style="align-self:flex-start;font-size:12px">免费开源 · 四个平台</span>
+<span class="muted" style="font-weight:600">知了,替你听、替你说、替你记</span>
+<h1>任何会议、任何直播<br>都没有语言障碍</h1>
+<section class="card" style="padding:18px;display:flex;flex-direction:column;gap:10px"><b style="font-size:18px">这台手机就能用</b>
+<p class="muted" style="margin:0">视频和直播的翻译字幕、面对面互译。需要 Android 10 以上和一个 Ling key。</p>
+<a class="btn orange" href="#">下载 Android 版</a>
+<p class="muted2" style="margin:0">安装时允许“安装未知应用”,第一次开悬浮字幕按提示放开受限设置。应用商店版准备中。</p></section>
+<section class="card" style="padding:18px;display:flex;flex-direction:column;gap:10px"><b style="font-size:18px">开会用电脑更合适</b>
+<p class="muted" style="margin:0">Mac、Windows、Linux 都有,链接发到电脑上下载。</p>
+<a class="btn light" href="#">发到我的电脑</a></section>
+</div>
+<div class="phone"><span class="muted2">iPhone 访客</span>
+<a class="logo" href="#" style="font-size:16px"><i aria-hidden="true"></i>知了</a>
+<span class="pill" style="align-self:flex-start;font-size:12px">免费开源 · 四个平台</span>
+<span class="muted" style="font-weight:600">知了,替你听、替你说、替你记</span>
+<h1>任何会议、任何直播<br>都没有语言障碍</h1>
+<section class="card" style="padding:18px;display:flex;flex-direction:column;gap:10px"><b style="font-size:18px">iPhone 版准备中</b>
+<p class="muted" style="margin:0">现在可以先在电脑或 Android 手机上用。把链接发到电脑上,就能免费下载。</p>
+<a class="btn orange" href="#">发到我的电脑</a></section>
+</div>
+</div>
+</section>
+
+<!-- ============ 下载页 ============ -->
+<section class="board" id="b-download">
+<h2>新页面 /download/</h2>
+<div class="frame">
+<header class="site"><a class="logo" href="#"><i aria-hidden="true"></i>知了</a>
+<nav class="top"><a href="#b-start">开始使用</a><a class="on" href="#">下载</a><a href="#b-changelog">更新日志</a><a href="#">GitHub</a></nav></header>
+<main class="wrap" style="padding-top:32px;padding-bottom:64px;display:flex;flex-direction:column;gap:28px">
+<div><h1 style="margin:0 0 8px;font-size:44px;font-weight:900">下载知了</h1>
+<p class="muted" style="margin:0;font-size:17px">免费开源 · 安装包来自 GitHub Releases</p></div>
+<div class="grid" style="grid-template-columns:repeat(auto-fit,minmax(300px,1fr))">
+<section class="card" style="display:flex;flex-direction:column;gap:14px">
+<div style="display:flex;justify-content:space-between;align-items:center"><h2 style="margin:0;font-size:24px">Mac</h2><span class="tag">你的电脑</span></div>
+<p class="muted" style="margin:0">macOS 14.4 及以上 · Apple 芯片(M 系列)</p>
+<a class="btn orange" href="#">下载 DMG · [大小]</a>
+<a class="muted2" href="#">也有 zip</a>
+<p class="muted2" style="margin:0">本机识别,声音不出电脑;不填 key 也能看字幕。版本 1.1.0</p></section>
+<section class="card" style="display:flex;flex-direction:column;gap:14px">
+<h2 style="margin:0;font-size:24px">Windows <span class="chg">已改</span></h2>
+<p class="muted" style="margin:0">Windows 10(2004)及以上</p>
+<div style="display:grid;grid-template-columns:1fr 1fr;gap:10px">
+<a class="btn dark" href="#" style="flex-direction:column;gap:0">x64<small>大多数电脑</small></a>
+<a class="btn light" href="#" style="flex-direction:column;gap:0">ARM64<small>骁龙笔记本</small></a></div>
+<p class="muted2" style="margin:0">下载 Cicada-Setup.exe,双击就装好,不用管理员;以后在知了里一键升级。需要 Ling key。</p></section>
+<section class="card" style="display:flex;flex-direction:column;gap:14px">
+<h2 style="margin:0;font-size:24px">Linux</h2>
+<p class="muted" style="margin:0">Ubuntu 22.04 / 24.04 桌面版 · x86_64 / arm64</p>
+<a class="btn dark" href="#">下载 tar.gz · [大小]</a>
+<code class="cmd">tar xzf Cicada-&lt;版本&gt;-Linux.tar.gz &amp;&amp; cicada-linux/install.sh</code>
+<p class="muted2" style="margin:0">需要 Ling key。纪要窗会被屏幕共享看到。</p></section>
+<section class="card" style="display:flex;flex-direction:column;gap:14px">
+<h2 style="margin:0;font-size:24px">Android</h2>
+<p class="muted" style="margin:0">Android 10 及以上</p>
+<div style="display:flex;gap:14px;align-items:center">
+<div class="placeholder" role="img" aria-label="扫码下载 APK 的二维码" style="width:92px;height:92px;flex:none;border-radius:10px;font-size:11px">[二维码]</div>
+<a class="btn dark" href="#" style="flex:1">下载 APK · [大小]</a></div>
+<p class="muted2" style="margin:0">需要 Ling key。可看视频字幕、面对面互译。应用商店版准备中。</p></section>
+</div>
+<section class="card"><h2 style="margin:0 0 12px;font-size:22px">各平台有什么 <span class="chg">已改</span></h2>
+<div style="overflow-x:auto"><table class="cmp">
+<thead><tr><th></th><th>Mac</th><th>Windows</th><th>Linux</th><th>Android</th></tr></thead>
+<tbody>
+<tr><th>语音识别</th><td>本机,声音不出电脑</td><td>Ming(云端)</td><td>Ming(云端)</td><td>Ming(云端)</td></tr>
+<tr><th>不填 Ling key</th><td>字幕、翻译、记录都能用</td><td>不能用</td><td>不能用</td><td>不能用</td></tr>
+<tr><th>实时纪要</th><td>✓ 要 key</td><td>✓</td><td>✓</td><td>✓</td></tr>
+<tr><th>同声传译进会议</th><td>✓ 按住右 ⌥</td><td>✓ 按住右 Ctrl</td><td>✓ 知了 麦克风</td><td>— 只面对面外放</td></tr>
+<tr><th>共享屏幕时藏起纪要窗</th><td>✓</td><td>✓</td><td>— 总会被看到</td><td>—</td></tr>
+<tr><th>说话人识别</th><td>✓</td><td>✓ 本机</td><td>✓</td><td>✓</td></tr>
+<tr><th>导入录音或视频</th><td>✓</td><td>—</td><td>—</td><td>✓</td></tr>
+</tbody></table></div></section>
+<p class="muted" style="margin:0;font-size:13px">每个文件的 SHA-256 在 <a href="#">checksums.txt</a>。旧版本在 <a href="#">GitHub Releases</a>。iPhone 版准备中。</p>
+</main>
+</div>
+</section>
+
+<!-- ============ 上手 ============ -->
+<section class="board" id="b-start">
+<h2>/start/ 三步 · 分平台(点标签切换)</h2>
+<div class="frame">
+<main class="wrap" style="padding-top:40px;padding-bottom:64px;display:flex;flex-direction:column;gap:20px">
+<div><h1 style="margin:0 0 8px;font-size:40px;font-weight:900">三步开始使用</h1>
+<p class="muted" style="margin:0;font-size:17px" id="lead"></p></div>
+<div class="seg" role="tablist" aria-label="选择平台" id="ptabs">
+<button type="button" role="tab" data-p="mac" aria-selected="true">Mac</button>
+<button type="button" role="tab" data-p="win" aria-selected="false">Windows</button>
+<button type="button" role="tab" data-p="linux" aria-selected="false">Linux</button>
+<button type="button" role="tab" data-p="android" aria-selected="false">Android</button></div>
+<div id="steps" style="display:flex;flex-direction:column;gap:20px"></div>
+
+<section id="aguide" hidden style="background:var(--ground);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:16px">
+<div><h2 style="margin:0 0 6px;font-size:22px;font-weight:900">按你的手机看</h2>
+<p class="muted" style="margin:0">Android 各家、各版本拦的地方不一样。选一下,只看你会遇到的。</p></div>
+<div style="display:flex;flex-wrap:wrap;gap:14px 28px">
+<div role="group" aria-label="Android 版本" style="display:flex;flex-direction:column;gap:8px"><b style="font-size:13px;color:var(--ink2)">Android 版本</b>
+<div class="seg" id="aver"><button type="button" data-v="old" aria-pressed="false">10 – 14</button><button type="button" data-v="new" aria-pressed="true">15 及以上</button></div>
+<span class="muted2" style="font-size:12px">不确定?设置 › 关于手机 › Android 版本</span></div>
+<div role="group" aria-label="品牌" style="display:flex;flex-direction:column;gap:8px"><b style="font-size:13px;color:var(--ink2)">品牌</b>
+<div class="seg" id="abrand"><button type="button" data-b="xiaomi" aria-pressed="false">小米 · 红米 · POCO</button><button type="button" data-b="other" aria-pressed="true">其他品牌</button></div>
+<span class="muted2" style="font-size:12px">浏览器给出机型时会自动预选</span></div></div>
+<div class="grid" style="grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px">
+<section class="card ov" style="padding:18px;display:flex;flex-direction:column;gap:10px">
+<span style="font-size:12px;font-weight:700;color:var(--accentText)" id="ovCombo"></span><b style="font-size:16px" id="ovTitle"></b>
+<p class="muted" style="margin:0;color:var(--ink2)" id="ovP"></p><ol style="margin:0;padding-left:20px;font-size:14px" id="ovSteps"></ol>
+<p class="muted2" style="margin:0;font-size:12px" id="ovNote"></p>
+<p class="muted2" style="margin:0;font-size:12px">知了的引导会自己判断,带你走对应的这几步。</p></section>
+<section class="card" style="padding:18px"><span class="muted2" style="font-weight:700;font-size:12px">安装时</span><br><b>提示不能安装未知应用</b>
+<p style="margin:8px 0;font-size:14px;color:var(--ink2)">点提示里的“设置”,给下载它的那个 app(浏览器、微信)打开“允许安装”,返回继续。</p><p class="muted2" style="margin:0;font-size:12px">各家叫法和位置不一样,跟着系统提示走。</p></section>
+<section class="card" style="padding:18px"><span class="muted2" style="font-weight:700;font-size:12px">第一次打开</span><br><b>麦克风和通知</b>
+<p style="margin:8px 0;font-size:14px;color:var(--ink2)">麦克风:听手机里的声音和面对面,系统都要求开。</p><p style="margin:0;font-size:14px;color:var(--ink2)" id="notify"></p></section>
+<section class="card" style="padding:18px"><span class="muted2" style="font-weight:700;font-size:12px">每次开始听</span><br><b>系统问要不要录屏</b>
+<p style="margin:8px 0;font-size:14px;color:var(--ink2)">Android 只能借录屏的授权读手机里的声音。点“开始”,知了只取声音,不录画面。</p><p class="muted2" style="margin:0;font-size:12px">每次开始听都会问一次;按钮的叫法各家不同。</p></section>
+<section class="card" style="padding:18px"><span class="muted2" style="font-weight:700;font-size:12px">开会时</span><br><b>微信通话、腾讯会议、Zoom 没字幕</b>
+<p style="margin:8px 0;font-size:14px;color:var(--ink2)">这些 app 的声音系统不让录。开外放,在知了里改选“面对面”,用麦克风听。</p><p class="muted2" style="margin:0;font-size:12px">20 秒没听到声音时,知了也会这样提醒。</p></section>
+</div></section>
+</main>
+</div>
+</section>
+
+<!-- ============ 更新日志 ============ -->
+<section class="board" id="b-changelog">
+<h2>/changelog/ · 1.1.0(按平台筛选;条目示意,正文从 site/changelog.json 来)</h2>
+<div class="frame">
+<main class="wrap" style="padding-top:40px;padding-bottom:56px;display:flex;flex-direction:column;gap:20px;max-width:900px">
+<div><h1 style="margin:0 0 8px;font-size:40px;font-weight:900">更新日志</h1><p class="muted" style="margin:0">每个版本改了什么。也可以用 RSS 订阅。</p></div>
+<div class="seg round" role="group" aria-label="按平台筛选" id="cfilter">
+<button type="button" data-f="all" aria-pressed="true">全部</button><button type="button" data-f="mac" aria-pressed="false">Mac</button><button type="button" data-f="windows" aria-pressed="false">Windows</button><button type="button" data-f="linux" aria-pressed="false">Linux</button><button type="button" data-f="android" aria-pressed="false">Android</button></div>
+<section class="card">
+<div style="display:flex;gap:12px;align-items:baseline;flex-wrap:wrap"><h2 style="margin:0;font-size:28px">1.1.0</h2><span class="muted2">[发布日期]</span><span class="tag">最新</span></div>
+<p style="margin:10px 0 4px;font-size:18px;font-weight:700">Windows、Linux、Android 版来了</p>
+<p class="muted" style="margin:0 0 12px">知了现在能在四个平台上用,会议记录格式通用。Mac 版支持 macOS 14.4 起的系统,可以听会议室,也能导入录音或视频。</p>
+<div class="rel" id="citems"></div>
+<p class="muted2" id="cempty" hidden style="margin:12px 0 0">这个版本这个平台没有改动。</p>
+</section>
+</main>
+</div>
+</section>
+
+<!-- ============ README ============ -->
+<section class="board" id="b-readme">
+<h2>README.md 顶部与安装(README.en.md 同步)</h2>
+<div class="frame gh">
+<h1>知了 · Cicada</h1>
+<p style="margin:0">任何会议、任何直播,没有语言障碍。听得懂,说得出,记得住。<br>Mac、Windows、Linux 和 Android 上的实时纪要、双语文字记录、字幕与同声传译。</p>
+<div class="badges"><span>官网<b>cicada.indaloop.app</b></span><span>下载<b>Mac · Windows · Linux · Android</b></span><span>macOS<b>14.4+ · Apple silicon</b></span><span>Windows<b>10 2004+</b></span><span>Ubuntu<b>22.04+</b></span><span>Android<b>10+</b></span><span>license<b>Apache-2.0</b></span></div>
+<p style="font-size:12px;color:#59636e">原来的 “Apple silicon only” 和 “Swift 5” 两个徽章去掉 <span class="chg">改</span></p>
+<p><a href="#">简体中文</a> · <a href="#">English</a></p>
+<p>无论是用 Zoom、飞书、腾讯会议开会,还是听 X Spaces 和 YouTube 直播,知了都能实时给出双语字幕、边听边写结构化纪要。遇到需要发言的时候,按住说话键开口,对方就能在会里直接听到翻译好的语音。</p>
+<p>在 Mac 上,这一切靠直接读取系统声音并在本机识别完成,<b>声音不出电脑</b>;不用往会里塞机器人,对方完全无感。</p>
+<div class="placeholder" style="height:140px;border-radius:8px">[docs/demo.gif,不变]</div>
+<h2 class="md">平台 <span class="chg">新</span></h2>
+<table><thead><tr><th>平台</th><th>系统要求</th><th>下载</th><th>说明</th></tr></thead><tbody>
+<tr><td>Mac</td><td>macOS 14.4+,Apple 芯片</td><td><a href="#">.dmg</a> · <a href="#">.zip</a></td><td>功能最全;本机识别,不填 key 也能用</td></tr>
+<tr><td>Windows</td><td>Windows 10 2004+,x64 / ARM64</td><td><a href="#">Cicada-Setup.exe</a> · <a href="#">ARM64</a> <span class="chg">已改</span></td><td>需要 Ling key,识别走 Ming · <a href="#">windows/</a></td></tr>
+<tr><td>Linux</td><td>Ubuntu 22.04 / 24.04 桌面版</td><td><a href="#">.tar.gz</a></td><td>需要 Ling key;纪要窗会被屏幕共享看到 · <a href="#">linux/</a></td></tr>
+<tr><td>Android</td><td>Android 10+</td><td><a href="#">.apk</a></td><td>需要 Ling key;字幕与面对面互译 · <a href="#">android/</a></td></tr>
+</tbody></table>
+<p>四个平台共用一个版本号和同一种会议记录格式。下面的功能说明以 Mac 版为准。</p>
+<h2 class="md">主要功能</h2><p style="color:#59636e">[原有各小节不变:实时纪要、实时字幕、线下会议、同声传译、会议记录]</p>
+<h2 class="md">隐私与权限 <span class="chg">改</span></h2>
+<p>声音采集、语言识别、语音识别和会议录音<b>在 Mac 上</b>全部在本机完成。……</p>
+<p>Windows、Linux、Android 版用 Ming 识别:说话的声音分段发给 Ling 的服务,识别和翻译一次完成,所以必须填 Ling key。</p>
+<h2 class="md">系统要求与安装 <span class="chg">改</span></h2>
+<h3>Mac</h3><p>需要 macOS 14.4 或更新版本、Apple 芯片的 Mac。下载 <code>Cicada-&lt;版本&gt;-macOS-AppleSilicon.dmg</code>,打开后把知了拖进应用程序文件夹;第一次打开被拦下时,去系统设置的隐私与安全性里点仍要打开。</p>
+<h3>Windows <span class="chg">已改</span></h3><p>下载 <code>Cicada-Setup.exe</code>(骁龙笔记本选 <code>Cicada-Setup-arm64.exe</code>),双击安装,不用管理员权限;SmartScreen 拦下时点更多信息 › 仍要运行。以后的新版本在知了里提示,点一下就升级。</p>
+<h3>Linux</h3><p><code>tar xzf Cicada-&lt;版本&gt;-Linux.tar.gz &amp;&amp; cicada-linux/install.sh</code></p>
+<h3>Android</h3><p>在手机上打开 <code>Cicada-&lt;版本&gt;-Android.apk</code>,允许安装未知应用。</p>
+<p>每个文件都能用 Releases 页面里的 <code>checksums.txt</code> 核对 SHA-256。</p>
+<h2 class="md">路线图 <span class="chg">改</span></h2><ul>
+<li class="del">Windows 和 Android,共用纪要与会议记录格式</li>
+<li>苹果公证 · Windows 代码签名 <span class="chg">新</span></li>
+<li>Android 上架应用商店;iPhone 版 <span class="chg">改</span>(原来写在“不计划”里:<span class="del">iPhone 和 iPad 因系统限制暂不计划</span>)</li>
+<li style="color:#59636e">[其余条目不变]</li></ul>
+<h2 class="md">开发 <span class="chg">改</span></h2>
+<p>Mac 版从源码构建只需要 Xcode Command Line Tools。各平台的构建方法见 <a href="#">windows/README.md</a>、<a href="#">linux/README.md</a>、<a href="#">android/README.md</a>。</p>
+</div>
+</section>
+
+<!-- ============ About ============ -->
+<section class="board" id="b-about">
+<h2>GitHub About · 改前 / 改后</h2>
+<div class="frame gh" style="display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))">
+<div><h3 style="margin-top:0">现在</h3>
+<p>知了 Cicada · 任意会议与直播的实时字幕、同声传译、AI 会议纪要(macOS)。Live subtitles, interpreting and meeting notes for any call or stream on your Mac.</p>
+<p><a href="#">cicada.indaloop.app</a></p>
+<p><span class="topic">live-captions</span><span class="topic">macos</span><span class="topic">meeting-notes</span><span class="topic">menubar-app</span><span class="topic">simultaneous-interpretation</span><span class="topic">speech-recognition</span><span class="topic">subtitles</span><span class="topic">swift</span><span class="topic">swiftui</span><span class="topic">translation</span></p>
+<p style="color:#59636e">Releases 1 · 知了 Cicada 1.0.0 <b>Latest</b></p></div>
+<div><h3 style="margin-top:0">发布 1.1.0 后</h3>
+<p>知了 Cicada · 任意会议与直播的实时字幕、同声传译、AI 会议纪要,支持 Mac、Windows、Linux、Android。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.</p>
+<p><a href="#">https://cicada.indaloop.app</a></p>
+<p><span class="topic">live-captions</span><span class="topic">meeting-notes</span><span class="topic">simultaneous-interpretation</span><span class="topic">speech-recognition</span><span class="topic">subtitles</span><span class="topic">translation</span><span class="topic">macos</span><span class="topic add">windows</span><span class="topic add">linux</span><span class="topic add">android</span><span class="topic">swift</span><span class="topic">swiftui</span><span class="topic add">kotlin</span><span class="topic add">csharp</span><span class="topic add">python</span><span class="topic">menubar-app</span></p>
+<p style="color:#59636e">Releases 2 · 知了 Cicada 1.1.0 <b>Latest</b></p></div>
+</div>
+</section>
+
+<script>
+// /start/ 的三个平台分支;文案对照各平台 App 里的真实引导(Windows 1446b24、Linux e5c14eb)。
+const keyStep = (req, p, note) => ({ n: 2, o: true, badge: req ? '必需 · 约 1 分钟' : '推荐 · 约 1 分钟', badgeOrange: req,
+ h: '准备一个 Ling API key', p, buttons: [['获取 Ling key ↗', 'orange']],
+ asideH: 'Ling 每月赠送 ¥10 额度', asideP: '约够 10–50 小时会议,取决于说话多少。在开放平台注册,点“创建令牌”,复制 sk- 开头的那串。', asideNote: note });
+const DATA = {
+ mac: [
+ { n: 1, badge: '约 1 分钟', h: '下载并安装', p: '打开下载好的 DMG,把知了拖进“应用程序”。', req: '需要 macOS 14.4 及以上 · Apple 芯片的 Mac',
+ buttons: [['免费下载 Mac 版', 'dark']], asideH: '首次打开提示无法验证?', asideP: '知了还没做 Apple 公证,第一次运行按下面的路径放行一次。',
+ path: ['系统设置', '隐私与安全性', '仍要打开'], asideNote: '代码全部开源,每个版本都附 SHA-256 校验值。' },
+ keyStep(false, '不填也能看字幕和翻译;实时纪要、更准的翻译和自然的同传声音要 key。也可以在设置 › AI 服务里换成 OpenRouter、ZenMux 或 OpenAI。', 'key 只保存在你的 Mac 上。'),
+ { n: 3, badge: '约 3 分钟', h: '打开知了,跟着引导走完', p: '首次打开会有引导,带你做完这几件事:',
+ list: ['允许知了听电脑里的声音', '播放示例会议,看到实时字幕', '接上 Ling key', '要同声传译时,一键装好虚拟麦克风 BlackHole 2ch(只问一次管理员密码)'],
+ asideH: '之后放任何视频或开会,知了都会自动开始。', asideP: 'macOS 14.4–15 上要先在系统设置 › 键盘里打开“听写”,并把要听的语言加进听写语言;引导里会多一行带你去开。' }
+ ],
+ win: [
+ { n: 1, badge: '约 1 分钟', h: '下载并安装', chg: true, p: '双击下载好的 Cicada-Setup.exe,几秒就装好,不用管理员权限。装好后安装包可以删掉。',
+ req: '需要 Windows 10(2004)及以上;大多数电脑选 x64,骁龙笔记本选 ARM64',
+ buttons: [['下载 x64', 'dark'], ['下载 ARM64', 'light']], asideH: '弹出“Windows 已保护你的电脑”?', asideP: '安装程序还没有代码签名,SmartScreen 会拦一次。',
+ path: ['更多信息', '仍要运行'], asideNote: '以后有新版本,知了会提示,点一下就升级。' },
+ keyStep(true, '在 Windows 上,识别、翻译和纪要都靠它,没有 key 用不了。', '只加密存在这台电脑上,只发给 Ling。'),
+ { n: 3, badge: '约 2 分钟', h: '打开知了,照着“还差几步”做完', chg: true, p: '知了打开就是主窗口,上面列着还差哪几步,点“继续设置”接着做:',
+ list: ['接上 Ling:粘贴 key', '听一下电脑里的声音:放一段测试声音,看音量条动起来', '看看效果:一段 9 秒的英文会议,字幕和纪要一句句出来', '同声传译(可选):按住右 Ctrl 说话,对方听到翻译后的声音'],
+ asideH: '音量条没动?', asideP: '先确认电脑没静音。知了听的是电脑放出来的声音,不用麦克风,也不用授权;换成耳机或蓝牙音箱也能接着听。',
+ asideNote: '同声传译的声音经 VB-Cable 虚拟麦克风进会议,到这一步时引导会带你装。' }
+ ],
+ linux: [
+ { n: 1, badge: '约 1 分钟', h: '下载并安装', p: '下载后在终端里解压并运行安装脚本,知了会出现在应用菜单里。',
+ code: 'tar xzf Cicada-<版本>-Linux.tar.gz && cicada-linux/install.sh', req: '需要 Ubuntu 22.04 / 24.04 桌面版',
+ buttons: [['下载 Linux 版', 'dark']], asideH: '不用装驱动', asideP: '同声传译会建一个“知了 麦克风”,打开时设成默认输入,关掉或退出时把原来的麦克风还回去。' },
+ keyStep(true, '在 Linux 上,识别、翻译和纪要都靠它,没有 key 用不了。', 'key 只存在这台电脑上,只有你的账户能读。'),
+ { n: 3, badge: '约 2 分钟', h: '打开知了,照着“还差几步”做完', chg: true, p: '知了打开就是会议记录窗口,上面列着还差哪几步:',
+ list: ['接上 Ling:填入 key', '听一下电脑里的声音:放 3 秒测试声音,看音量条', '看看效果:一段 9 秒的示例会议,字幕和纪要出现在屏幕右上角', '同声传译(可选)'],
+ asideH: '测试声音放了,但知了没听到?', asideP: '看看声音是不是从别的设备出来(比如 HDMI 显示器),或被静音了;引导里可以直接打开声音设置。',
+ asideNote: 'Linux 没法让窗口避开屏幕共享,纪要窗会一直标着“共享屏幕时此窗口可见”。' }
+ ],
+ android: [
+ { n: 1, badge: '约 2 分钟', h: '下载并安装', p: '在手机上下载 APK,打开它安装。', req: '需要 Android 10 及以上 · 应用商店版准备中',
+ buttons: [['下载 APK', 'dark']], asideH: '提示不能安装未知应用?', asideP: '点提示里的“设置”,给下载它的那个 app(浏览器、微信)打开“允许安装”。', asideNote: '各家叫法和位置不一样,跟着系统提示走。' },
+ keyStep(true, '在 Android 上,识别、翻译和纪要都靠它,没有 key 用不了。手机上就能注册。', '加密存在本机,只发给 Ling。'),
+ { n: 3, badge: '约 3 分钟', h: '打开知了,跟着引导走完', p: '引导会依次带你:',
+ list: ['接上 Ling:粘贴 key', '知了能听什么:手机里的声音(视频、直播、网课)或面对面(线下开会、会议 app 开外放)', '需要的权限:麦克风、通知、显示在其他应用上层', '放一段 9 秒的示例会议'],
+ asideH: '“显示在其他应用上层”最容易卡住', asideP: '要看你的 Android 版本和品牌:Android 15 起要先解锁受限设置,小米还多两个开关。下面按你的手机列出来。' }
+ ]
+};
+const esc = (s) => String(s).replace(/[&<>"]/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;' }[c]));
+function renderStart(p) {
+ document.querySelectorAll('#ptabs button').forEach((b) => b.setAttribute('aria-selected', b.dataset.p === p));
+ document.getElementById('lead').textContent = p === 'mac'
+ ? '装好知了,准备一个 Ling key,再跟着 App 里的引导走一遍。大约 5 分钟。'
+ : '装好知了,准备一个 Ling key(这个平台必需),再跟着 App 里的引导走一遍。大约 5 分钟。';
+ document.getElementById('steps').innerHTML = DATA[p].map((s) => `
+<section class="card step"><div>
+<div style="display:flex;align-items:center;gap:10px"><span class="num${s.o ? ' o' : ''}" aria-hidden="true">${s.n}</span><span class="tag${s.badgeOrange ? '' : ' grey'}">${esc(s.badge)}</span>${s.chg ? '<span class="chg">已改</span>' : ''}</div>
+<h3>${esc(s.h)}</h3><p style="margin:0;font-size:16px;line-height:1.6;color:var(--ink2)">${esc(s.p)}</p>
+${s.code ? `<code class="cmd">${esc(s.code)}</code>` : ''}
+${s.list ? `<ol>${s.list.map((li) => `<li>${esc(li)}</li>`).join('')}</ol>` : ''}
+${s.req ? `<p class="muted2" style="margin:0">${esc(s.req)}</p>` : ''}
+${s.buttons ? `<div style="display:flex;flex-wrap:wrap;gap:10px">${s.buttons.map(([t, k]) => `<a class="btn ${k}" href="#">${esc(t)}</a>`).join('')}</div>` : ''}
+</div><aside><b>${esc(s.asideH)}</b><p style="margin:0;font-size:14px;line-height:1.6;color:var(--ink2)">${esc(s.asideP)}</p>
+${s.path ? `<div class="path">${s.path.map((c) => `<span>${esc(c)}</span>`).join('')}</div>` : ''}
+${s.asideNote ? `<p class="muted2" style="margin:0;line-height:1.6">${esc(s.asideNote)}</p>` : ''}</aside></section>`).join('');
+ document.getElementById('aguide').hidden = p !== 'android';
+}
+document.getElementById('ptabs').addEventListener('click', (e) => { const b = e.target.closest('button'); if (b) renderStart(b.dataset.p); });
+renderStart('mac');
+
+// Android 悬浮字幕:和 App 的 OverlayGuideActivity 同一套判断。
+const A = { ver: 'new', brand: 'other' };
+function renderGuide() {
+ document.querySelectorAll('#aver button').forEach((b) => b.setAttribute('aria-pressed', b.dataset.v === A.ver));
+ document.querySelectorAll('#abrand button').forEach((b) => b.setAttribute('aria-pressed', b.dataset.b === A.brand));
+ const unlock = '提示“受限制的设置”时,先在应用详情右上角 ⋮ 解锁';
+ let t, p, steps, note = '';
+ if (A.brand === 'xiaomi') {
+ t = '小米还差两个开关'; p = '小米把悬浮窗放在“其他权限”里,并且要允许后台弹出。';
+ steps = ['在引导里点“打开权限设置”', '“其他权限”里,把“显示悬浮窗”和“后台弹出界面”设为允许'];
+ if (A.ver === 'new') steps.push(unlock);
+ note = '不同系统版本叫法略有不同,找带“悬浮窗”的那一项。';
+ } else if (A.ver === 'new') {
+ t = '系统先拦住了这个开关'; p = '从浏览器或聊天 app 下载安装的应用,Android 15 起要你先解锁一次。';
+ steps = ['点一次那个开关,系统提示已拒绝', '打开应用信息,点右上角 ⋮ ›“允许受限制的设置”,再验证锁屏密码', '回到“显示在其他应用上层”,打开知了'];
+ note = '看不到 ⋮?先去点一次那个开关,被拒绝后菜单才会出现。';
+ } else {
+ t = '打开一个开关就好'; p = '需要打开“显示在其他应用上层”,只用来显示字幕卡片。';
+ steps = ['在引导里点“去打开”', '在列表里找到“知了”,把开关打开'];
+ }
+ document.getElementById('ovCombo').textContent = '悬浮字幕 · ' + (A.brand === 'xiaomi' ? '小米' : '其他品牌') + ' · Android ' + (A.ver === 'new' ? '15+' : '10–14');
+ document.getElementById('ovTitle').textContent = t;
+ document.getElementById('ovP').textContent = p;
+ document.getElementById('ovSteps').innerHTML = steps.map((s) => `<li>${esc(s)}</li>`).join('');
+ document.getElementById('ovNote').textContent = note;
+ document.getElementById('notify').textContent = A.ver === 'new' ? '通知:锁屏也能看到正在听,随时结束。' : '通知:Android 13、14 会单独问一次;10–12 不用问。';
+}
+document.getElementById('aver').addEventListener('click', (e) => { const b = e.target.closest('button'); if (b) { A.ver = b.dataset.v; renderGuide(); } });
+document.getElementById('abrand').addEventListener('click', (e) => { const b = e.target.closest('button'); if (b) { A.brand = b.dataset.b; renderGuide(); } });
+renderGuide();
+
+// 更新日志示意条目;落地时每条在 changelog.json 里带 platform。
+const ITEMS = [
+ ['windows', '新', 'Windows 版:一个 Cicada-Setup.exe 装好,不用管理员,以后一键升级。', '打开就是主窗口,列着还差哪几步。'],
+ ['windows', '新', 'Windows 版:按住右 Ctrl 说话,会里的人听到译文。', '翻译后的声音经 VB-Cable 虚拟麦克风进会议;会议软件里把麦克风选成它。'],
+ ['linux', '新', 'Linux 版首发:Ubuntu 上的翻译字幕、实时纪要和同声传译。', '同声传译走“知了 麦克风”,不用装驱动;需要 Ling key。Linux 没法让纪要窗避开屏幕共享。'],
+ ['android', '新', 'Android 版首发:视频和直播的翻译字幕,面对面互译。', '按住“我说”开口,手机用对方的语言念出来;需要 Ling key。'],
+ ['mac', '新', '支持线下会议:“听哪里”选“会议室”,用麦克风听桌边的人。', '字幕、纪要和会议记录跟线上会议一样。'],
+ ['mac', '新', '支持 macOS 14.4 和 15。', '旧系统上改用系统较早的本机语音识别,要在系统设置 › 键盘里打开“听写”。'],
+ ['mac', '新', '导入录音或视频,转成一场会议记录。', '在本机转写,比实时快得多,转完自动翻译、整理纪要。'],
+ ['mac', '改进', '说话人识别转为正式功能,默认打开。', '开关从“实验功能”移到设置 › 通用。'],
+ ['mac', '修复', '声音从带麦克风的设备放出来时,字幕不再听成麦克风里的声音。', '比如 USB 耳机、AirPods。']
+];
+const NAMES = { mac: 'Mac', windows: 'Windows', linux: 'Linux', android: 'Android' };
+const KIND = { '新': 'k-new', '改进': 'k-imp', '修复': 'k-fix' };
+function renderLog(f) {
+ document.querySelectorAll('#cfilter button').forEach((b) => b.setAttribute('aria-pressed', b.dataset.f === f));
+ const xs = ITEMS.filter((x) => f === 'all' || x[0] === f);
+ document.getElementById('citems').innerHTML = xs.map(([p, k, t, d]) => `<div class="item"><span class="kind ${KIND[k]}">${k}</span><div><span class="muted2" style="font-weight:600">${NAMES[p]}</span><div style="font-weight:600">${esc(t)}</div><div class="muted">${esc(d)}</div></div></div>`).join('');
+ document.getElementById('cempty').hidden = xs.length > 0;
+}
+document.getElementById('cfilter').addEventListener('click', (e) => { const b = e.target.closest('button'); if (b) renderLog(b.dataset.f); });
+renderLog('all');
+</script>
+</body>
+</html>