← OSGKeyboard · App Store
中文
OSGKeyboard Privacy Policy
Last updated: August 10, 2026 · v1.1
OSGKeyboard is a custom iOS keyboard that turns your voice into text. It runs as a Custom Keyboard Extension on iOS 26 and later, and uses Apple's on-device SpeechAnalyzer + DictationTranscriber for transcription by default. An optional cloud ASR engine (explicit opt-in) uploads recordings to the provider you configure. After transcription, text may be polished or translated via a cloud LLM. This policy explains what data the app processes and how it is used.
What we collect
- Voice audio — captured only while you actively record. On the default local engine, audio is transcribed on-device with Apple's
SpeechAnalyzer + DictationTranscriber and raw audio is not uploaded. If you explicitly enable the cloud engine (a confirmation dialog is shown first), your recordings are uploaded to the ASR provider you configure (e.g. OpenAI, Qwen DashScope, Zhipu) for transcription; that provider's privacy policy applies. OSGKeyboard never stores or proxies your audio on its own servers.
- Transcribed text and cursor context — after ASR, the transcript (not audio) may be sent for polish when you have configured an LLM API key. To continue naturally at the insertion point, a small amount of text immediately before and after the cursor may be included. Secure fields are never captured; cursor context is not written to logs or voice history. Without an API key, raw ASR text is inserted and no polish request is sent. Polish and optional translation use the OpenAI-compatible (or Anthropic) API you configure (e.g. OpenAI, DeepSeek, Qwen DashScope, Moonshot, Zhipu, Xiaomi MiMo, or your own server).
- AI mode questions — in AI keyboard mode, your spoken question text is sent to the same configured LLM provider. When that provider supports server-side web search, it may retrieve public web results for time-sensitive answers. Search queries and snippets are handled by that provider under its privacy policy; OSGKeyboard does not operate a search index or proxy search traffic.
- API credentials — your cloud-engine LLM API key is stored in the iOS Keychain on your device and is read only when an LLM request is made. It is shared with the main app through a shared Keychain group, never through UserDefaults. When you enable iCloud settings sync, API keys replicate through Apple's iCloud Keychain to your other signed-in devices — not through iCloud Key-Value Store JSON.
- App preferences — engine mode, recognition language, polish intensity, translation target, handedness, cursor-navigation toggle, and keyboard settings are stored in App Group
UserDefaults on your device so the main app and keyboard extension stay in sync. When iCloud settings sync is enabled, these preferences (excluding API keys) may also be mirrored in your private iCloud Key-Value Store account.
- Personal dictionary — terms and aliases you add in the Dictionary tab are stored locally on your device. They are included in LLM polish prompts so your vocabulary is preserved. Optional iCloud dictionary sync mirrors your dictionary through your private iCloud Key-Value Store; OSGKeyboard does not operate a separate dictionary server.
- On-device typing learning — the Chinese keyboard stores selected words and candidate frequencies in the App Group on your device so future candidates improve. This user dictionary is not uploaded by OSGKeyboard.
- Voice history — the host app may keep a list of recent successful transcripts in its History tab. History is capped at 300 entries. When iCloud settings sync is enabled, history may also sync through your private iCloud Key-Value Store.
- Usage statistics — cumulative dictation time, dictation characters, and translation characters are computed for the home screen stats card. When iCloud settings sync is enabled, per-device totals may merge through your private iCloud Key-Value Store.
What we do not collect
- We do not log or upload ordinary keystrokes. Only the on-device Chinese candidate-learning data described above is retained locally.
- We do not operate analytics, crash reporting, or advertising SDKs.
- We do not upload raw audio anywhere on the default local engine. The only exception is the optional cloud ASR engine: if you explicitly enable it (a confirmation dialog is shown first), recordings go to the ASR provider you configure — never to servers of ours.
- We do not sell personal data.
How the keyboard extension talks to the host app
OSGKeyboard uses a long-lived "Flow session" hosted in the main app. The keyboard extension writes tiny "start / stop" signals and, when available, a short redacted cursor-context snapshot into an App Group. The main app captures the audio, transcribes it (on-device by default; via your configured cloud ASR provider if you opted into the cloud engine), then — when an LLM API key is configured — sends the transcript and that nearby text for polish (and optional translation) before writing the result back. On the default local engine audio never leaves your device; only text is sent to your configured LLM endpoint when polish or AI mode runs.
Permissions
- Microphone (
NSMicrophoneUsageDescription) — required for voice input and the long-lived voice session.
- Speech recognition (
NSSpeechRecognitionUsageDescription) — required for on-device transcription via Apple's APIs.
- Full Access — required so the keyboard can reach the microphone, read your API key from the shared Keychain, and request the polished transcript from the host app. Full Access does not grant us access to everything you type; we do not exfiltrate keystrokes.
Third parties
After ASR, transcribed text may be sent for polish and optional translation when you configure an LLM API key. AI-mode questions may also be sent to that provider, which may perform server-side web search. That provider's privacy policy applies. OSGKeyboard does not proxy, log, or aggregate your requests.
Data retention
Settings remain on your device until you delete the app or reset settings. When iCloud settings sync is enabled, API keys replicate through iCloud Keychain and preferences, statistics, and history may sync through your private iCloud account. Transcription results are passed to the host app you are typing in and are not stored long-term by OSGKeyboard. Voice history is capped at 300 entries; you can clear it from the History tab or by resetting settings.
Children's privacy
OSGKeyboard is not directed to children under 13 and does not knowingly collect personal data from children.
Changes to this policy
We may update this policy as the app evolves. The "Last updated" date at the top will always reflect the current version. Material changes will be called out in the project CHANGELOG.
License
OSGKeyboard is distributed under the OSGKeyboard Source Available License — personal learning and non-commercial local use only. No commercial use, redistribution, or public forks without permission.
Contact
Questions or privacy requests: open an issue at github.com/hkgood/OSGKeyboard, or email rocky.hk@gmail.com.
OSGKeyboard 隐私政策
更新日期:2026 年 8 月 10 日 · v1.1
OSGKeyboard 是一款 iOS 自定义键盘,可将语音转为文字。它以自定义键盘扩展的形式运行,需要 iOS 26 及以上系统,默认使用 Apple 端侧的 SpeechAnalyzer + DictationTranscriber 转写;可选的云端识别引擎(需显式二次确认开启)会把录音上传到你配置的服务商。转写完成后,文字可能经云端 LLM 润色或翻译。本政策说明应用处理哪些数据及用途。
我们处理的数据
- 语音音频 — 仅在你主动录音时采集。默认本地引擎下,音频在设备端通过
SpeechAnalyzer + DictationTranscriber 转写,原始录音不会上传。若你显式开启云端引擎(会先弹出确认对话框),录音会上传到你配置的识别服务商(如 OpenAI、通义 DashScope、智谱)完成转写,适用该服务商的隐私政策。OSGKeyboard 自身绝不存储或中转你的音频。
- 转写文字与光标上下文 — ASR 完成后,若你已配置 LLM API Key,转写文字(非音频)可能发送润色。为了在插入点自然衔接,请求可能同时包含光标前后的少量文字。密码框绝不采集,光标上下文不会写入日志或语音历史。未填写 API Key 时直接插入原始识别结果。润色与可选翻译使用你配置的 OpenAI 兼容(或 Anthropic)API(OpenAI / DeepSeek / 通义 DashScope / Moonshot / 智谱 / 小米 MiMo / 自建服务等)。
- AI 模式问题 — 在 AI 键盘模式下,语音转写后的问题文字会发送到同一套已配置的 LLM 服务商。若该服务商支持服务端联网搜索,可能为时效性问题检索公开网页结果。搜索词与检索片段由该服务商按其隐私政策处理;OSGKeyboard 不运营搜索索引,也不中转搜索流量。
- API 凭证 — 云端引擎的 LLM API Key 保存在设备 Keychain,仅在发起 LLM 请求时读取;通过共享 Keychain 组与主 App 共享,不会写入
UserDefaults。开启iCloud 设置同步后,API 密钥经 Apple iCloud 钥匙串同步到你其他已登录设备,不会写入 iCloud 键值存储 JSON。
- 应用偏好 — 引擎模式、识别语言、润色档位、翻译目标、握持偏好、光标导航开关、键盘设置等保存在 App Group
UserDefaults,用于主 App 与键盘扩展之间的状态同步。开启 iCloud 设置同步后,这些偏好(不含 API 密钥)也可能镜像到你私有的 iCloud 键值存储账户。
- 个性词库 — 你在「词库」Tab 添加的词条与别名保存在本机,润色时会写入 LLM 提示词。可选的iCloud 词库同步经私有 iCloud 键值存储在多设备间镜像;OSGKeyboard 不运营独立词库服务器。
- 语音历史 — 主 App 可在「历史」页保留近期成功转写,上限 300 条。开启 iCloud 设置同步后,历史也可能经私有 iCloud 键值存储同步。
- 用量统计 — 首页统计卡片的累计听写时长、听写字数、翻译字数在本地计算。开启 iCloud 设置同步后,各设备分量可能经私有 iCloud 键值存储合并。
我们不收集的内容
- 我们不会记录或上传你平时在键盘上的击键内容。
- 我们不会集成分析、崩溃上报或广告 SDK。
- 默认本地引擎下,我们不会将原始录音上传至任何服务器。唯一例外是可选的云端识别引擎:你显式开启后(会先弹出确认对话框),录音会发送到你配置的识别服务商——绝不会发送到我们的服务器。
- 我们不会出售个人数据。
键盘扩展与主 App 的通信方式
OSGKeyboard 采用主 App 维护的「Flow 会话」机制:键盘扩展在 App Group 中写入轻量的「开始 / 停止」信号,以及可用时经过截断的少量光标上下文;主 App 采集音频并完成转写(默认在设备端;若你开启云端引擎则经你配置的识别服务商),在已配置 LLM API Key 时再将转写文字与附近文字发送润色(及可选翻译)后回写结果。默认本地引擎下音频不会离开设备;仅在润色或 AI 模式运行时,文字才会发送到你配置的 LLM 端点。
权限说明
- 麦克风(
NSMicrophoneUsageDescription)— 语音输入与长生命周期语音会话所需。
- 语音识别(
NSSpeechRecognitionUsageDescription)— 调用 Apple 端侧语音能力进行转写所需。
- 完全访问 — 使键盘能使用麦克风、从共享 Keychain 读取 API Key,并从主 App 获取润色结果。完全访问不代表我们会获取你输入的所有内容,绝不外传击键。
第三方
ASR 完成后,若你配置了 LLM API Key,转写文字可能用于润色与可选翻译;AI 模式问题也可能发送至同一服务商(含服务商侧可选联网搜索)。该服务商的隐私政策适用于相关请求。OSGKeyboard 不代理、不记录、不聚合这些请求。
数据保留
设置保留在设备上,直至卸载或重置。开启 iCloud 设置同步后,API 密钥经 iCloud 钥匙串同步,偏好、统计与历史可能经私有 iCloud 账户同步。识别结果写入你正在使用的宿主 App,OSGKeyboard 不会长期存储。语音历史上限 300 条,可随时在「历史」页清空或通过重置设置清除。
儿童隐私
OSGKeyboard 不面向 13 岁以下儿童,亦不会明知地从儿童处收集个人信息。
政策变更
本政策可能随应用演进而更新,更新日期始终显示在文首。重大变更会在项目 CHANGELOG 中标注。
许可协议
OSGKeyboard 基于 OSGKeyboard 源码可见许可协议 发布 —— 仅限个人学习与非商用本地使用;禁止商用、再分发及公开 fork。
联系
问题反馈或隐私相关请求:github.com/hkgood/OSGKeyboard 提 Issue,或邮件 rocky.hk@gmail.com。