release: страницы для новичка на трех языках, кадр иконки в онбординге
This commit is contained in:
+18
-18
@@ -14,13 +14,13 @@
|
||||
"en": {
|
||||
"title": "iriz",
|
||||
"name": "iriz",
|
||||
"tagline": "Speak and the text appears. Your speech is decoded on your own Mac, not in somebody's cloud.",
|
||||
"tagline": "Speak out loud and the text appears. Your Mac does the decoding, and nothing travels to somebody else's cloud.",
|
||||
"hero_alt": "Iris in white marble with marble wings beside the classical column, a gold ribbon of voice landing in the groove of her tablet",
|
||||
"what": "iriz lives in the menu bar. It fixes a phrase typed in the wrong keyboard layout. It types what you dictate: press the key, speak, press again. It turns rambling speech into a finished task for an agent, and it translates on the way.\n\n\n\nThen comes the part it was polished for. Fix a word after it lands and iriz notices, then offers to remember the replacement. Speech is cleaned of stumbles and repeats on your own machine. A recording of a meeting or a court hearing is split by speaker, names go in by hand, and the transcript lands next to the audio.\n\n\n\nSpeech is decoded on the Mac, on the Neural Engine.",
|
||||
"why": "Cloud dictation cleans up speech better than anything local. But what travels up there is a conversation with a client, a draft filing, names and amounts. For someone bound by professional privilege that trade never pays off. So recognition stays local here, and the single trip to the network is one you start yourself.",
|
||||
"advantage": "recognition runs on your machine, and during dictation the network is shut by a switch, not by a promise.",
|
||||
"what": "This is a Mac app that types for you while you talk.\n\nHere is how it goes. You press one key, speak in your normal voice, press it again. The text lands where the cursor was: an email, a chat, a search box. Nothing to switch to, no window to open.\n\nWhat sets it apart from similar apps is where the speech gets decoded. Usually your voice travels to somebody's server, turns into text there and comes back. Here your own Mac does the work, and the audio never leaves the machine.\n\n\n\nIt does more than that. It repairs a phrase typed in the wrong keyboard layout. Fix a word after it lands and the app offers to remember the correction. It takes the stumbles and repeats out of speech. It splits a recording of a meeting or a court hearing by voice and puts a finished transcript next to the audio.\n\n",
|
||||
"why": "Anyone who writes for a living loses hours to typing. The same thought comes out faster and whole when spoken: typing, you hunt for words; speaking, you do not.\n\nOne thing gets in the way. Cloud dictation cleans speech better than anything local, but what you said leaves the machine: a client call, a draft, names and figures. For a doctor, a lawyer, a therapist, that trade never pays off.\n\nSo here your Mac does the decoding, and the app reaches the network only when you press the button.",
|
||||
"advantage": "your Mac decodes the speech, and during dictation the network is closed by a switch in the code rather than a promise in the text.",
|
||||
"better": "The switch sits inside the recognition library and returns to its place even when a download fails. Documentation does not prove that: a script pins the set of networking symbols in the built binary and asks the kernel whether the running app holds a single socket.",
|
||||
"how": "Press the key, say your sentence, press again. The text lands where the cursor was blinking: an email, a chat, a terminal. If it does not arrive, the pill opens into a panel and you take the text from there.\n\nThe language switches from the pill itself, on a right click. People change it a second before they speak, and walking to Settings for that makes no sense.\n\n",
|
||||
"how": "Press the key, say your sentence, press again. The text lands where the cursor was blinking.\n\nIf it could not be pasted, nothing is lost: the small pill at the bottom of the screen opens into a panel and you take the text from there.\n\nThe language switches on the pill itself, with a right click. People change it a second before they speak, and walking to Settings for that makes no sense.\n\n",
|
||||
"quick_intro": "You need a Mac on macOS 14 or newer. Building from source also wants Xcode with Swift 6. Three doors from here, any of them works.",
|
||||
"quick_extra": "Do not want to build? Take the ready disk image from Releases: open it, drag the icon onto Applications. No Git? Download [the ZIP](https://github.com/zarubinvibe/iriz/archive/refs/heads/main.zip), unpack it, and run the same command inside. First time? Open the project in Claude Code and run `/iriz-setup`: the install goes as a conversation, one question at a time, and nothing is installed without your yes.",
|
||||
"quick_result": "the installer says what this is, looks at what your machine is missing, runs the tree selfcheck, and names the next step. It installs nothing until you ask.",
|
||||
@@ -93,7 +93,7 @@
|
||||
"Transcripts sit under 0700 and 0600 and stay on your disk."
|
||||
],
|
||||
"safety_tail": "One thing goes out, and only on your button: the one-time speech model download. Prompt mode is off by default, and switching it on means agreeing that the transcript reaches the agent you picked.",
|
||||
"status": "Status: working, the author dictates with it every day.",
|
||||
"status": "Status: working. The author dictates with it every day.",
|
||||
"limits": [
|
||||
"macOS 14 and newer only. No Windows, no Linux, no iPad.",
|
||||
"Automatic layout switching covers the English and Russian pair.",
|
||||
@@ -115,13 +115,13 @@
|
||||
"ru": {
|
||||
"title": "iriz",
|
||||
"name": "iriz",
|
||||
"tagline": "Говорите - появляется текст. Речь разбирается на вашем Маке, а не в чужом облаке.",
|
||||
"tagline": "Говорите вслух, на экране появляется текст. Разбирает речь сам Мак, ничего не улетает в чужое облако.",
|
||||
"hero_alt": "Ирида из белого мрамора с мраморными крыльями у классической колонны, золотая лента голоса ложится в борозду на табличке",
|
||||
"what": "iriz живет в строке меню. Чинит раскладку, когда фраза набрана не в той. Пишет текст под диктовку: нажали клавишу, сказали, отпустили. Превращает сбивчивую речь в готовое задание агенту и переводит на ходу.\n\n\n\nДальше начинается то, ради чего его и доводили. Поправили слово после вставки - iriz это заметил и предложил запомнить замену. Речь чистится от запинок и повторов прямо на машине. Запись встречи или судебного заседания разбирается по говорящим, имена подставляются руками, и рядом со звуком ложится протокол.\n\n\n\nРечь разбирается на Маке, на Neural Engine.",
|
||||
"why": "Облачная диктовка чистит речь лучше любой местной. Но наружу уезжает разговор с доверителем, черновик заявления, имена и суммы. Для человека под профессиональной тайной такой обмен не окупается ничем. Поэтому распознавание тут местное, а единственный поход в сеть вы начинаете сами кнопкой.",
|
||||
"advantage": "распознавание идет на вашей машине, и в диктовке сеть запрещена рубильником, а не обещанием.",
|
||||
"what": "Это программа для Мака, которая печатает за вас, пока вы говорите.\n\nРаботает так. Вы нажимаете одну клавишу, говорите обычным голосом, нажимаете еще раз. Текст встает туда, где стоял курсор: в письмо, в чат, в поле поиска. Никуда переключаться не нужно, отдельного окна нет.\n\nГлавное отличие от похожих программ в том, где разбирается речь. Обычно голос уезжает на чужой сервер, там превращается в текст и возвращается. Здесь считает ваш Мак, и звук с машины не уходит.\n\n\n\nУмеет и другое. Чинит фразу, набранную не в той раскладке. Поправите слово после вставки, и программа предложит запомнить замену. Уберет из речи запинки и повторы. Разберет запись встречи или судебного заседания по голосам, а рядом со звуком положит готовый протокол.\n\n",
|
||||
"why": "Кто много пишет по работе, тратит на набор часы. Голосом та же мысль выходит быстрее и целее: печатая, человек подбирает слова, говоря, не подбирает.\n\nМешает одно. Облачная диктовка чистит речь лучше любой местной, но наружу уезжает то, что вы сказали: разговор с клиентом, черновик документа, имена и суммы. Для врача, юриста, психолога такой обмен не окупается ничем.\n\nПоэтому тут разбирает Мак, а в сеть программа ходит только по вашей кнопке.",
|
||||
"advantage": "речь разбирает ваш Мак, и во время диктовки сеть закрыта рубильником в коде, а не обещанием в тексте.",
|
||||
"better": "Рубильник стоит внутри библиотеки распознавания и возвращается на место даже когда загрузка падает. Проверяет это не документация: скрипт пинует набор сетевых символов в собранном бинарнике и спрашивает у ядра, есть ли у работающего приложения хоть один сокет.",
|
||||
"how": "Нажали клавишу, сказали фразу, нажали еще раз. Текст встает туда, где мигал курсор: в письмо, в чат, в терминал. Не доехал - плашка раскрывается в панель, откуда его можно забрать целиком.\n\nЯзык переключается с самой плашки, правым щелчком: его меняют за секунду до того, как заговорить, и ходить за этим в настройки незачем.\n\n",
|
||||
"how": "Нажали клавишу, сказали фразу, нажали еще раз. Текст встает туда, где мигал курсор.\n\nЕсли вставить не удалось, ничего не потеряно: маленькая плашка внизу экрана раскроется в панель, и текст можно забрать оттуда.\n\nЯзык переключается на самой плашке, правым щелчком. Его меняют за секунду до того, как заговорить, и ходить за этим в настройки незачем.\n\n",
|
||||
"quick_intro": "Нужен Мак на macOS 14 или новее. Для сборки из исходников еще Xcode со Swift 6. Дверей три, годится любая.",
|
||||
"quick_extra": "Не хотите собирать - возьмите готовый образ в разделе Releases: открыли, перетащили значок в Applications. Нет Git? Скачайте [ZIP](https://github.com/zarubinvibe/iriz/archive/refs/heads/main.zip), распакуйте и запустите в нем ту же команду. Первый раз? Откройте проект в Claude Code и запустите `/iriz-setup`: установка пройдет разговором, по одному вопросу, и ничего не поставится без вашего «да».",
|
||||
"quick_result": "установщик объясняет, что это, смотрит, чего не хватает на машине, гоняет самопроверку дерева и называет следующий шаг. Ничего не ставит, пока вы не попросите.",
|
||||
@@ -194,7 +194,7 @@
|
||||
"Расшифровки лежат под правами 0700 и 0600 и остаются на вашем диске."
|
||||
],
|
||||
"safety_tail": "В сеть уходит одно и по вашей кнопке: разовая загрузка модели распознавания. Промпт-режим выключен по умолчанию, и включая его, вы соглашаетесь, что расшифровка уйдет выбранному агенту.",
|
||||
"status": "Статус: работает, автор диктует им каждый день.",
|
||||
"status": "Статус: работает. Автор диктует им каждый день.",
|
||||
"limits": [
|
||||
"Только macOS 14 и новее. Ни Windows, ни Linux, ни iPad.",
|
||||
"Автопереключение раскладки работает для пары английский и русский.",
|
||||
@@ -216,13 +216,13 @@
|
||||
"zh": {
|
||||
"title": "iriz",
|
||||
"name": "iriz",
|
||||
"tagline": "开口说,字就出现。识别在你自己的 Mac 上完成,不去别人的云里绕一圈。",
|
||||
"tagline": "你说出来,屏幕上就有字。识别由你自己的 Mac 完成,声音不会上传到别人的云。",
|
||||
"hero_alt": "白色大理石的伊里斯长着大理石翅膀,站在古典石柱旁,金色的声音丝带落进石板上的凹槽里",
|
||||
"what": "iriz 住在菜单栏里。输入法切错了,它把那句话改回来。你按键说话再按一次,它把话写成文字。它还能把零散的口述变成给智能体的任务,也能顺手翻译。\n\n\n\n接下来才是它反复打磨的部分。文字落进输入框后你改了一个词,iriz 会注意到,并问要不要记住这个替换。口语里的停顿和重复在你自己的机器上清理干净。会议或庭审的录音按发言人分开,名字由你手动填上,记录就放在录音旁边。\n\n\n\n语音在这台 Mac 上、在 Neural Engine 上识别。",
|
||||
"why": "云端听写把口语收拾得比本地干净,这是实话。可传上去的东西,是和委托人的对话、是起草到一半的文书、是名字和金额。对一个受职业保密约束的人来说,这笔交换怎么算都不划算。所以识别留在本机,唯一一次联网由你按按钮开始。",
|
||||
"advantage": "识别在你自己的机器上跑,听写期间由识别库里的一道总闸切断联网,不是靠一句承诺。",
|
||||
"what": "这是一个 Mac 上的小程序:你说话,它替你打字。\n\n用法是这样。按一下键,用平常的语气说话,再按一下。文字落在光标原来的位置:邮件里、聊天窗口里、搜索框里。不用切换到别的地方,也没有额外的窗口。\n\n它和同类程序最大的区别,在于识别发生在哪里。通常你的声音要传到别人的服务器,在那边变成文字再传回来。这里由你自己的 Mac 计算,声音不离开这台机器。\n\n\n\n它还会别的。输入法切错了,它把那句话改回来。文字落下后你改了一个词,它会问要不要记住。口语里的停顿和重复,它替你清掉。会议或者庭审的录音,它按发言人分开,并把整理好的记录放在录音旁边。\n\n",
|
||||
"why": "靠写字吃饭的人,每天都有几个小时花在打字上。同一个想法,说出来更快也更完整:打字时人在挑词,说话时不挑。\n\n只有一件事挡在前面。云端听写把口语整理得比任何本地方案都干净,可你说的内容也随之离开了这台机器:和客户的通话、文件草稿、人名和金额。对医生、律师、心理咨询师来说,这笔交换怎么算都不划算。\n\n所以这里由你的 Mac 来识别,只有你按下按钮时,程序才会联网。",
|
||||
"advantage": "识别在你自己的 Mac 上完成,口述期间网络由代码里的开关关闭,而不是靠文字承诺。",
|
||||
"better": "开关叫 `DownloadUtils.enforceOffline`,位置在识别库内部,连下载失败的时候也会自己归位。光有文档不算数:自检脚本盯住编译好的二进制里那一组网络符号,再去问系统,运行中的应用手上有没有一个套接字。",
|
||||
"how": "按键,说一句话,再按一次。文字落在光标刚才闪动的地方:邮件、聊天窗口、终端。\n\n要是没落进去,那条小胶囊会展开成面板,你从那里把文字取走。\n\n识别语言直接在胶囊上右键切换。人总是在开口前一秒才决定说哪种语言,为这个跑去设置没有道理。\n\n",
|
||||
"how": "按键,说一句话,再按一次。文字落在光标刚才闪动的地方。\n\n万一没能贴进去,东西也没丢:屏幕下方那颗小胶囊会展开成面板,你从那里取走文字。\n\n识别语言直接在胶囊上右键切换。人总在开口前一秒才决定说哪种语言,为这个跑去设置没有道理。\n\n",
|
||||
"quick_intro": "需要一台 macOS 14 或更新的 Mac,还有三项系统权限:麦克风、辅助功能、输入监控。从源码构建另外要 Xcode 和 Swift 6。接下来有三条路,走哪条都行。",
|
||||
"quick_extra": "不想构建?到 Releases 拿现成的磁盘映像:打开,把图标拖进 Applications。没有 Git?下载 [ZIP](https://github.com/zarubinvibe/iriz/archive/refs/heads/main.zip),解压后在里面执行同一条命令。第一次用?在 Claude Code 里打开项目并运行 `/iriz-setup`:安装以对话的方式进行,一次问一个问题,没有你点头不会装任何东西。",
|
||||
"quick_result": "安装脚本先说清楚这是什么,再看你的机器缺什么,跑一遍 `bash scripts/selfcheck.sh --selftest`,最后告诉你下一步该做什么。你不开口,它什么都不装。真要构建,加一个参数:`bash install.sh --build`。",
|
||||
@@ -295,7 +295,7 @@
|
||||
"转写文件的权限是 0700 和 0600,留在你自己的磁盘上。"
|
||||
],
|
||||
"safety_tail": "往外走的只有一件事,而且要你按按钮:识别模型那一次性的下载。提示词模式默认关着;打开它,就等于同意把转写交给你自己装好、自己登录的那个智能体命令行,比如 Codex CLI,走那条路时文本会发到它背后的服务商。翻译走的是同一条路:你说俄语,落下来的是英文。",
|
||||
"status": "状态:可用,作者每天用它口述。",
|
||||
"status": "状态:可用。作者每天都在用它口述。",
|
||||
"limits": [
|
||||
"语音模型认十八种欧洲语言,中文不在其中:中文口述它听不懂。",
|
||||
"自动换键盘布局只管英语和俄语这一对,对拼音、五笔这类中文输入法不适用。",
|
||||
|
||||
@@ -118,19 +118,22 @@
|
||||
{
|
||||
"path": "docs/ONBOARDING.md",
|
||||
"frames": [
|
||||
"assets/pantheon/doc-onboarding.png"
|
||||
"assets/pantheon/doc-onboarding.png",
|
||||
"assets/pantheon/icon-wide.png"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "docs/ONBOARDING.ru.md",
|
||||
"frames": [
|
||||
"assets/pantheon/doc-onboarding.png"
|
||||
"assets/pantheon/doc-onboarding.png",
|
||||
"assets/pantheon/icon-wide.png"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "docs/ONBOARDING.zh.md",
|
||||
"frames": [
|
||||
"assets/pantheon/doc-onboarding.png"
|
||||
"assets/pantheon/doc-onboarding.png",
|
||||
"assets/pantheon/icon-wide.png"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 smltlk contributors
|
||||
Copyright (c) 2026 iriz contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,23 +1,42 @@
|
||||
# Происхождение кода
|
||||
|
||||
Проект стоит на чужой работе и говорит об этом прямо. Три источника, все с разрешающими
|
||||
лицензиями; условие, под которым код вообще разрешено брать, — атрибуция, и она здесь.
|
||||
лицензиями; условие, под которым код вообще разрешено брать, - атрибуция, и она здесь.
|
||||
|
||||
| Что | Источник | Лицензия | Текст |
|
||||
|---|---|---|---|
|
||||
| переключение раскладки | `rashn/RuSwitcher` | MIT | `THIRD-PARTY/RuSwitcher-LICENSE` |
|
||||
| диктовка | `shlgd/SuperDictate` | MIT | `THIRD-PARTY/SuperDictate-LICENSE` |
|
||||
| распознавание речи | `FluidInference/FluidAudio` | Apache-2.0 | `THIRD-PARTY/FluidAudio-LICENSE` |
|
||||
| модель речи | `FluidInference/parakeet-tdt-0.6b-v3-coreml` | CC-BY-4.0 | `THIRD-PARTY/parakeet-CC-BY-4.0` |
|
||||
| Что | Источник | Лицензия | Текст | Как попадает к пользователю |
|
||||
|---|---|---|---|---|
|
||||
| переключение раскладки | `rashn/RuSwitcher` | MIT | `THIRD-PARTY/RuSwitcher-LICENSE` | код в дереве |
|
||||
| диктовка | `shlgd/SuperDictate` | MIT | `THIRD-PARTY/SuperDictate-LICENSE` | код в дереве |
|
||||
| распознавание речи | `FluidInference/FluidAudio` | Apache-2.0 | `THIRD-PARTY/FluidAudio-LICENSE` | компилируется в приложение |
|
||||
| модель речи | `FluidInference/parakeet-tdt-0.6b-v3-coreml` | CC-BY-4.0 | `THIRD-PARTY/parakeet-CC-BY-4.0` | качается на машину при установке |
|
||||
| движок Whisper | `ggml-org/whisper.cpp` v1.9.2 | MIT | `THIRD-PARTY/whisper.cpp-LICENSE` | **бинарный `whisper.framework` внутри `.app`** |
|
||||
| иерархическая кластеризация | fastcluster (Daniel Muellner, Google) | BSD-3 | `THIRD-PARTY/fastcluster-LICENSE` | через FluidAudio, разбор говорящих |
|
||||
| кластеризация VBx | VBx | Apache-2.0 | `THIRD-PARTY/VBx-LICENSE` | через FluidAudio, разбор говорящих |
|
||||
|
||||
Три последние строки добавлены 06.09.2026 после сверки того, что РЕАЛЬНО едет
|
||||
пользователю, а не того, что записано в зависимостях.
|
||||
|
||||
Whisper пропускался: `whisper.framework` кладётся внутрь `.app` собранным
|
||||
бинарником, а MIT требует нести уведомление об авторстве вместе с бинарной
|
||||
формой. Зависимость видна в `Package.swift`, но лицензия не ехала.
|
||||
|
||||
fastcluster и VBx появились вместе с разбором записи по говорящим: он поднимает
|
||||
офлайн-диаризатор FluidAudio, а под ним лежат `AHCClustering.swift` и
|
||||
`VBxClustering.swift` - производные чужой работы со своими условиями. Пока
|
||||
диаризатор не использовался, обязательства не было; с ним оно появилось.
|
||||
|
||||
Правило, по которому этот список ведётся, названо владельцем прямо: взяли идею и
|
||||
написали свой код - никому ничего не должны и никого не указываем. Несём чужой
|
||||
код или чужие наработки - указываем. Ниже перечислено только второе.
|
||||
|
||||
GPL-код не вендорится: он заразил бы весь продукт. Проприетарные данные Punto Switcher
|
||||
(`triggers.dat`, `ps.dat`) не переносились ни в каком виде — форматы изучались ради понимания
|
||||
(`triggers.dat`, `ps.dat`) не переносились ни в каком виде - форматы изучались ради понимания
|
||||
подхода, файлы остались у Яндекса. Проприетарные CoreML-конвертации Argmax
|
||||
(`argmaxinc/parakeetkit-pro`, лежит на диске владельца рядом) не использовались: они под NDA.
|
||||
|
||||
---
|
||||
|
||||
## 1. RuSwitcher — переключение раскладки
|
||||
## 1. RuSwitcher - переключение раскладки
|
||||
|
||||
Часть исходников smltlk происходит из проекта RuSwitcher.
|
||||
|
||||
@@ -27,7 +46,28 @@ GPL-код не вендорится: он заразил бы весь прод
|
||||
- Полный текст лицензии: THIRD-PARTY/RuSwitcher-LICENSE
|
||||
|
||||
Код взят, изменен и распространяется на условиях MIT. Файлы, происходящие от донора,
|
||||
несут отметку в шапке. Список перенесенных файлов и внесенных изменений — ниже.
|
||||
несут отметку в шапке. Список перенесенных файлов и внесенных изменений - ниже.
|
||||
|
||||
## Сверка 06.09.2026
|
||||
|
||||
Список проверен построчным сравнением с донорами на заявленных коммитах, а не по
|
||||
отметкам в шапках. Что нашла сверка:
|
||||
|
||||
- файлов, где отметка стоит, а кода донора уже нет, - НОЛЬ. Снимать нечего;
|
||||
- 23 файла несут узнаваемый код донора, местами дословно: `LayoutSwitcher.swift`,
|
||||
`SpotlightAX.swift`, `KeyCodes.swift`, `ShortWords.swift` совпадают полностью,
|
||||
`TextConverter.swift` на 99% одним куском в 315 строк;
|
||||
- 7 файлов переписаны своим кодом, но держат наработки донора: подобранные им
|
||||
числовые константы плашки и формулы дыхания и синтетического уровня голоса.
|
||||
Это не бойлерплейт AppKit, а подобранные автором параметры, и отметка остаётся;
|
||||
- ДВА файла несли код донора БЕЗ отметки, и это нарушение в обратную сторону:
|
||||
`IrizCore/PrivateFiles.swift` (приватная запись файлов) и
|
||||
`IrizDictate/DictationHistoryClipboard.swift` (временный буфер обмена). Код
|
||||
выносили в общие модули, а отметка за ним не ехала. Отметки поставлены.
|
||||
|
||||
Правило, по которому список ведётся: несём чужой код или чужие наработки -
|
||||
указываем; взяли идею и написали своё - не указываем. Мелочи вроде семи строк
|
||||
аргументов системного вызова, которые иначе не написать, в список не идут.
|
||||
|
||||
## Проверка изменений апстрима
|
||||
|
||||
@@ -39,21 +79,21 @@ GPL-код не вендорится: он заразил бы весь прод
|
||||
|
||||
grep -rl RuSwitcher Sources --include='*.swift' | sort
|
||||
|
||||
- `Sources/SmltlkCore/` (5): Dict.swift · KeyCodes.swift · KeyMapping.swift ·
|
||||
- `Sources/IrizCore/` (5): Dict.swift · KeyCodes.swift · KeyMapping.swift ·
|
||||
LayoutDetector.swift · ShortWords.swift
|
||||
- `Sources/SmltlkInput/` (7): AutoSwitchPolicy.swift · DynamicKeyMapping.swift ·
|
||||
- `Sources/IrizInput/` (7): AutoSwitchPolicy.swift · DynamicKeyMapping.swift ·
|
||||
KeyboardMonitor.swift · LayoutSwitcher.swift · SettingsManager.swift ·
|
||||
SpotlightAX.swift · TextConverter.swift
|
||||
- `Sources/SmltlkApp/` (1): AppDelegate.swift — несёт двойную отметку, RuSwitcher
|
||||
- `Sources/IrizApp/` (1): AppDelegate.swift - несёт двойную отметку, RuSwitcher
|
||||
и SuperDictate
|
||||
|
||||
Файлов `AutoSwitch.swift` и `main.swift` в дереве нет: что с ними стало — ниже.
|
||||
Файлов `AutoSwitch.swift` и `main.swift` в дереве нет: что с ними стало - ниже.
|
||||
|
||||
## Внесенные изменения
|
||||
|
||||
- 03.08.2026 — вендоринг: все 20 файлов скопированы без изменений кода, в шапку каждого
|
||||
- 03.08.2026 - вендоринг: все 20 файлов скопированы без изменений кода, в шапку каждого
|
||||
добавлена одна строка атрибуции (коммит 8c45253).
|
||||
- 03.08.2026 — удалено 8 файлов как не относящиеся к двум функциям приложения
|
||||
- 03.08.2026 - удалено 8 файлов как не относящиеся к двум функциям приложения
|
||||
(автопереключение раскладки и конвертация выделенного): Localization.swift (локализация
|
||||
на 16 языков) · SettingsWindowController.swift (окно настроек) · UpdateChecker.swift
|
||||
(автообновление по сети) · CaretIndicator.swift (индикатор у каретки) ·
|
||||
@@ -62,25 +102,25 @@ GPL-код не вендорится: он заразил бы весь прод
|
||||
AppRelauncher.swift (перезапуск приложения). Все места вызова удаленных классов
|
||||
вычищены из оставшихся файлов; русские строки вписаны литералами на месте;
|
||||
SettingsManager.swift ужат до поддерживаемых опций.
|
||||
- 03.08.2026 — пакет разложен на таргеты Core / Input / App (коммит `dbc8ce9`).
|
||||
- 03.08.2026 - пакет разложен на таргеты Core / Input / App (коммит `dbc8ce9`).
|
||||
`AutoSwitch.swift` (206 строк) разобран на три файла: `AutoSwitchPolicy.swift` (политика),
|
||||
`LayoutDetector.swift` (определение языка) и `Dict.swift` (словарь) — все три несут
|
||||
`LayoutDetector.swift` (определение языка) и `Dict.swift` (словарь) - все три несут
|
||||
отметку RuSwitcher. `KeyCodes.swift`, `KeyMapping.swift`, `ShortWords.swift` переехали
|
||||
в `SmltlkCore`; `DynamicKeyMapping.swift`, `KeyboardMonitor.swift`, `LayoutSwitcher.swift`,
|
||||
`SettingsManager.swift`, `SpotlightAX.swift`, `TextConverter.swift` — в `SmltlkInput`.
|
||||
- 04.08.2026 — `main.swift` донора удалён (коммит `113fa91`): оболочка переписана
|
||||
на `MenuBarExtra`, точка входа теперь `Sources/SmltlkApp/SmltlkAppMain.swift` — свой код,
|
||||
в `IrizCore`; `DynamicKeyMapping.swift`, `KeyboardMonitor.swift`, `LayoutSwitcher.swift`,
|
||||
`SettingsManager.swift`, `SpotlightAX.swift`, `TextConverter.swift` - в `IrizInput`.
|
||||
- 04.08.2026 - `main.swift` донора удалён (коммит `113fa91`): оболочка переписана
|
||||
на `MenuBarExtra`, точка входа теперь `Sources/IrizApp/SmltlkAppMain.swift` - свой код,
|
||||
отметки о происхождении не несёт.
|
||||
|
||||
Арифметика итога: 20 файлов вендоринга − 8 удалённых = 12; `AutoSwitch.swift` стал тремя
|
||||
файлами (+2); `main.swift` удалён (−1). Итого 13 — столько же возвращает `grep` выше.
|
||||
файлами (+2); `main.swift` удалён (−1). Итого 13 - столько же возвращает `grep` выше.
|
||||
|
||||
---
|
||||
|
||||
## 2. SuperDictate — диктовка
|
||||
## 2. SuperDictate - диктовка
|
||||
|
||||
Конвейер диктовки (захват звука, обёртка распознавания, вставка текста в фокусное поле,
|
||||
разбор горячих клавиш, починка текста) происходит из SuperDictate — форка Parakey.
|
||||
разбор горячих клавиш, починка текста) происходит из SuperDictate - форка Parakey.
|
||||
|
||||
- Источник: https://github.com/shlgd/SuperDictate
|
||||
- Коммит: 83dd7e44ce6621ebc14673affba1316c1a4476ba (релиз v0.2.40, 03.08.2026)
|
||||
@@ -91,39 +131,60 @@ GPL-код не вендорится: он заразил бы весь прод
|
||||
Код взят, изменён и распространяется на условиях MIT. Файлы, происходящие от донора,
|
||||
несут отметку в шапке.
|
||||
|
||||
### Проверка изменений апстрима
|
||||
### Сверка 06.09.2026
|
||||
|
||||
Список проверен построчным сравнением с донорами на заявленных коммитах, а не по
|
||||
отметкам в шапках. Что нашла сверка:
|
||||
|
||||
- файлов, где отметка стоит, а кода донора уже нет, - НОЛЬ. Снимать нечего;
|
||||
- 23 файла несут узнаваемый код донора, местами дословно: `LayoutSwitcher.swift`,
|
||||
`SpotlightAX.swift`, `KeyCodes.swift`, `ShortWords.swift` совпадают полностью,
|
||||
`TextConverter.swift` на 99% одним куском в 315 строк;
|
||||
- 7 файлов переписаны своим кодом, но держат наработки донора: подобранные им
|
||||
числовые константы плашки и формулы дыхания и синтетического уровня голоса.
|
||||
Это не бойлерплейт AppKit, а подобранные автором параметры, и отметка остаётся;
|
||||
- ДВА файла несли код донора БЕЗ отметки, и это нарушение в обратную сторону:
|
||||
`IrizCore/PrivateFiles.swift` (приватная запись файлов) и
|
||||
`IrizDictate/DictationHistoryClipboard.swift` (временный буфер обмена). Код
|
||||
выносили в общие модули, а отметка за ним не ехала. Отметки поставлены.
|
||||
|
||||
Правило, по которому список ведётся: несём чужой код или чужие наработки -
|
||||
указываем; взяли идею и написали своё - не указываем. Мелочи вроде семи строк
|
||||
аргументов системного вызова, которые иначе не написать, в список не идут.
|
||||
|
||||
## Проверка изменений апстрима
|
||||
|
||||
gh api repos/shlgd/SuperDictate/compare/83dd7e4...main --jq '.files[].filename'
|
||||
|
||||
### Что взято
|
||||
|
||||
Донор — один файл `main.swift` на 23 205 строк. Перенесено ≈ 2 900 строк конвейера
|
||||
Донор - один файл `main.swift` на 23 205 строк. Перенесено ≈ 2 900 строк конвейера
|
||||
«нажал клавишу → записал → распознал → вставил», разложенных по отдельным файлам;
|
||||
каждый несёт отметку в шапке — она и есть карта заимствований.
|
||||
каждый несёт отметку в шапке - она и есть карта заимствований.
|
||||
|
||||
Всего 19 файлов с отметкой SuperDictate; список воспроизводится командой
|
||||
|
||||
grep -rl 'SuperDictate\|Parakey' Sources --include='*.swift' | xargs grep -l 'Основано на\|адаптирован' | sort
|
||||
|
||||
- `Sources/SmltlkDictate/` (17): AudioCapture.swift · DictationHistoryWindow.swift ·
|
||||
- `Sources/IrizDictate/` (17): AudioCapture.swift · DictationHistoryWindow.swift ·
|
||||
DictationHUD.swift · DictationHUDCapsule.swift · DictationHUDExport.swift ·
|
||||
DictationHUDWindow.swift · DictationSettings.swift · DictationSupport.swift ·
|
||||
DictationText.swift · HotkeyAutomaton.swift · HotkeyChoice.swift · HotkeyListener.swift ·
|
||||
Logger.swift · Permissions.swift · Sounds.swift · TextInserter.swift · Transcriber.swift
|
||||
- `Sources/SmltlkSettings/` (1): HotkeyRecorderController.swift
|
||||
- `Sources/SmltlkApp/` (1): AppDelegate.swift — двойная отметка, RuSwitcher и SuperDictate
|
||||
- `Sources/IrizSettings/` (1): HotkeyRecorderController.swift
|
||||
- `Sources/IrizApp/` (1): AppDelegate.swift - двойная отметка, RuSwitcher и SuperDictate
|
||||
|
||||
`Sources/SmltlkImport/SuperDictateImporter.swift` в этот список не входит: донорского кода
|
||||
`Sources/IrizImport/SuperDictateImporter.swift` в этот список не входит: донорского кода
|
||||
в нём нет, он лишь читает формат данных SuperDictate при переезде со старого приложения.
|
||||
|
||||
**`HotkeyRecorderController`** (донорские строки 3865–4150) взят и переписан: у нас
|
||||
`Sources/SmltlkSettings/HotkeyRecorderController.swift`, 212 строк. Панель записи горячей
|
||||
`Sources/IrizSettings/HotkeyRecorderController.swift`, 212 строк. Панель записи горячей
|
||||
клавиши, перехват через `CGEventTap` с откатом на локальный монитор и разбор
|
||||
модификаторов — оттуда; вид панели, тексты и связывание с настройками — код smltlk.
|
||||
модификаторов - оттуда; вид панели, тексты и связывание с настройками - код smltlk.
|
||||
|
||||
### Что осознанно НЕ взято
|
||||
|
||||
- **`UpdateCheck` и `SuperDictateUpdateInstaller`** (854 строки) — проверка обновлений
|
||||
- **`UpdateCheck` и `SuperDictateUpdateInstaller`** (854 строки) - проверка обновлений
|
||||
и установщик. Это единственные места во всём доноре, где вызывается `URLSession`.
|
||||
Продукт обязан быть офлайн, поэтому они не переносились вовсе. То же самое уже сделано
|
||||
с `UpdateChecker` RuSwitcher. Отсутствие сети держится машинно:
|
||||
@@ -131,25 +192,25 @@ GPL-код не вендорится: он заразил бы весь прод
|
||||
- **`ParakeyApp`** (7 758 строк, 33 % файла) не переносился целиком. Меню,
|
||||
окна настроек, обновления и слежение HUD за кареткой не взяты. Однако в новой
|
||||
плашке адаптированы отдельные блоки донорского HUD; точная карта приведена ниже.
|
||||
- **Self-тесты донора** (~6 800 строк, 29 % файла) — перечитаны как источник тест-кейсов,
|
||||
- **Self-тесты донора** (~6 800 строк, 29 % файла) - перечитаны как источник тест-кейсов,
|
||||
целиком не переносились.
|
||||
- **`FocusedInsertionTargetTracker` / `Locator`** (636 строк обхода дерева Accessibility) —
|
||||
- **`FocusedInsertionTargetTracker` / `Locator`** (636 строк обхода дерева Accessibility) -
|
||||
выяснилось, что к вставке текста он отношения не имеет: им позиционируется HUD донора,
|
||||
а вставка идёт через `CGEvent`. Выброшен целиком.
|
||||
- **LaunchAgent-демон и реестр панели** (254 строки) — у нас один процесс и один `SMAppService`.
|
||||
- **LaunchAgent-демон и реестр панели** (254 строки) - у нас один процесс и один `SMAppService`.
|
||||
- **Мьют системного звука со сторожем** (264 строки), **синхронизация правок через файл**
|
||||
(355 строк), диагностика и статистика — балласт для продукта из трёх функций.
|
||||
- **Иконка `Parakey.icns`** — знак у нас свой.
|
||||
(355 строк), диагностика и статистика - балласт для продукта из трёх функций.
|
||||
- **Иконка `Parakey.icns`** - знак у нас свой.
|
||||
|
||||
### Изменения в перенесённом коде
|
||||
|
||||
- 05.08.2026 — перенос: домен ошибок `SuperDictate.*` → `smltlk.*`, журнал восстановления
|
||||
- 05.08.2026 - перенос: домен ошибок `SuperDictate.*` → `smltlk.*`, журнал восстановления
|
||||
выброшен, монолит разложен по файлам, в шапку каждого добавлена строка происхождения.
|
||||
- 05.08.2026 — загрузка модели ужата до `AsrModels.loadFromCache()`. Путь донора
|
||||
- 05.08.2026 - загрузка модели ужата до `AsrModels.loadFromCache()`. Путь донора
|
||||
с `AsrModels.download(force: true)` при провале проверки целостности заменён на жёсткий
|
||||
отказ: так сетевой путь физически недостижим. Дополнительно выставляется
|
||||
`DownloadUtils.enforceOffline = true` — рубильник на уровне библиотеки.
|
||||
- 07.08.2026 — плашка диктовки переделана на AppKit. Из зафиксированного `main.swift`
|
||||
`DownloadUtils.enforceOffline = true` - рубильник на уровне библиотеки.
|
||||
- 07.08.2026 - плашка диктовки переделана на AppKit. Из зафиксированного `main.swift`
|
||||
донора адаптированы только следующие блоки:
|
||||
- `DictationHUD.swift`: константы тайминга и фазы, строки 85–97 и 1894–1905;
|
||||
сглаживание уровня и сторож залипания, строки 11190–11204;
|
||||
@@ -161,24 +222,24 @@ GPL-код не вендорится: он заразил бы весь прод
|
||||
- `DictationHUDExport.swift` и CLI-вход в `AppDelegate.swift`: внеэкранный PNG-рендер и
|
||||
разбор `--export-hud-animation`, строки 8799–8925 и 23174–23184.
|
||||
Таблица всех стадий, новые глифы, текст подсказок, перетаскивание, хранение позиции
|
||||
и привязка к prompt-режиму — код smltlk.
|
||||
и привязка к prompt-режиму - код smltlk.
|
||||
|
||||
---
|
||||
|
||||
## 3. FluidAudio — движок распознавания
|
||||
## 3. FluidAudio - движок распознавания
|
||||
|
||||
Распознавание речи идёт через FluidAudio (Parakeet TDT v3 на Neural Engine).
|
||||
Подключён как зависимость Swift Package Manager, исходники не вендорятся.
|
||||
|
||||
- Источник: https://github.com/FluidInference/FluidAudio
|
||||
- Пин: `313feb4bd692780a9a5b5fa9048fdb119486dde8` — та же ревизия, что у донора
|
||||
- Пин: `313feb4bd692780a9a5b5fa9048fdb119486dde8` - та же ревизия, что у донора
|
||||
- Лицензия: Apache-2.0
|
||||
- Полный текст лицензии: `THIRD-PARTY/FluidAudio-LICENSE`
|
||||
|
||||
## 4. Модель речи
|
||||
|
||||
- Источник: `FluidInference/parakeet-tdt-0.6b-v3-coreml` (Hugging Face)
|
||||
- Лицензия: **CC-BY-4.0** — коммерческое использование разрешено при указании авторства
|
||||
- Лицензия: **CC-BY-4.0** - коммерческое использование разрешено при указании авторства
|
||||
- Полный текст лицензии: `THIRD-PARTY/parakeet-CC-BY-4.0`. CC-BY-4.0 требует передавать
|
||||
текст лицензии вместе с материалом, поэтому он лежит в репозитории, а не ссылкой
|
||||
- Исходная модель: `nvidia/parakeet-tdt-0.6b-v3`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# iriz
|
||||
|
||||
Speak and the text appears. Your speech is decoded on your own Mac, not in somebody's cloud.
|
||||
Speak out loud and the text appears. Your Mac does the decoding, and nothing travels to somebody else's cloud.
|
||||
|
||||
[Русский](README.ru.md) · [中文](README.zh.md)
|
||||
|
||||
@@ -37,31 +37,39 @@ Speak and the text appears. Your speech is decoded on your own Mac, not in someb
|
||||
|
||||
## What This Is
|
||||
|
||||
iriz lives in the menu bar. It fixes a phrase typed in the wrong keyboard layout. It types what you dictate: press the key, speak, press again. It turns rambling speech into a finished task for an agent, and it translates on the way.
|
||||
This is a Mac app that types for you while you talk.
|
||||
|
||||

|
||||
Here is how it goes. You press one key, speak in your normal voice, press it again. The text lands where the cursor was: an email, a chat, a search box. Nothing to switch to, no window to open.
|
||||
|
||||
Then comes the part it was polished for. Fix a word after it lands and iriz notices, then offers to remember the replacement. Speech is cleaned of stumbles and repeats on your own machine. A recording of a meeting or a court hearing is split by speaker, names go in by hand, and the transcript lands next to the audio.
|
||||
What sets it apart from similar apps is where the speech gets decoded. Usually your voice travels to somebody's server, turns into text there and comes back. Here your own Mac does the work, and the audio never leaves the machine.
|
||||
|
||||

|
||||
|
||||
It does more than that. It repairs a phrase typed in the wrong keyboard layout. Fix a word after it lands and the app offers to remember the correction. It takes the stumbles and repeats out of speech. It splits a recording of a meeting or a court hearing by voice and puts a finished transcript next to the audio.
|
||||
|
||||

|
||||
|
||||
Speech is decoded on the Mac, on the Neural Engine.
|
||||
|
||||
## Why It Helps
|
||||
|
||||
Cloud dictation cleans up speech better than anything local. But what travels up there is a conversation with a client, a draft filing, names and amounts. For someone bound by professional privilege that trade never pays off. So recognition stays local here, and the single trip to the network is one you start yourself.
|
||||
Anyone who writes for a living loses hours to typing. The same thought comes out faster and whole when spoken: typing, you hunt for words; speaking, you do not.
|
||||
|
||||
One thing gets in the way. Cloud dictation cleans speech better than anything local, but what you said leaves the machine: a client call, a draft, names and figures. For a doctor, a lawyer, a therapist, that trade never pays off.
|
||||
|
||||
So here your Mac does the decoding, and the app reaches the network only when you press the button.
|
||||
|
||||
## The Main Advantage
|
||||
|
||||
**Main advantage:** recognition runs on your machine, and during dictation the network is shut by a switch, not by a promise.
|
||||
**Main advantage:** your Mac decodes the speech, and during dictation the network is closed by a switch in the code rather than a promise in the text.
|
||||
|
||||
**Why this is better:** The switch sits inside the recognition library and returns to its place even when a download fails. Documentation does not prove that: a script pins the set of networking symbols in the built binary and asks the kernel whether the running app holds a single socket.
|
||||
|
||||
## How It Works
|
||||
|
||||
Press the key, say your sentence, press again. The text lands where the cursor was blinking: an email, a chat, a terminal. If it does not arrive, the pill opens into a panel and you take the text from there.
|
||||
Press the key, say your sentence, press again. The text lands where the cursor was blinking.
|
||||
|
||||
The language switches from the pill itself, on a right click. People change it a second before they speak, and walking to Settings for that makes no sense.
|
||||
If it could not be pasted, nothing is lost: the small pill at the bottom of the screen opens into a panel and you take the text from there.
|
||||
|
||||
The language switches on the pill itself, with a right click. People change it a second before they speak, and walking to Settings for that makes no sense.
|
||||
|
||||

|
||||
|
||||
@@ -156,7 +164,7 @@ One thing goes out, and only on your button: the one-time speech model download.
|
||||
|
||||
## Limits
|
||||
|
||||
Status: working, the author dictates with it every day.
|
||||
Status: working. The author dictates with it every day.
|
||||
|
||||
- macOS 14 and newer only. No Windows, no Linux, no iPad.
|
||||
- Automatic layout switching covers the English and Russian pair.
|
||||
|
||||
+19
-11
@@ -1,6 +1,6 @@
|
||||
# iriz
|
||||
|
||||
Говорите - появляется текст. Речь разбирается на вашем Маке, а не в чужом облаке.
|
||||
Говорите вслух, на экране появляется текст. Разбирает речь сам Мак, ничего не улетает в чужое облако.
|
||||
|
||||
[English](README.md) · [中文](README.zh.md)
|
||||
|
||||
@@ -37,31 +37,39 @@
|
||||
|
||||
## Что это
|
||||
|
||||
iriz живет в строке меню. Чинит раскладку, когда фраза набрана не в той. Пишет текст под диктовку: нажали клавишу, сказали, отпустили. Превращает сбивчивую речь в готовое задание агенту и переводит на ходу.
|
||||
Это программа для Мака, которая печатает за вас, пока вы говорите.
|
||||
|
||||

|
||||
Работает так. Вы нажимаете одну клавишу, говорите обычным голосом, нажимаете еще раз. Текст встает туда, где стоял курсор: в письмо, в чат, в поле поиска. Никуда переключаться не нужно, отдельного окна нет.
|
||||
|
||||
Дальше начинается то, ради чего его и доводили. Поправили слово после вставки - iriz это заметил и предложил запомнить замену. Речь чистится от запинок и повторов прямо на машине. Запись встречи или судебного заседания разбирается по говорящим, имена подставляются руками, и рядом со звуком ложится протокол.
|
||||
Главное отличие от похожих программ в том, где разбирается речь. Обычно голос уезжает на чужой сервер, там превращается в текст и возвращается. Здесь считает ваш Мак, и звук с машины не уходит.
|
||||
|
||||

|
||||
|
||||
Умеет и другое. Чинит фразу, набранную не в той раскладке. Поправите слово после вставки, и программа предложит запомнить замену. Уберет из речи запинки и повторы. Разберет запись встречи или судебного заседания по голосам, а рядом со звуком положит готовый протокол.
|
||||
|
||||

|
||||
|
||||
Речь разбирается на Маке, на Neural Engine.
|
||||
|
||||
## Зачем это нужно
|
||||
|
||||
Облачная диктовка чистит речь лучше любой местной. Но наружу уезжает разговор с доверителем, черновик заявления, имена и суммы. Для человека под профессиональной тайной такой обмен не окупается ничем. Поэтому распознавание тут местное, а единственный поход в сеть вы начинаете сами кнопкой.
|
||||
Кто много пишет по работе, тратит на набор часы. Голосом та же мысль выходит быстрее и целее: печатая, человек подбирает слова, говоря, не подбирает.
|
||||
|
||||
Мешает одно. Облачная диктовка чистит речь лучше любой местной, но наружу уезжает то, что вы сказали: разговор с клиентом, черновик документа, имена и суммы. Для врача, юриста, психолога такой обмен не окупается ничем.
|
||||
|
||||
Поэтому тут разбирает Мак, а в сеть программа ходит только по вашей кнопке.
|
||||
|
||||
## Главное преимущество
|
||||
|
||||
**Главное преимущество:** распознавание идет на вашей машине, и в диктовке сеть запрещена рубильником, а не обещанием.
|
||||
**Главное преимущество:** речь разбирает ваш Мак, и во время диктовки сеть закрыта рубильником в коде, а не обещанием в тексте.
|
||||
|
||||
**Почему это лучше:** Рубильник стоит внутри библиотеки распознавания и возвращается на место даже когда загрузка падает. Проверяет это не документация: скрипт пинует набор сетевых символов в собранном бинарнике и спрашивает у ядра, есть ли у работающего приложения хоть один сокет.
|
||||
|
||||
## Как это работает
|
||||
|
||||
Нажали клавишу, сказали фразу, нажали еще раз. Текст встает туда, где мигал курсор: в письмо, в чат, в терминал. Не доехал - плашка раскрывается в панель, откуда его можно забрать целиком.
|
||||
Нажали клавишу, сказали фразу, нажали еще раз. Текст встает туда, где мигал курсор.
|
||||
|
||||
Язык переключается с самой плашки, правым щелчком: его меняют за секунду до того, как заговорить, и ходить за этим в настройки незачем.
|
||||
Если вставить не удалось, ничего не потеряно: маленькая плашка внизу экрана раскроется в панель, и текст можно забрать оттуда.
|
||||
|
||||
Язык переключается на самой плашке, правым щелчком. Его меняют за секунду до того, как заговорить, и ходить за этим в настройки незачем.
|
||||
|
||||

|
||||
|
||||
@@ -156,7 +164,7 @@ claude # или пустите агента: он провед
|
||||
|
||||
## Ограничения
|
||||
|
||||
Статус: работает, автор диктует им каждый день.
|
||||
Статус: работает. Автор диктует им каждый день.
|
||||
|
||||
- Только macOS 14 и новее. Ни Windows, ни Linux, ни iPad.
|
||||
- Автопереключение раскладки работает для пары английский и русский.
|
||||
|
||||
+18
-12
@@ -1,6 +1,6 @@
|
||||
# iriz
|
||||
|
||||
开口说,字就出现。识别在你自己的 Mac 上完成,不去别人的云里绕一圈。
|
||||
你说出来,屏幕上就有字。识别由你自己的 Mac 完成,声音不会上传到别人的云。
|
||||
|
||||
[English](README.md) · [Русский](README.ru.md)
|
||||
|
||||
@@ -37,33 +37,39 @@
|
||||
|
||||
## 这是什么
|
||||
|
||||
iriz 住在菜单栏里。输入法切错了,它把那句话改回来。你按键说话再按一次,它把话写成文字。它还能把零散的口述变成给智能体的任务,也能顺手翻译。
|
||||
这是一个 Mac 上的小程序:你说话,它替你打字。
|
||||
|
||||

|
||||
用法是这样。按一下键,用平常的语气说话,再按一下。文字落在光标原来的位置:邮件里、聊天窗口里、搜索框里。不用切换到别的地方,也没有额外的窗口。
|
||||
|
||||
接下来才是它反复打磨的部分。文字落进输入框后你改了一个词,iriz 会注意到,并问要不要记住这个替换。口语里的停顿和重复在你自己的机器上清理干净。会议或庭审的录音按发言人分开,名字由你手动填上,记录就放在录音旁边。
|
||||
它和同类程序最大的区别,在于识别发生在哪里。通常你的声音要传到别人的服务器,在那边变成文字再传回来。这里由你自己的 Mac 计算,声音不离开这台机器。
|
||||
|
||||

|
||||
|
||||
它还会别的。输入法切错了,它把那句话改回来。文字落下后你改了一个词,它会问要不要记住。口语里的停顿和重复,它替你清掉。会议或者庭审的录音,它按发言人分开,并把整理好的记录放在录音旁边。
|
||||
|
||||

|
||||
|
||||
语音在这台 Mac 上、在 Neural Engine 上识别。
|
||||
|
||||
## 它解决什么问题
|
||||
|
||||
云端听写把口语收拾得比本地干净,这是实话。可传上去的东西,是和委托人的对话、是起草到一半的文书、是名字和金额。对一个受职业保密约束的人来说,这笔交换怎么算都不划算。所以识别留在本机,唯一一次联网由你按按钮开始。
|
||||
靠写字吃饭的人,每天都有几个小时花在打字上。同一个想法,说出来更快也更完整:打字时人在挑词,说话时不挑。
|
||||
|
||||
只有一件事挡在前面。云端听写把口语整理得比任何本地方案都干净,可你说的内容也随之离开了这台机器:和客户的通话、文件草稿、人名和金额。对医生、律师、心理咨询师来说,这笔交换怎么算都不划算。
|
||||
|
||||
所以这里由你的 Mac 来识别,只有你按下按钮时,程序才会联网。
|
||||
|
||||
## 最大的优势
|
||||
|
||||
**最大的优势:** 识别在你自己的机器上跑,听写期间由识别库里的一道总闸切断联网,不是靠一句承诺。
|
||||
**最大的优势:** 识别在你自己的 Mac 上完成,口述期间网络由代码里的开关关闭,而不是靠文字承诺。
|
||||
|
||||
**为什么这样更好:** 开关叫 `DownloadUtils.enforceOffline`,位置在识别库内部,连下载失败的时候也会自己归位。光有文档不算数:自检脚本盯住编译好的二进制里那一组网络符号,再去问系统,运行中的应用手上有没有一个套接字。
|
||||
|
||||
## 工作流程
|
||||
|
||||
按键,说一句话,再按一次。文字落在光标刚才闪动的地方:邮件、聊天窗口、终端。
|
||||
按键,说一句话,再按一次。文字落在光标刚才闪动的地方。
|
||||
|
||||
要是没落进去,那条小胶囊会展开成面板,你从那里把文字取走。
|
||||
万一没能贴进去,东西也没丢:屏幕下方那颗小胶囊会展开成面板,你从那里取走文字。
|
||||
|
||||
识别语言直接在胶囊上右键切换。人总是在开口前一秒才决定说哪种语言,为这个跑去设置没有道理。
|
||||
识别语言直接在胶囊上右键切换。人总在开口前一秒才决定说哪种语言,为这个跑去设置没有道理。
|
||||
|
||||

|
||||
|
||||
@@ -158,7 +164,7 @@ claude # или пустите агента: он провед
|
||||
|
||||
## 局限
|
||||
|
||||
状态:可用,作者每天用它口述。
|
||||
状态:可用。作者每天都在用它口述。
|
||||
|
||||
- 语音模型认十八种欧洲语言,中文不在其中:中文口述它听不懂。
|
||||
- 自动换键盘布局只管英语和俄语这一对,对拼音、五笔这类中文输入法不适用。
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
// Основано на SuperDictate (MIT, © 2025 shlgd), коммит 83dd7e4.
|
||||
//
|
||||
// Отметка поставлена 06.09.2026 по итогу сверки с донором: приватная запись
|
||||
// файлов (O_NOFOLLOW/O_CLOEXEC, fchmod 0600, проверка st_nlink, writeAllData,
|
||||
// currentPOSIXError) взята у него дословно. Механика жила в Logger.swift, где
|
||||
// отметка есть; коммит 846456a вынес её в общий модуль, а отметка за кодом не
|
||||
// поехала. Условие MIT - нести уведомление вместе с кодом, а не вместе с
|
||||
// файлом, где он лежал раньше.
|
||||
import Darwin
|
||||
import Foundation
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
// Основано на SuperDictate (MIT, © 2025 shlgd), коммит 83dd7e4.
|
||||
//
|
||||
// Отметка поставлена 06.09.2026 по итогу сверки с донором: класс временного
|
||||
// буфера обмена (transientChangeCount, restoreWorkItem, install,
|
||||
// pasteboard(_:item:provideDataForType:), finish) взят у него дословно. Код
|
||||
// выделен из работы над окном истории, и отметка за ним не поехала.
|
||||
// ⌘C в окне истории: положить запись в буфер обмена, не оставив её там навсегда.
|
||||
//
|
||||
// Почему буфер ВРЕМЕННЫЙ, а не «положили и забыли»: в этих записях расшифровки
|
||||
|
||||
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but not
|
||||
limited to compiled object code, generated documentation, and
|
||||
conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2021-2024 BUT Speech@FIT (original VBx project)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,11 @@
|
||||
Copyright:
|
||||
* Until package version 1.1.23: © 2011 Daniel Müllner <https://danifold.net>
|
||||
* All changes from version 1.1.24 on: © Google Inc. <https://www.google.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023-2026 The ggml authors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
<p align="center"><img src="assets/pantheon/doc-onboarding.png" alt="Iris in white marble sets her tablet on a low table beside the classical column, a gold ribbon of voice ending in the carved groove" width="100%"></p>
|
||||
|
||||
<p align="center"><img src="assets/pantheon/icon-wide.png" alt="The iriz icon: a marble Olympus with a voice gathered into a glass capsule above it" width="100%"></p>
|
||||
|
||||
This is the icon that will sit in your menu bar. A marble mountain and a voice gathered into a glass capsule above it: what you say turns into text right here, on your machine, and goes nowhere else.
|
||||
This walkthrough assumes you have never installed a menu bar app that listens to your keyboard. Every step says what to type or press and what you should see afterwards. If your screen shows something else, stop at that step: the answer sits in the difference, not further down the page.
|
||||
|
||||
You need a Mac on macOS 14 or newer, and about half a gigabyte of free disk for the speech model. Building from source also wants Xcode with Swift 6. Nothing gets installed behind your back at any point.
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
<p align="center"><img src="assets/pantheon/doc-onboarding.png" alt="Ирида из белого мрамора ставит табличку на низкий стол у классической колонны, золотая лента голоса ложится в высеченную борозду" width="100%"></p>
|
||||
|
||||
<p align="center"><img src="assets/pantheon/icon-wide.png" alt="Значок iriz: мраморный Олимп, над ним голос в стеклянной капсуле" width="100%"></p>
|
||||
|
||||
Вот значок, который появится у вас в строке меню. Мраморная гора и голос, собранный в стеклянную капсулу над ней: сказанное превращается в текст прямо здесь, на вашей машине, и никуда не улетает.
|
||||
Этот путь написан для человека, который ставит iriz первый раз в жизни. В каждом шаге сказано, что нажать или набрать, и что после этого появится на экране. Увидели другое, чем написано, остановитесь прямо там. Ответ лежит в этом расхождении, а не ниже по странице.
|
||||
|
||||
Нужен Мак на macOS 14 или новее. Если решите собирать из исходников, понадобится еще Xcode со Swift 6. Больше ничего заранее ставить не надо.
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
<p align="center"><img src="assets/pantheon/doc-onboarding.png" alt="白色大理石的伊里斯把石板放在古典石柱旁的矮桌上,金色的声音丝带落进刻好的凹槽里" width="100%"></p>
|
||||
|
||||
<p align="center"><img src="assets/pantheon/icon-wide.png" alt="iriz 图标:大理石的奥林匹斯,上方是收进玻璃舱的声音" width="100%"></p>
|
||||
|
||||
这就是将来出现在你菜单栏里的图标。一座大理石的山,山上方是收进玻璃舱的声音:你说的话就在这台机器上变成文字,不去别处。
|
||||
这份引导假设你从来没有装过这一类应用。每一步都写清楚你要做什么,以及之后屏幕上应该出现什么。看到的东西对不上,就停在那一步:答案在这个差别里,不在页面下面。
|
||||
|
||||
你需要一台 macOS 14 或更高的 Mac、大约 500 MB 空闲磁盘,还有三项系统权限:麦克风、辅助功能、输入监控。每一项在下面都会点名,说清楚它到底用来干什么。
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Reference in New Issue
Block a user