Update README.md

This commit is contained in:
FURK4NGG
2026-03-13 23:58:09 +03:00
committed by GitHub
parent 7137c4ca4f
commit 1770d7db63
+69 -12
View File
@@ -13,10 +13,22 @@
<details> <details>
<summary>Arch Packages</summary> <summary>Arch Packages</summary>
```
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 sudo pacman -S --needed python python-virtualenv python-gobject gtk4 libadwaita gobject-introspection cairo pango glib2 xdg-utils noto-fonts-emoji
``` ```
<br>
Offline Voice Input for Linux
🎤 pw-record / arecord -> 📄 WAV file -> 🧠 whisper-cli -> ✍ Text input
🎙️voice record 🎙️voice record
>pw-record >pw-record
``` ```
@@ -26,12 +38,66 @@
>arecord >arecord
``` ```
sudo pacman -S --needed alsa-utils 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
``` ```
<br> <br>
<br> <br>
</details> </details>
<details> <details>
<summary>Debian/Ubuntu/Rasberry Pi OS</summary> <summary>Debian/Ubuntu/Rasberry Pi OS</summary>
@@ -48,6 +114,7 @@
``` ```
sudo apt install -y alsa-utils sudo apt install -y alsa-utils
``` ```
<br> <br>
<br> <br>
</details> </details>
@@ -58,8 +125,7 @@
#offline stt
sudo pacman -S --needed cmake make gcc
#screenhot #screenhot
sudo pacman -S --needed \ 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 SHIFT, Q, exec, $capture-ai image
bind = $mainMod, Q, exec, $capture-ai text 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 paket kontrol
command -v pw-record || echo "pw-record yok" command -v pw-record || echo "pw-record yok"