知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
docs: tighten README copy and add a roadmap
wquguru32fe43e934b4
diff --git a/README.md b/README.mdindex 10c9dd6..f6bd369 100644--- a/README.md+++ b/README.md@@ -27,36 +27,31 @@<p align="center"><a href="docs/demo.mp4"><img src="docs/demo.gif" width="800" alt="An English meeting plays while Cicada writes Chinese notes on the left and a bilingual transcript on the right"></a></p>-<p align="center"><a href="docs/demo.mp4">▶ Watch the 52-second film with sound</a></p>+<p align="center"><a href="docs/demo.mp4">▶ Watch the 52-second demo with sound</a></p>-Cicada (知了, formerly Live Subs) is a macOS menu bar app that listens to what your Mac is playing. During a call, a livestream, a video or a voice room, it writes structured meeting notes on the left while a line-by-line bilingual transcript scrolls on the right. No bot joins the call, and the other side installs nothing. You can also switch to a minimal subtitle bar, or hold a key to speak and have the room hear you in their language.+Cicada (知了, formerly Live Subs) is a macOS menu bar app that listens to what your Mac is playing. During a call, livestream, video or voice room, it writes structured meeting notes on the left while a line-by-line bilingual transcript scrolls on the right. No bot joins the call, and the other side installs nothing. You can also switch to a compact subtitle bar, or hold a key to speak and have the room hear you in their language.## Features### Live notes and bilingual transcript-- **Writes notes while the meeting runs.** A floating window updates roughly every 45 seconds with a summary, up to 8 topics with timestamped key points, a fishbone diagram when people discuss causes, conclusions and to-dos, and a glossary of names and terms. When the meeting ends, Cicada writes a complete final version. Notes are written in your language (Chinese when it is among your system languages) or, if you prefer, the meeting's own; the live and final versions always match.-- **Every conclusion links back to what was said.** Each conclusion or to-do shows how many lines of the transcript support it. Click to jump straight to that line.-- **Line-by-line bilingual transcript.** Each sentence appears in the original language with its translation right below, including the sentence still being spoken. Scroll up to read earlier lines without being pulled back; new lines queue up behind a `↓ N new lines` button.-- **Finds misrecognized names.** Cicada unifies names and terms across the notes and remembers misrecognized spellings. Pressing `⌘F` searches both the canonical spelling and the variants.-- **Adapts to your screen.** Widen the window past 760 pt to read notes and transcript side by side. Shrink it to a small card and it tells you what was added while collapsed. It stays out of screenshots and screen sharing, and clicking it does not steal focus from your meeting app.+- **Writes notes while the meeting runs.** A floating window updates roughly every 45 seconds with a summary, up to 8 topics with timestamped key points, conclusions, to-dos, a fishbone diagram when discussing causes, and a glossary of names and terms, then generates a complete final version when the meeting ends. Notes default to your language (or the meeting's own), and every conclusion or to-do clicks straight back to the supporting lines in the transcript.+- **Line-by-line bilingual transcript and name search.** Each sentence appears in the original language with its translation right below. Cicada unifies names and terms across the notes and remembers misrecognized spellings, so `⌘F` searches both the canonical spelling and the variants.### Live subtitles and language detection-- **Detects the language within half a second.** Every installed on-device speech model listens to the same audio at once, and the most confident one wins. Speech recognition runs on your Mac via Apple SpeechAnalyzer.-- **Translates into your language.** Follows your system languages by default (if the speaker is already using your primary language, Cicada translates into your next system language), or lets you pick a target language manually. Settings › Language shows the whole route in one line and lets subtitles show both lines, only the translation, or only the original (nothing is translated). A language chip in the notes window (`EN → 中`, or `EN → ZH` in the English UI) changes the languages for one meeting.-- **A subtitle bar that stays out of the way.** Press `⌃⌥S` to cycle between the notes window, the classic subtitle bar, and hidden. The bar appears only when someone speaks, shrinks to a dot when it is quiet, and turns see-through under your pointer so you can click right through it. Rest the pointer on it for 0.6 seconds to drag or resize, or double-click to reset. Each display remembers its own position and size.+- **On-device language detection.** After someone speaks for about 3 seconds, every installed on-device speech model listens to the same 3 to 6 second audio window at once, and the most confident one wins. Speech recognition runs locally via Apple SpeechAnalyzer.+- **Translates into your language with a compact subtitle bar.** Follows your system languages by default, and subtitles can show both languages, translation only, or original only. Press `⌃⌥S` to cycle between the notes window, the subtitle bar, and hidden; the bar appears only when someone speaks and turns see-through under your pointer so you can click right through it.### Speak back in their language-- **Push-to-talk interpreting.** Hold the right `⌥` key (or a shortcut you choose) and speak. The room hears your words translated through BlackHole 2ch, a virtual microphone you can install and test from inside the app with one click.-- **Natural voices or your own voice.** With a Ling API key, the Ming audio model listens and translates in one step in about 2 seconds, keeping names accurate. The other side can hear natural Ming voices (Emma, George, Charlotte for English; 小雅, 小棠, 小锋, 卓然 for Chinese; plus Japanese, Korean, German, French and Spanish), macOS system voices, or a clone of your own voice from an 8 to 30 second sample. Without a key, Cicada uses macOS system voices.-- **Test before the meeting.** "试一句" in Settings runs one sentence through the full pipeline into the virtual microphone and plays back exactly what the other side receives. It also shows the time each step took and checks that the audio can be heard and understood.+- **Push-to-talk interpreting.** Hold the right `⌥` key (or a custom shortcut) and speak. The room hears your translated voice through BlackHole 2ch, a virtual microphone you can install and test from inside the app with one click.+- **Ming voices and voice cloning.** With a Ling API key, the Ming audio model listens and translates in one step in about 2 seconds. The other side can hear natural Ming voices (English, Chinese, Japanese, Korean, German, French, Spanish), macOS system voices, or a clone of your own voice from an 8 to 30 second sample; without a key, Cicada uses macOS system voices.### Meeting records-- **Saved on your Mac.** Every session gets its own folder with the bilingual transcript, notes and audio recording. Speakers are labeled as you and the other side (individual remote speakers are not separated yet).-- **Export anywhere.** Export to Markdown or Word (both start with the meeting notes) or SRT subtitles. If you recorded a meeting without live notes, click **Generate Notes** afterward to generate them.+- **Saved on your Mac.** Every session gets its own folder with the bilingual transcript, notes and audio recording. Speakers are labeled as you and the other side; "you" covers only what you say while holding the talk key, not what you say into the meeting directly, and individual remote speakers are not separated yet (see [roadmap](#roadmap)).+- **Export anywhere.** Export to Markdown, Word (both start with the meeting notes) or SRT subtitles. If you recorded a meeting without live notes, click **Generate Notes** afterward to create them.<p align="center"><img src="docs/panel.png" width="300" alt="The menu bar panel">@@ -64,17 +59,27 @@ Cicada (知了, formerly Live Subs) is a macOS menu bar app that listens to what<img src="docs/meetings.png" width="520" alt="A meeting record with each line in the original language and in translation"></p>-## Cost & Privacy+## Privacy & Permissions-Audio capture, language detection, speech recognition (Apple SpeechAnalyzer) and meeting recordings all stay on your Mac. The only data that leaves your device is the recognized text sent for translation and meeting notes, plus the short audio clips you speak while holding the talk key when using a Ling API key. Once a day the app also asks GitHub for the latest release (a plain request with nothing about you or your meetings in it).+Audio capture, language detection, speech recognition (Apple SpeechAnalyzer) and meeting recordings all stay on your Mac. The only data that leaves your device is the recognized text sent for translation and meeting notes, plus the short audio clips you speak while holding the talk key when using a Ling API key. Without an API key, subtitles, translation (via Google with Apple on-device fallback), meeting records and push-to-talk interpreting all work. Live meeting notes, one-step voice translation and voice cloning use your own Ling API key (Ant Group's model service, see [below](#ling-api-key)), and an hour of live notes costs roughly ¥0.15 to ¥1 at current Ling pricing.-Subtitles, translation, meeting records and push-to-talk interpreting work out of the box without any API key (translation uses Google and falls back to Apple on-device translation).+Cicada asks for a permission only when you use the feature that needs it; everything else keeps working if you decline.-Live meeting notes, higher-accuracy translation, one-step voice translation and voice cloning use your own Ling API key (Ant Group's model service at `ant-ling.com`, see [below](#ling-api-key)). The key is saved on your Mac in a file only your user account can read and is excluded from backups. Notes only send recognized text, and an hour of live meeting notes costs roughly ¥0.15 to ¥1 at current Ling pricing.+| Permission | What it's for | When it's asked | Without it |+|---|---|---|---|+| System audio recording (Screen & System Audio Recording) | Hearing what your Mac plays, for subtitles. Never records the screen or its own sound | Onboarding step 1, or the first time it listens | No subtitles or notes |+| Microphone | Recording only while you hold the talk key, for speak-back | When you turn on speak-back | No speak-back |+| Input Monitoring | Only to tell whether the right `⌥` was pressed on its own (listen-only; nothing is blocked or logged) | The first time you talk with right `⌥` | Pick a `⌃`/`⌘` combination in Settings instead; it needs no permission |+| Administrator password | Installing the BlackHole 2ch virtual microphone and restarting the system audio service | When you click Install in onboarding or Settings, once | The room can't hear your translation; everything else works |++- **Network and virtual microphone**: Cicada only connects to Google Translate (`translate.googleapis.com`), Ling / Ming when a key is configured (`api.ant-ling.com`), the official BlackHole download, and GitHub once a day for update checks. BlackHole is downloaded from the official Apple-notarized package and verified against a hardcoded SHA-256 checksum before installing.+- **No analytics or servers of our own**: There is no analytics, no tracking, and no backend server. Diagnostics only log timings and counts locally in the meeting folder.+- **Local storage**: Meetings, recordings and notes live in `~/Library/Application Support/LiveSubs`. Your Ling key and voice sample are readable only by your user account, excluded from Time Machine backups, and never written to logs or exports.+- **Private notes window**: Hidden from screen sharing, screen recording and screenshots.## Models-Without a Ling key, everything runs on Apple's on-device models plus Google Translate. With a key, Ling and Ming models take over the parts below, and the app falls back down the chain on any failure.+Without a Ling key, everything runs on Apple's on-device models plus Google Translate; with a key, Ling and Ming models handle the tasks below and fall back automatically if a request fails.| Feature | With a Ling key | Without a key / fallback ||---|---|---|@@ -92,37 +97,43 @@ Without a Ling key, everything runs on Apple's on-device models plus Google Tran1. Sign up or log in on the [Ling open platform](https://chat.ant-ling.com/platform/api).2. Click **创建令牌** (create token) and copy the key that starts with `sk-`.3. In Cicada, open **Settings › AI Service**, paste the key and click **Save and check** (or paste it in the prompt at the top of the notes window). A one-token request confirms it works.-4. Optionally pick the model (`Ling-3.1-flash` by default) on the same page, and the Ming voice for each language under **Settings › Interpreting**.--To remove the key, click **Remove** on the same page.+4. Optionally pick the model (`Ling-3.1-flash` by default) on the same page, and the Ming voice for each language under **Settings › Interpreting**. To remove the key, click **Remove** on the same page.## Requirements & InstallationRequires **macOS 26 or later** on **Apple silicon**.-1. Download **`Cicada-<version>-macOS-AppleSilicon.dmg`** from [Releases](https://github.com/wquguru/cicada/releases/latest) (or visit [cicada.indaloop.app](https://cicada.indaloop.app)). A `.zip` archive and `checksums.txt` (SHA-256) are published alongside the DMG.-2. Open the DMG and drag **Cicada** into **Applications**.-3. Because the app is ad-hoc signed and not notarized, macOS will block the first launch. Open **System Settings › Privacy & Security** and click **Open Anyway**.+Download `Cicada-<version>-macOS-AppleSilicon.dmg` from [Releases](https://github.com/wquguru/cicada/releases/latest) or [the website](https://cicada.indaloop.app), open it and drag **Cicada** into **Applications**. Builds are ad-hoc signed and not notarized yet (see [roadmap](#roadmap)), so if macOS blocks the first launch, open **System Settings › Privacy & Security** and click **Open Anyway**. Each release includes `checksums.txt`; verify with `shasum -a 256 Cicada-*.dmg`.-Updates come from inside the app: when a new version is out, an orange dot appears on the menu bar icon; one click downloads it, checks it against the published SHA-256, replaces the app and reopens it, keeping its permissions. To have Cicada waiting in the menu bar after you log in, turn on **Settings › General › Open at Login**.--On first launch, a three-step guide helps you grant system audio capture permission (and optionally microphone access), play a built-in sample video to see live subtitles right away, and optionally install the BlackHole 2ch virtual microphone with one click (requires your Mac administrator password once) with an automatic sound check.+The first-launch guide walks you through permissions, a sample video and, if you want, the virtual microphone. Later updates show as an orange dot on the menu bar icon; one click installs them and keeps your permissions.## Usage-The app is in English, Chinese, Japanese or Korean, following your macOS language (Settings › General › Language & Region, or per app).+The UI is available in English, Chinese, Japanese and Korean, following your macOS language (or set per app in **System Settings › General › Language & Region**).1. Play any video, livestream or call. The live notes window opens by default, and pressing `⌃⌥S` switches between the notes window, the subtitle bar and hidden.2. Click the Cicada icon in the menu bar to change the spoken language (auto by default), the target translation language, or the display mode.3. To use live notes, paste your [Ling API key](https://chat.ant-ling.com/platform/api) in **Settings › AI Service** or in the notes window prompt.-4. To speak back in another language, turn on **Interpreting** in the menu bar panel, set your meeting app's microphone to **BlackHole 2ch**, and hold the right `⌥` key while speaking (macOS will ask for Input Monitoring permission the first time).+4. To speak back in another language, turn on **Interpreting** in the menu bar panel, set your meeting app's microphone to **BlackHole 2ch**, and hold the right `⌥` key while speaking.5. Open **会议记录** from the menu bar panel to search past transcripts (`⌘F`), generate notes for older sessions, or export to Markdown, Word or SRT.-## Uninstall+## Roadmap-Quit Cicada and drag it from **Applications** to the Trash.+In rough order; tell us what you need in Issues.++- **Recording what you say**, listening to your microphone during meetings with echo cancellation so your own proposals and to-dos are included in the transcript and notes.+- **Older macOS support (targeting macOS 14.4+)**, falling back to earlier system speech recognition and translation APIs on older versions.+- **Developer ID signing and notarization**, removing the "Open Anyway" prompt on first launch and storing the AI key in the macOS Keychain.+- **Telling speakers apart**, separating and renaming individual remote speakers and tagging conclusions and to-dos with who said them.+- **Local notes without an API key** using Apple's on-device model on supported Macs, plus **custom AI providers** for any OpenAI-compatible endpoint.+- **Speaker recognition**, remembering frequent meeting participants by voice on your Mac so you don't have to rename them each call.+- **Windows and Android**, sharing the same notes and meeting-record formats (iPhone / iPad are not planned due to iOS audio capture restrictions).++See [docs/ROADMAP.md](docs/ROADMAP.md) for details and trade-offs on each item.++## Uninstall-To remove all saved transcripts, notes and audio recordings, delete `~/Library/Application Support/LiveSubs`. To clear preferences, run:+Quit Cicada and drag it from **Applications** to the Trash. To remove all saved transcripts, notes and audio recordings, delete `~/Library/Application Support/LiveSubs`. To clear preferences, run:```bashdefaults delete com.wquguru.cicada@@ -130,7 +141,7 @@ defaults delete com.wquguru.cicada## Development-Building from source requires Xcode Command Line Tools (`xcode-select --install`). Cicada has zero third-party dependencies and builds purely against macOS system frameworks.+Building from source requires Xcode Command Line Tools (`xcode-select --install`). Cicada has no third-party dependencies and builds directly against macOS system frameworks.```bashscripts/build.sh # dev build → build/Cicada.app ("Cicada Dev", runs beside the installed app)@@ -138,7 +149,7 @@ open build/Cicada.appscripts/package.sh # release DMG + zip + checksums```-See [AGENTS.md](AGENTS.md) for architecture details, dev vs. release builds, packaging and release workflows. The website source lives in `site/` and is generated by `scripts/site.py`. Release history is in [CHANGELOG.md](CHANGELOG.md) and on the website at [cicada.indaloop.app/changelog](https://cicada.indaloop.app/changelog/).+See [AGENTS.md](AGENTS.md) for architecture details and release workflows. The website source lives in `site/` and is generated by `scripts/site.py`. Release history is in [CHANGELOG.md](CHANGELOG.md) and on the website at [cicada.indaloop.app/changelog](https://cicada.indaloop.app/changelog/).## Licensediff --git a/README.zh-CN.md b/README.zh-CN.mdindex 9b83ff0..1f90fc0 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -29,34 +29,29 @@</p><p align="center"><a href="docs/demo.mp4">▶ 看 52 秒完整演示(有声音)</a></p>-知了(Cicada,原名 Live Subs)是一个常驻 Mac 菜单栏的工具,直接听电脑正在播放的声音。像上面视频里那样,开英文产品会时,左边窗口边听边整理中文纪要,右边同步滚动逐句的英中双语文字记录。它不需要派机器人进会,对方也不用装任何东西。平时看直播、看视频或者进语音房,你还可以切到轻巧的字幕条,或者按住快捷键说话,让对方直接听到翻译后的语音。+知了(Cicada,原名 Live Subs)是一个常驻 Mac 菜单栏的工具,直接听电脑正在播放的声音。开英文产品会时,左边窗口边听边整理中文纪要,右边同步滚动逐句的英中双语文字记录。它不用派机器人进会,对方也不用装任何东西。平时看直播、看视频或者进语音房,你还可以切到轻巧的字幕条,或者按住快捷键说话,让对方直接听到翻译后的语音。## 主要功能### 实时纪要与双语文字记录-- **边开会边写纪要**。悬浮窗口大约每 45 秒更新一次,自动整理出会议总结、最多 8 个议题和对应要点、讨论原因时的鱼骨图、结论和待办,以及人名术语表。要点和结论带有时间,议题带有时间段。会议结束后还会再整理出一份完整版。纪要默认用你的语言(系统语言里有中文就用中文),也可以改用会议原文,实时版和完整版始终一致。-- **结论随时跳回原话**。每条结论和待办都会标出背后有几句原话支持,点一下就能直接跳到文字记录里的那句话。-- **逐句双语对照**。右边文字记录把每句话的原文和译文上下排在一起,正在说的那半句也会实时显示。往上翻看前面的内容时不会被新句子拉回底部,新内容会攒成一个“↓ N 句新内容”按钮。-- **认得准人名和术语**。纪要会统一文中人名和术语的写法,并记下语音识别听错的写法。按 `⌘F` 搜索时,连同识别错的写法也能一起搜出来。-- **窗口形态随手调**。把窗口拉宽到 760 点以上,纪要和文字记录就会并排显示。缩窄后变成一张小卡片,收起期间如果有人说了新内容,卡片上会提示“收起后新增 …”。共享屏幕和截图时别人完全看不到这个窗口,鼠标点它也不会把焦点从会议软件里抢走。+- **边开会边写纪要**。悬浮窗口大约每 45 秒更新一次,自动整理会议总结、最多 8 个议题与要点、结论、待办、鱼骨图和人名术语表,散会后生成完整版。纪要默认用你的语言(也可以改用会议原文),每条结论和待办都能点一下跳回文字记录里的原话。+- **逐句双语与人名搜索**。右边文字记录把每句话的原文和译文上下排在一起。纪要会统一文中人名和术语的写法并记下听错的写法,按 `⌘F` 搜索时能连同识别错的写法一起搜出来。### 实时字幕与语言识别-- **半秒内自动判断语言**。所有已安装的本机语音模型会同时听同一段声音,最有把握的那个胜出。语音识别由 Apple SpeechAnalyzer(苹果本机语音识别框架)在本地完成。-- **自动翻成你的语言**。默认跟随系统语言,如果对方说的正好是你的第一系统语言,就自动翻成你的下一个系统语言,也可以随时手动指定。设置 › 语言 用一行看清整条路线,字幕可以双语、只看译文或只看原文(只看原文时不翻译);纪要窗口的「EN → 中」可以只改这一场。-- **不挡操作的字幕条**。按 `⌃⌥S` 可以在实时纪要窗口、字幕条、不显示三者之间切换。字幕条只有在有人说话时才出现,安静下来就收成一个小圆点。鼠标划过时字幕条会变透明,底下的按钮照样能点。鼠标停在上面 0.6 秒就能拖动或缩放,双击恢复默认大小,每块屏幕各记各的位置和大小。+- **本机自动识别语言**。对方开口约 3 秒,已安装的本机语音模型会同时听同一段 3 到 6 秒的声音,最有把握的胜出。语音识别由 Apple SpeechAnalyzer 在本地完成。+- **翻成你的语言与字幕条**。翻译目标默认跟随系统语言,支持双语、只看译文或只看原文。按 `⌃⌥S` 可以在实时纪要窗口、字幕条、不显示之间切换,字幕条只在有人说话时出现,鼠标划过时变透明,不挡底下按钮。### 同声传译(说话也能翻译)-- **按住快捷键说话**。按住键盘右边的 `⌥` 键开口(可以在设置里改成别的组合键),对方听到的就是翻译后的语音。声音通过 BlackHole 2ch(虚拟音频驱动)传给会议软件,在知了里点一下就能从官方下载安装并自动试音。-- **自然人声与声音克隆**。填了 Ling(蚂蚁集团的大模型服务)的 API key 后,会由 Ming 语音模型一步听懂并翻译你说的话,大约 2 秒出声,人名翻译得更准。对方听到的声音可以选 Ming 的自然人声(英文有 Emma、George、Charlotte,中文有小雅、小棠、小锋、卓然,另外还有日、韩、德、法、西语)、Mac 自带语音,或者录一段 8 到 30 秒自己的声音做克隆。不填 key 时则使用 Mac 自带语音。-- **会前试一句**。“设置”里的“试一句”会把一句话走完整个流程送进虚拟麦克风,再把对方收到的原样声音放给你听。同时显示每一步的耗时,自动检查对方听不听得到、听不听得懂。+- **按住快捷键说话**。按住键盘右边的 `⌥` 键开口(可改组合键),对方听到的就是翻译后的语音。声音通过虚拟音频驱动 BlackHole 2ch 传给会议软件,在知了里点一下就能从官方下载安装并自动试音。+- **Ming 人声与声音克隆**。填了 Ling 的 API key 后,由 Ming 语音模型一步听懂并翻译你说的话,大约 2 秒出声。对方听到的声音可以选 Ming 自然人声(英、中、日、韩、德、法、西语)、Mac 自带语音,或用 8 到 30 秒录音克隆自己的声音,不填 key 时使用 Mac 自带语音。### 会议记录-- **完整保存在本机**。每场会议单独建一个文件夹,存下双语文字记录、纪要和原始录音。说话人目前区分“对方”和“你”,还不能细分对方是哪几位。-- **多格式导出**。支持导出成 Markdown、Word(这两种格式开头就是整理好的纪要)以及 SRT 字幕文件。如果开会时没开实时纪要,会后随时可以点“生成纪要”补一份。+- **完整保存在本机**。每场会议单独建一个文件夹,存下双语文字记录、纪要和原始录音。说话人目前区分“对方”和“你”,其中“你”只包括按住说话键说的话,在会上直接开口的部分还录不到,对方也还不能细分(见[路线图](#路线图))。+- **多格式导出**。支持导出成 Markdown、Word(开头就是整理好的纪要)以及 SRT 字幕文件。如果开会时没开实时纪要,会后随时可以点“生成纪要”补一份。<p align="center"><img src="docs/panel.png" width="300" alt="菜单栏面板">@@ -64,17 +59,27 @@<img src="docs/meetings.png" width="520" alt="会议记录:每句话都有原文和译文"></p>-## 费用与隐私+## 隐私与权限-声音采集、语言识别、语音识别(Apple SpeechAnalyzer)和会议录音全部在本机完成,录音文件只存在你自己的硬盘里。会离开电脑的数据只有识别出来的文字(发去做翻译和生成纪要),以及填了 Ling API key 并按住说话键用同声传译时,你按住按键说的那几句语音。另外,知了每天会向 GitHub 查一次最新版本,请求里不带任何关于你或会议的内容。+声音采集、语言识别、语音识别(Apple SpeechAnalyzer)和会议录音全部在本机完成。会离开电脑的只有识别出来的文字(发去做翻译和生成纪要),以及填了 Ling API key 并按住说话键用同声传译时你说的那几句语音。不填 API key 时,实时字幕、翻译(走 Google 或退回 Apple 本机翻译)、会议记录和同声传译都能正常用。实时纪要、一步语音翻译和声音克隆需要你自己的 Ling(蚂蚁集团的大模型服务)API key(配置方法见[下文](#配置-ling-api-key)),开一小时会大约花 0.15 到 1 元人民币。-不填 API key 的情况下,实时字幕、翻译、会议记录和同声传译都能正常用,此时翻译默认走 Google,连不上时退回 Apple 本机翻译。+知了只在用到某项功能时才请求对应的权限,拒绝后其他功能照常可用。-实时纪要、更准确的翻译、一步语音翻译和声音克隆需要用到你自己的 Ling API key(蚂蚁集团的大模型服务,官网 `ant-ling.com`,配置方法见[下文](#配置-ling-api-key))。这个 key 只存在本机一个只有当前系统账户能读的文件里,不会进入备份。生成纪要只发送识别出的文字,按目前的价格,开一小时会大约花 0.15 到 1 元人民币。+| 权限 | 用来做什么 | 什么时候问 | 不给的话 |+|---|---|---|---|+| 录制系统声音(屏幕与系统录音) | 听 Mac 正在播放的声音来出字幕,不录屏幕,也不听知了自己的声音 | 新手引导第一步,或第一次开始听 | 字幕和纪要都用不了 |+| 麦克风 | 只在你按住说话键时录音,用来做同声传译 | 打开同声传译时 | 只是不能说话翻译 |+| 输入监控 | 只用来判断右 `⌥` 是否被单独按下(只监听、不拦截、不记录别的按键) | 第一次用右 `⌥` 说话时 | 在设置里改成 `⌃`/`⌘` 组合键,就不需要这个权限 |+| 管理员密码 | 安装虚拟麦克风 BlackHole 2ch,并重启系统音频服务 | 在引导或设置里点“安装”时,只问一次 | 不能让对方听到翻译,其余照常 |++- **联网与虚拟麦克风**。只有翻译(`translate.googleapis.com`)、填了 key 后的 Ling / Ming(`api.ant-ling.com`)、下载 BlackHole 驱动和每天去 GitHub 检查一次新版本会联网。BlackHole 从官方下载已经过苹果公证的安装包,安装前会核对代码里写死的 SHA-256。+- **没有统计和自建服务器**。应用没有统计、没有埋点,也没有我们自己的服务器,“诊断”功能只把耗时和次数记在本机会议文件夹里。+- **本机数据位置**。会议记录、录音和纪要存在 `~/Library/Application Support/LiveSubs`。Ling key 和你录的声音样本只对当前系统账户可读,不进 Time Machine 备份,也不写进日志和导出文件。+- **共享屏幕看不到纪要窗口**。屏幕共享、录屏和截图都拍不到它。## 用到的模型-不填 Ling key 时,全部由 Apple 本机模型加 Google 翻译完成。填了 key 后,下表中的部分改由 Ling 和 Ming 模型负责,任何一步失败都会自动退回下一级。+不填 Ling key 时全部由 Apple 本机模型加 Google 翻译完成,填了 key 后由 Ling 和 Ming 模型负责并支持失败自动退回。| 功能 | 填了 Ling key | 不填 key / 退回 ||---|---|---|@@ -91,37 +96,43 @@1. 打开 [Ling 开放平台](https://chat.ant-ling.com/platform/api),注册或登录。2. 点“创建令牌”,复制以 `sk-` 开头的那串 key。3. 在知了里打开“设置 › AI 服务”,粘贴后点“保存并检查”(也可以直接粘贴到纪要窗口顶部的提示框里)。知了会发一个只用一个 token 的请求确认 key 可用。-4. 同一页面可以选模型(默认 `Ling-3.1-flash`),每种语言用哪个 Ming 声音在“设置 › 同声传译”里选。--想移除 key,在同一页面点“移除”即可。+4. 同一页面可以选模型(默认 `Ling-3.1-flash`),每种语言用哪个 Ming 声音在“设置 › 同声传译”里选。想移除 key,在同一页面点“移除”即可。## 系统要求与安装-需要搭载 Apple 芯片的 Mac,系统版本 macOS 26 或更新版本。+需要 macOS 26 或更新版本、Apple 芯片的 Mac。-1. 去 [Releases 页面](https://github.com/wquguru/cicada/releases/latest) 或 [知了官网 cicada.indaloop.app](https://cicada.indaloop.app) 下载 `Cicada-<版本>-macOS-AppleSilicon.dmg`。下载页旁边同时提供 `.zip` 压缩包和 `checksums.txt`(SHA-256 校验值)。-2. 打开 DMG,把知了拖进“应用程序”文件夹。-3. 因为应用采用本地签名(ad-hoc),没有走苹果公证,第一次打开会被系统拦下。请打开系统的“系统设置 › 隐私与安全性”,滑到底部点“仍要打开”。+从 [Releases 页面](https://github.com/wquguru/cicada/releases/latest) 或 [官网](https://cicada.indaloop.app) 下载 `Cicada-<版本>-macOS-AppleSilicon.dmg`,打开后把知了拖进“应用程序”。应用目前是本地签名,还没有苹果公证(见[路线图](#路线图)),第一次打开被拦下时,去“系统设置 › 隐私与安全性”点“仍要打开”。下载页同时提供 `checksums.txt`,可以用 `shasum -a 256 Cicada-*.dmg` 核对。-以后的新版本在应用里就能更新:有新版本时菜单栏图标上会出现一个橙点,点一下即可下载、按 SHA-256 校验、替换并重新打开,权限不丢。想开机后让知了在菜单栏待命,打开“设置 › 通用 › 登录时打开”。--首次打开时有简单的三步引导,先开启“听电脑里的声音”权限(麦克风权限可选),接着播放内置示例视频马上看到实时字幕跳出来,最后如果想让对方听到翻译,点一下就能安装虚拟麦克风(需要输一次电脑的管理员密码)并自动试音。+打开后跟着新手引导开启权限、看示例视频、按需安装虚拟麦克风。之后有新版本时菜单栏图标会出现橙点,点一下就能更新,权限不丢。## 使用方法界面有中文、英文、日文和韩文,跟随 macOS 的系统语言(也可以在“系统设置 › 通用 › 语言与地区”里单独给知了指定)。-1. 放任何有声音的视频、直播或会议,默认会弹出实时纪要窗口。随时按 `⌃⌥S` 可以在实时纪要窗口、字幕条和不显示之间切换(快捷键可在设置里改)。-2. 点菜单栏上的知了图标,可以调整听到的语言(默认自动识别)、翻译成的语言以及显示方式。-3. 想用实时纪要的话,去 [Ling 开放平台](https://chat.ant-ling.com/platform/api) 申请一个 API key,填进“设置 › AI 服务”或纪要窗口的提示框里。-4. 想用同声传译跟对方说话,在菜单栏面板里打开同声传译,去会议软件里把麦克风设备选成 BlackHole 2ch,然后按住右边的 `⌥` 键开口(第一次按会提示开启系统的“输入监控”权限)。-5. 点面板里的“会议记录”可以翻看以前的纪要和双语文字记录,支持 `⌘F` 搜索、补生成纪要,或者导出成 Markdown、Word 和 SRT 字幕。+1. 放任何有声音的视频、直播或会议,默认会弹出实时纪要窗口。随时按 `⌃⌥S` 可以在实时纪要窗口、字幕条和不显示之间切换。+2. 点菜单栏上的知了图标,调整听到的语言(默认自动识别)、翻译成的语言以及显示方式。+3. 想用实时纪要,去 [Ling 开放平台](https://chat.ant-ling.com/platform/api) 申请一个 API key,填进“设置 › AI 服务”或纪要窗口的提示框里。+4. 想用同声传译跟对方说话,在菜单栏面板里打开同声传译,把会议软件的麦克风选成 BlackHole 2ch,然后按住右边的 `⌥` 键开口。+5. 点面板里的“会议记录”翻看以前的纪要和双语文字记录,支持 `⌘F` 搜索、补生成纪要,或者导出成 Markdown、Word 和 SRT 字幕。-## 卸载+## 路线图-退出知了,去“应用程序”里把它拖进废纸篓即可。+按先后排,想要哪一项欢迎在 Issues 里说。++- **记录我的发言**,开会时持续听麦克风并做回声消除,把你直接开口说的话也记进文字记录和纪要。+- **支持更早的 macOS(14.4 起)**,在旧系统上改用较早的系统语音识别与翻译接口。+- **正式签名与公证**,首次打开不再需要点“仍要打开”,AI key 也能放回系统钥匙串。+- **区分说话人**,把对方里的不同人分开并支持改名,结论和待办标上是谁说的。+- **不用 key 也有纪要**,在支持的 Mac 上用 Apple 本机模型整理纪要,以及**自选 AI 服务**接入其他兼容 OpenAI 接口的服务。+- **声纹识别**,在本机记住常一起开会的人的声音,下次自动认出。+- **Windows 和 Android**,共用纪要与会议记录格式(iPhone / iPad 因系统限制暂不计划)。++每项的细节和取舍见 [docs/ROADMAP.zh-CN.md](docs/ROADMAP.zh-CN.md)。++## 卸载-平时存下的会议记录和录音都在 `~/Library/Application Support/LiveSubs` 文件夹里,不需要的话可以手动删掉。如果想彻底清除软件设置,可以在终端运行下面这行命令。+退出知了,去“应用程序”里把它拖进废纸篓即可。会议记录和录音都在 `~/Library/Application Support/LiveSubs` 文件夹里,不需要的话可以手动删掉。想清除软件设置可以运行:```bashdefaults delete com.wquguru.cicada@@ -129,7 +140,7 @@ defaults delete com.wquguru.cicada## 开发-从源码构建只需要安装 Xcode Command Line Tools(`xcode-select --install`)。项目没有任何第三方依赖,只调用 macOS 系统原生框架。+从源码构建只需要安装 Xcode Command Line Tools(`xcode-select --install`),项目没有任何第三方依赖。```bashscripts/build.sh # 编译开发版 → build/Cicada.app(名为“Cicada Dev”,可与正式版同时运行)@@ -137,7 +148,7 @@ open build/Cicada.appscripts/package.sh # 打包正式版 DMG、zip 和 SHA-256 校验值```-代码架构等说明写在 [AGENTS.md](AGENTS.md) 里。官网源码放在 `site/` 目录,由 `scripts/site.py` 生成。历次更新记录可以看仓库里的 [CHANGELOG.md](CHANGELOG.md),或者看官网的 [更新日志页](https://cicada.indaloop.app/changelog/)。+代码架构等说明写在 [AGENTS.md](AGENTS.md) 里。官网源码放在 `site/` 目录,由 `scripts/site.py` 生成。历次更新记录见 [CHANGELOG.md](CHANGELOG.md) 或官网的 [更新日志页](https://cicada.indaloop.app/changelog/)。## 开源协议diff --git a/docs/ROADMAP.md b/docs/ROADMAP.mdnew file mode 100644index 0000000..1df557e--- /dev/null+++ b/docs/ROADMAP.md@@ -0,0 +1,21 @@+# Cicada roadmap++English · [简体中文](ROADMAP.zh-CN.md)++In rough order, and subject to change. Tell us what you need in Issues.++**Next (Mac)**+- **Recording what you say.** Cicada only hears what your Mac plays, so what you say into the meeting isn't captured; only the lines you speak while holding the talk key are recorded as "you". A switch will let it listen to your microphone throughout the meeting, so your proposals and the to-dos you take on make it into the transcript and notes. Without headphones, echo cancellation keeps the other side's voice from being recorded twice. While it's on, the microphone indicator in the menu bar stays lit.+- **Older macOS support (targeting macOS 14.4+).** Today Cicada requires macOS 26 because `SpeechAnalyzer` and offline translation are new in 26, even though system audio capture works from 14.2. On older versions, Cicada will fall back to the earlier on-device speech recognizer (fewer languages and lower accuracy). Offline translation works on macOS 15+, while macOS 14 will use online translation only.+- **Developer ID signing and notarization.** Removes the "Open Anyway" prompt on first launch and stores the AI key in the macOS Keychain.+- **Telling speakers apart.** Today lines are labeled only as "them" or "you". Next, Cicada will separate individual remote speakers (Speaker 1, Speaker 2…, renamable) and tag conclusions and to-dos with who said them.+- **Local notes without an API key.** Use Apple's on-device model to generate meeting notes on supported Macs, keeping all audio and text local.+- **Custom AI providers.** Support any OpenAI-compatible API endpoint besides Ling.++**Later**+- **Speaker recognition.** Remember frequent meeting participants by voice so you don't have to rename speakers every call. Because voiceprints are biometric data, they stay on your Mac, require opt-in, and can be deleted anytime.+- **Windows.** Per-process audio capture is available on Windows 10 2004+, so the recognition, translation and notes pipeline carries over with a Windows virtual audio driver. This will be a separate codebase sharing the same notes and meeting-record formats.+- **Android.** Can listen to videos and livestreams (capturing audio from other apps works on Android 10+), but Android blocks capturing phone and meeting call audio, and translated speech cannot be injected into calls. We plan to start with an in-person microphone mode and a viewer for meeting records.+- **iPhone / iPad.** iOS does not allow capturing audio from other apps; not planned.++Back to the [README](../README.md).diff --git a/docs/ROADMAP.zh-CN.md b/docs/ROADMAP.zh-CN.mdnew file mode 100644index 0000000..a825186--- /dev/null+++ b/docs/ROADMAP.zh-CN.md@@ -0,0 +1,21 @@+# 知了路线图++[English](ROADMAP.md) · 简体中文++按先后排,随时会调整。想要哪一项,欢迎在 Issues 里说。++**接下来(Mac)**+- **记录我的发言**。现在知了只听电脑播放出来的声音,你在会上直接开口说的话录不到,只有按住说话键说的几句会记成“你”。之后会加一个开关,打开后开会时持续听麦克风,把你说的话也记进文字记录和纪要,你提的方案和答应的待办就不会漏掉。不戴耳机时会用回声消除,避免把扬声器里对方的声音再记一遍。开着时菜单栏的麦克风指示灯会一直亮。+- **支持更早的 macOS(目标 macOS 14.4 起)**。现在要求 macOS 26,是因为本机语音识别 `SpeechAnalyzer` 和离线翻译只在 26 上有,而系统声音采集从 14.2 起就支持了。旧系统上会换成较早的系统语音识别(准确率和支持的语言少一些),离线翻译在 15 起可用,14 上只用在线翻译。+- **正式签名与公证**。首次打开不再需要去“隐私与安全性”里点“仍要打开”,AI key 也能放回系统钥匙串。+- **区分说话人**。现在只分“对方”和“你”,之后会把对方里的不同人分开(说话人 1、说话人 2……,可以改成名字),纪要里的结论和待办也会标上是谁说的。+- **不用 key 也有纪要**。在支持的 Mac 上用 Apple 的本机模型整理纪要,声音和文字都不出电脑。+- **自选 AI 服务**。除了 Ling,也能填其他兼容 OpenAI 接口的服务。++**更远**+- **声纹识别**。记住常一起开会的人的声音,下次开会自动认出是谁,不用每场重新改名。声纹属于敏感生物特征,只保存在本机,由你手动开启,随时可以删掉。+- **Windows 版**。Windows 10 2004 起就支持按进程采集声音,识别、翻译和纪要的流程都能照搬,虚拟麦克风换成 Windows 上的同类驱动即可。这会是一份新的代码,共用纪要格式和会议记录格式。+- **Android 版**。能听视频和直播(Android 10 起可以采集其他 app 的声音),但系统不允许采集通话和会议 app 的声音,同声传译也送不进通话。会先考虑做成“面对面”模式(用麦克风听现场)和会议记录的查看端。+- **iPhone / iPad**。系统不允许采集其他 app 的声音,暂不计划。++回到 [README](../README.zh-CN.md)。