From d63f2f4a5aeb612784ea122ea0179a8cab6a434f Mon Sep 17 00:00:00 2001 From: yusufipk Date: Wed, 5 Aug 2026 15:09:16 +0300 Subject: [PATCH] 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. --- README.md | 18 +++++++++++++----- README.tr.md | 15 +++++++++++---- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1632708..5acc5e0 100644 --- a/README.md +++ b/README.md @@ -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 whatever window you were typing in. -Built for KDE Plasma 6 on Wayland. No dependencies beyond system packages: -just the Python standard library, 3.11 or newer, and PyQt6. +Built for KDE Plasma 6 on Wayland, and runs on GNOME X11 and macOS too. No +dependencies beyond system packages: just the Python standard library, 3.11 or +newer, and PyQt6. *[Türkçe README](README.tr.md)* @@ -37,6 +38,12 @@ tools instead: 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 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 @@ -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 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 -`~/.config/dikte/config.json`, mode 600. Cleanup can be switched off, in which -case the raw transcript is pasted, and a thinking model's effort can be set next -to it. +`~/.config/dikte/config.json`, mode 600, or in +`~/Library/Application Support/Dikte` on a Mac. Cleanup can be switched off, in +which case the raw transcript is pasted, and a thinking model's effort can be +set next to it. ## Using it diff --git a/README.tr.md b/README.tr.md index be08d12..d18f26e 100644 --- a/README.tr.md +++ b/README.tr.md @@ -4,8 +4,9 @@ çevrilir, bir model transkripti temizler (ıı'lar, tekrarlar, eksik noktalama), 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: -sadece Python standart kütüphanesi (3.11 veya üstü) ve PyQt6. +KDE Plasma 6 / Wayland için yazıldı, GNOME X11 ve macOS'ta da çalışır. Sistem +paketleri dışında bağımlılığı yok: sadece Python standart kütüphanesi (3.11 veya +üstü) ve PyQt6. *[English README](README.md)* @@ -36,6 +37,11 @@ araçlarıyla çalışır: 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 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; @@ -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 ç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` -içinde, izinler 600. Temizlemeyi tamamen kapatabilirsin, o zaman ham transkript -yapıştırılır; modelin yanındaki kutudan düşünme seviyesini de seçebilirsin. +içinde, izinler 600, Mac'te ise `~/Library/Application Support/Dikte` altında. +Temizlemeyi tamamen kapatabilirsin, o zaman ham transkript yapıştırılır; modelin +yanındaki kutudan düşünme seviyesini de seçebilirsin. ## Kullanım