TreeMap
A free, open-source disk-space visualizer. Squarified treemap, duplicate hunting, disk-full forecasting, and cleanup that only ever moves files to the Trash.
翻譯準備中
MacOS/iOS 语音输入法,实时识别、大模型文本优化、全本地存储
翻譯準備中
生產力Swift · PythonGitHub @joewongjc自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Type4Me 是一款免费开源的 macOS 语音输入法。按下快捷键说话,文字边说边出现在光标处;同一段话还可以一键润色、翻译、向 AI 提问,或者直接操作 Mac。识别引擎、大模型和 Prompt 都由你选,历史记录存在本机,随时可以导出。
| 版本 | 说明 | 大小 |
|---|---|---|
| ✨ 云端版(推荐) | Intel 与 Apple Silicon 通用。需要自备语音识别和大模型的 API Key,识别推荐火山引擎(豆包)或 Soniox。配置指引 | ~18 MB |
| 本地版 | 仅支持 Apple Silicon。内置 SenseVoice + Qwen3-ASR 离线识别,约占 8 GB 内存,建议 32 GB 以上的机器使用;文本处理仍需 API Key 或本地 Ollama | ~720 MB |
需要 macOS 14 (Sonoma) 及以上。两个版本共用一份配置,可以随时互相替换。安装包已通过 Apple 公证,首次打开按引导授予麦克风和辅助功能权限就能用。
iPhone 上的 Type4Me 是一个语音键盘:切到 Type4Me,按住说话、松手出字,也可以使用模式拨盘、智能感知和选中纠正。识别服务、模型、模式和词汇可以在 Mac 版侧边栏的「手机版」里扫码同步过去,不用在手机上重新填 API Key。
手机版已开放 TestFlight 公开测试:在 iPhone 上打开 https://testflight.apple.com/join/57f5897s,按提示装好 TestFlight 后就能安装(需要 iOS 26)。App Store 上架情况以实际页面为准。也可以用 Xcode 自己编译安装,步骤见 iOS/README.md。
Type4Me 演示视频
每个模式可以绑定多个全局快捷键,每个快捷键单独设为「按住说话」或「按一下开关」;单独一个修饰键(如 fn、右 Option)还可以设为「按两下开关」,快速按两下开始,再按两下结束,单按保留系统原有功能。
| 模式 | 用途 |
|---|---|
| 快速模式 | ⚡️仅做语音识别,速度最快 |
| 智能感知 | 日常主力模式,支持改口、去掉口头禅,并参考当前 App 和上下文调整措辞 |
| 翻译模式 | 自动翻译成18 种目标语言中的任意一种 |
| 随便问 | 选中屏幕上的文字,直接语音提问;支持连续追问,会话会保存下来 |
| Mac 操作 | 说一句「打开 Safari」「音量调到 30」「锁屏」就能执行 |
| 语音润色 | 按固定规则把口语整理成书面文字,输出风格稳定 |
| Prompt 优化 | 把一句需求扩写成完整的 Prompt,适合发给 ChatGPT、Claude |
| 代办模式 | 结合语音、选中文字和剪贴板,直接生成可用的成品 |
拿不准用哪个,就用智能感知。你也可以新建模式:Prompt 模板里可以用 {text}(本次语音)、{selected}(选中的文字)、{clipboard}(剪贴板)三个变量,把任意文本处理流程绑到一个快捷键上。不方便说话的时候,按手动输入快捷键直接打字,同样可以调用这些模式。
各模式的示例和适用场景见 模式与功能详解。
magpie plugin add @magpie-community/agent-type4me),可将 Type4Me 接入 Magpie 的 Agent 页。直接复用已配置的大模型订阅与 API Key,并在两边菜单栏双向实时同步模型。
Fn + R 说「改成下午 2 点」,只改那一处,可以一键或用语音撤销。type4me://toggle 等命令接入 Stream Deck、快捷指令、Raycast、Alfred 或脚本,后台调用不会抢走焦点。见 命令参考。市面上的语音输入法,至少有下面一个问题:贵($30/月)、封闭(记录导不出来)、改不了(不能自定义 Prompt)、慢(强制优化加上网络延迟)。
作为某款最贵识别工具的前粉丝,我的感受一直是:「它怎么可以这么好用,又这么难用」。况且,也不是每句话都需要说得工工整整。
欢迎提交 Issue 和 PR。这个项目全部是我用 Claude Code 写的;收到 PR,哪怕有 bug,我也不会漏掉任何人的贡献,合并之后再改就好。
从源码构建、签名和架构说明见 CONTRIBUTING.md,设计文档从 docs/README.md 进入。想让 AI Agent 帮你从源码部署,把这个仓库的链接发给它就行。
SenseVoice · streaming-sensevoice · asr-decoder · sherpa-onnx · Qwen3-ASR · mlx-qwen3-asr
Type4Me is a free, open-source voice input app for macOS. Hold a hotkey and talk — text streams in at your cursor as you speak. The same hotkey workflow can polish what you said, translate it, ask AI about it, or turn it into a Mac action. You choose the speech engine, the LLM and the prompts; your history stays on your Mac and can be exported anytime.
| Edition | Details | Size |
|---|---|---|
| ✨ Cloud (recommended) | Intel and Apple Silicon. Bring your own speech and LLM API keys; Volcano Engine (Doubao) or Soniox recommended for recognition. Setup guide | ~18 MB |
| Local | Apple Silicon only. Bundles SenseVoice + Qwen3-ASR for offline recognition (~8 GB RAM, 32 GB+ Macs recommended). Text processing still needs an API key or local Ollama | ~720 MB |
Requires macOS 14 (Sonoma) or later. Both editions share the same settings, so you can switch anytime. The app is notarized by Apple; on first launch, grant Microphone and Accessibility access as prompted.
Type4Me on iPhone is a voice keyboard: switch to it in a text field, hold to talk and let go to type. Use the mode dial, Intelli Sense and selection correction as you write. Speech services, models, modes and vocabulary sync over by scanning a QR code on the Mobile page in the Mac app's sidebar, so there are no API keys to retype.
The mobile app is in public beta on TestFlight: open https://testflight.apple.com/join/57f5897s on your iPhone and follow the prompts (iOS 26 required). Check the App Store for availability. You can also build and install it yourself with Xcode; see iOS/README.md (in Chinese).
The keyboard screenshot shows the previous layout; see the app for the 1.1.0 mode dial and recording gestures.
Type4Me demo video
Each mode can have several global hotkeys, set individually to hold to talk or press once to toggle. A single modifier key, such as fn or Right Option, can also use press twice: tap it twice quickly to start, and twice again to stop. A single tap keeps its normal system behavior.
| Mode | What it does |
|---|---|
| Quick Mode | ⚡️ Speech recognition only — the fastest path |
| Intelli Sense | Your everyday mode: handles self-corrections, drops filler words, and adapts wording to the current app and context |
| Translation | Translates automatically into any of 18 target languages |
| Ask Anything | Select text anywhere and ask about it by voice; follow-ups are kept as conversations |
| Mac Actions | "Open Safari", "Volume to 30", "Lock screen" — said and done |
| Voice Polish | Turns speech into clean written text with a consistent, predictable style |
| Prompt Optimization | Expands a one-line request into a well-structured prompt for ChatGPT or Claude |
| Task Delegation | Combines your voice, the selection and the clipboard to produce a finished result |
Not sure which one to use? Start with Intelli Sense. You can also create your own modes: prompt templates accept {text} (what you said), {selected} (selected text) and {clipboard}, so any text workflow can live behind one hotkey. When you can't talk, the manual input hotkey lets you type instead and still run any mode.
Examples and use cases for each mode: Modes & Features.
magpie plugin add @magpie-community/agent-type4me) to add Type4Me to Magpie's Agents page. It lets you reuse subscriptions and API keys already configured in Magpie, with two-way real-time model syncing between both menu bars.
Fn + R and say "make it 2 PM" — only that part changes, and you can undo by button or voice.type4me://toggle, without stealing focus. See the command reference.Every voice input tool I tried had at least one of these problems: expensive ($30/month), closed (no history export), rigid (no custom prompts), or slow (forced rewriting plus network latency).
As a former fan of the priciest one, my feeling was always: "How can it be this good and this frustrating at the same time?" And not everything you say needs to sound polished.
Issues and PRs are welcome. I built the whole project with Claude Code, and I never drop anyone's contribution — even if a PR has bugs, we merge first and fix later.
Building from source, code signing and architecture are covered in CONTRIBUTING.md; design docs start at docs/README.md. To have an AI agent deploy from source, just give it this repository's link.
SenseVoice · streaming-sensevoice · asr-decoder · sherpa-onnx · Qwen3-ASR · mlx-qwen3-asr