From 1770d7db631fa5ade549db0a35106ad8583431d4 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Fri, 13 Mar 2026 23:58:09 +0300 Subject: [PATCH] Update README.md --- README.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 69 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c07aff9..db7b9cc 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,22 @@
Arch Packages + + ``` + python3 -m venv venv + source venv/bin/activate + pip install -r requirements.txt + ``` + ``` sudo pacman -S --needed python python-virtualenv python-gobject gtk4 libadwaita gobject-introspection cairo pango glib2 xdg-utils noto-fonts-emoji ``` +
+ Offline Voice Input for Linux + + 🎤 pw-record / arecord -> 📄 WAV file -> 🧠 whisper-cli -> ✍ Text input + 🎙️voice record >pw-record ``` @@ -26,12 +38,66 @@ >arecord ``` sudo pacman -S --needed alsa-utils + ``` + + 📄offline stt + ``` + sudo pacman -S --needed cmake make gcc + ``` + + Packages Check + ``` + paket kontrol + command -v pw-record || echo "pw-record not found" + command -v arecord || echo "arecord not found" + ``` + + Install whisper.cpp (Offline Speech Recognition Engine) + ``` + git clone https://github.com/ggml-org/whisper.cpp.git + cd whisper.cpp + cmake -B build + cmake --build build -j --config Release + ``` + + >ls build/bin + #Should see these -> ... whisper-cli, main, whisper-server, ... + + Download Tiny + ``` + mkdir -p ~/.local/share/whisper + wget -O ~/.local/share/whisper/ggml-tiny.bin \ + https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin + ``` + + Packages Check + ``` + ls -l ~/whisper.cpp/build/bin/whisper-cli + ls -lh ~/.local/share/whisper/ggml-tiny.bin + ``` + + Manual Test + ``` + /home/bob/whisper.cpp/build/bin/whisper-cli \ + -m /home/bob/.local/share/whisper/ggml-tiny.bin \ + -f /tmp/capture-ai-mic-20260228-205753.wav \ + -l tr ```

+ + + + + + + + + +
Debian/Ubuntu/Rasberry Pi OS @@ -48,6 +114,7 @@ ``` sudo apt install -y alsa-utils ``` +

@@ -58,8 +125,7 @@ -#offline stt -sudo pacman -S --needed cmake make gcc + #screenhot sudo pacman -S --needed \ @@ -80,16 +146,7 @@ $capture-ai = /home/$USER/capture-ai/capture-ai.sh bind = $mainMod SHIFT, Q, exec, $capture-ai image bind = $mainMod, Q, exec, $capture-ai text -Offline Voice for Linux -🎤 pw-record / arecord -⬇ -📄 WAV dosyası -⬇ -🧠 whisper-cli -⬇ -✍ Metin - -sudo pacman -S --needed git cmake make gcc pipewire wireplumber alsa-utils + paket kontrol command -v pw-record || echo "pw-record yok"