Say in the README that a Mac is one of the three

The first line still named KDE and Wayland only, and Install stopped at
Ubuntu. A Mac has nothing for install.sh to install into, so what it needs
is ffmpeg, PyQt6 and python dikte.py, plus BlackHole for a meeting. The
settings also sit somewhere else there.
This commit is contained in:
yusufipk
2026-08-05 15:09:16 +03:00
parent 41aec83a34
commit d63f2f4a5a
2 changed files with 24 additions and 9 deletions
+13 -5
View File
@@ -5,8 +5,9 @@ machine by default, a model cleans it up (dropping the *uh*s, the restarts, the
missing punctuation), and the result lands in your clipboard and is pasted into missing punctuation), and the result lands in your clipboard and is pasted into
whatever window you were typing in. whatever window you were typing in.
Built for KDE Plasma 6 on Wayland. No dependencies beyond system packages: Built for KDE Plasma 6 on Wayland, and runs on GNOME X11 and macOS too. No
just the Python standard library, 3.11 or newer, and PyQt6. dependencies beyond system packages: just the Python standard library, 3.11 or
newer, and PyQt6.
*[Türkçe README](README.tr.md)* *[Türkçe README](README.tr.md)*
@@ -37,6 +38,12 @@ tools instead:
sudo apt install pulseaudio-utils xclip xdotool ffmpeg sudo apt install pulseaudio-utils xclip xdotool ffmpeg
``` ```
macOS has no shortcut registry for `install.sh` to install into, so the listener
that catches the keys is the mechanism there and there is nothing to run:
`brew install ffmpeg`, `pip install PyQt6`, then `python dikte.py`. A meeting
needs BlackHole or Loopback, because nothing else offers what the speakers are
playing.
`install.sh` adds the `dikte` command, a menu entry, an autostart entry and the `install.sh` adds the `dikte` command, a menu entry, an autostart entry and the
two global shortcuts, whose keys are its two arguments. `./update.sh` pulls and two global shortcuts, whose keys are its two arguments. `./update.sh` pulls and
puts all of that back, keeping the keys you chose; `./uninstall.sh` takes it away puts all of that back, keeping the keys you chose; `./uninstall.sh` takes it away
@@ -48,9 +55,10 @@ speech to text on **OpenAI**, **Groq** or **OpenRouter** (`gpt-4o-transcribe`),
cleanup on OpenRouter (`google/gemini-3.5-flash-lite`) or, when either is cleanup on OpenRouter (`google/gemini-3.5-flash-lite`) or, when either is
installed, on Claude Code or Codex. The keys fall back to `OPENAI_API_KEY`, installed, on Claude Code or Codex. The keys fall back to `OPENAI_API_KEY`,
`GROQ_API_KEY` and `OPENROUTER_API_KEY`, and are stored in `GROQ_API_KEY` and `OPENROUTER_API_KEY`, and are stored in
`~/.config/dikte/config.json`, mode 600. Cleanup can be switched off, in which `~/.config/dikte/config.json`, mode 600, or in
case the raw transcript is pasted, and a thinking model's effort can be set next `~/Library/Application Support/Dikte` on a Mac. Cleanup can be switched off, in
to it. which case the raw transcript is pasted, and a thinking model's effort can be
set next to it.
## Using it ## Using it
+11 -4
View File
@@ -4,8 +4,9 @@
çevrilir, bir model transkripti temizler (ıı'lar, tekrarlar, eksik noktalama), çevrilir, bir model transkripti temizler (ıı'lar, tekrarlar, eksik noktalama),
sonuç panoya kopyalanır ve o an yazdığın pencereye yapıştırılır. sonuç panoya kopyalanır ve o an yazdığın pencereye yapıştırılır.
KDE Plasma 6 / Wayland için yazıldı. Sistem paketleri dışında bağımlılığı yok: KDE Plasma 6 / Wayland için yazıldı, GNOME X11 ve macOS'ta da çalışır. Sistem
sadece Python standart kütüphanesi (3.11 veya üstü) ve PyQt6. paketleri dışında bağımlılığı yok: sadece Python standart kütüphanesi (3.11 veya
üstü) ve PyQt6.
*[English README](README.md)* *[English README](README.md)*
@@ -36,6 +37,11 @@ araçlarıyla çalışır:
sudo apt install pulseaudio-utils xclip xdotool ffmpeg sudo apt install pulseaudio-utils xclip xdotool ffmpeg
``` ```
macOS'ta `install.sh`'ın kuracağı bir kısayol kaydı yok, tuşları yakalayan
dinleyici orada mekanizmanın kendisi, dolayısıyla kurulacak bir şey de yok:
`brew install ffmpeg`, `pip install PyQt6`, sonra `python dikte.py`. Toplantı
için BlackHole ya da Loopback gerekiyor, hoparlörden çıkanı kimse vermiyor.
`install.sh` `dikte` komutunu, menü girdisini, oturum açılışında otomatik `install.sh` `dikte` komutunu, menü girdisini, oturum açılışında otomatik
başlatmayı ve iki global kısayolu kurar; tuşları da iki argümanı. `./update.sh` başlatmayı ve iki global kısayolu kurar; tuşları da iki argümanı. `./update.sh`
son sürümü çeker ve bunları senin seçtiğin tuşlarla yerine koyar; son sürümü çeker ve bunları senin seçtiğin tuşlarla yerine koyar;
@@ -49,8 +55,9 @@ seçersen sesi yazıya çevirme **OpenAI**, **Groq** ya da **OpenRouter**'da
(`google/gemini-3.5-flash-lite`) ya da kuruluysa Claude Code veya Codex'te (`google/gemini-3.5-flash-lite`) ya da kuruluysa Claude Code veya Codex'te
çalışır. Anahtarları boş bırakırsan `OPENAI_API_KEY`, `GROQ_API_KEY` ve çalışır. Anahtarları boş bırakırsan `OPENAI_API_KEY`, `GROQ_API_KEY` ve
`OPENROUTER_API_KEY` kullanılır; anahtarlar `~/.config/dikte/config.json` `OPENROUTER_API_KEY` kullanılır; anahtarlar `~/.config/dikte/config.json`
içinde, izinler 600. Temizlemeyi tamamen kapatabilirsin, o zaman ham transkript içinde, izinler 600, Mac'te ise `~/Library/Application Support/Dikte` altında.
yapıştırılır; modelin yanındaki kutudan düşünme seviyesini de seçebilirsin. Temizlemeyi tamamen kapatabilirsin, o zaman ham transkript yapıştırılır; modelin
yanındaki kutudan düşünme seviyesini de seçebilirsin.
## Kullanım ## Kullanım