知了 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
AGENTS.md (Android)
The Android port: listening, plus 我说 in 面对面 (hold, speak, the phone reads the translation aloud; no virtual mic, so never into another app's call). The root AGENTS.md applies too (Ling key, LingClient, no third-party dependencies, the Mac app as the reference, one VERSION). Commands, layout and how to verify are in README.md; the plan is docs/android-plan.md.
- Kotlin and the Android framework only: no AndroidX, Compose or other libraries; UI in code, no XML layouts.
coreis plain JVM and must build and test on the Mac. - 说话人识别 runs Linux's
native/voiceprint.c(the Mac's model) through the NDK (app/src/main/jni): never copy or fork that C, and keep thresholds, labels and Ling's name prompt the Mac's. - Keys:
AIKeyincore/.../Ling.kt, one Keystore-sealed file per AI service in the app's private folder (ling-api-key,ai-key-<service>, as on the Mac), kept out of backups. The services and their recommended models arecore/.../Providers.kt; every AI call goes throughLingClient, which reads the service from settings on each call. - 我说 speaks only
ListenEngine.speakabletext (a translation, never my words), in the voice chosen for that language (VoiceCatalog.chosen: the Mac's catalog, Ming's on Ling; the phone's when that is the choice or the service's voice fails), and mutes the segmenter while the phone speaks. - The overlay is
FLAG_NOT_FOCUSABLEandFLAG_SECUREunless 共享屏幕时让对方看到 is on. - Shared UI text comes from
Resources/*.lproj/Localizable.strings; Android-only text is inapp/src/main/strings/. Runpython3 scripts/strings.pyafter changing either. - Verify with
scripts/test.sh, then in the emulator withscripts/cicadactl.sh. System consent dialogs, vendor background limits and a real microphone need a person. - No release build ships until release signing exists; never sign a release with the debug key.
- Commits use the
(android)scope:feat(android):/fix(android):are this platform's release notes.