diff --git a/README.md b/README.md index 2542076..cdfed18 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,9 @@ Local audio transcription application powered by OpenAI's Whisper model. Built w ### Linux - Ubuntu 20.04+, Fedora 36+, or equivalent - ~150MB - 1.5GB disk space (depending on chosen Whisper model) -- Build dependencies: `build-essential`, `cmake`, `libwebkit2gtk-4.1-dev`, `libssl-dev`, `libayatana-appindicator3-dev`, `librsvg2-dev` +- Build dependencies: + - **Ubuntu/Debian:** `build-essential`, `cmake`, `clang`, `libclang-dev`, `libwebkit2gtk-4.1-dev`, `libssl-dev`, `libayatana-appindicator3-dev`, `librsvg2-dev` + - **Fedora/RHEL:** `gcc-c++`, `cmake`, `clang`, `clang-devel`, `webkit2gtk4.1-devel`, `openssl-devel`, `libappindicator-gtk3-devel`, `librsvg2-devel` ### Windows - Windows 10/11 @@ -34,8 +36,8 @@ Local audio transcription application powered by OpenAI's Whisper model. Built w | Tool | macOS | Linux | Windows | |------|-------|-------|---------| -| **yt-dlp** (YouTube transcription) | `brew install yt-dlp` | `sudo apt install yt-dlp` | `winget install yt-dlp` | -| **ffmpeg** (audio speedup) | `brew install ffmpeg` | `sudo apt install ffmpeg` | `winget install ffmpeg` | +| **yt-dlp** (YouTube transcription) | `brew install yt-dlp` | `sudo apt install yt-dlp` / `sudo dnf install yt-dlp` | `winget install yt-dlp` | +| **ffmpeg** (audio speedup) | `brew install ffmpeg` | `sudo apt install ffmpeg` / `sudo dnf install ffmpeg-free` | `winget install ffmpeg` | ## Installation @@ -59,13 +61,26 @@ Local audio transcription application powered by OpenAI's Whisper model. Built w # Install system dependencies sudo apt update - sudo apt install -y build-essential cmake libwebkit2gtk-4.1-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev + sudo apt install -y build-essential cmake clang libclang-dev libwebkit2gtk-4.1-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev # Install Node.js (v18+) curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install -y nodejs ``` + **Linux (Fedora/RHEL):** + ```bash + # Install Rust + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + + # Install system dependencies + sudo dnf group install -y development-tools + sudo dnf install -y cmake clang clang-devel webkit2gtk4.1-devel openssl-devel libappindicator-gtk3-devel librsvg2-devel + + # Install Node.js (v18+) + sudo dnf install -y nodejs + ``` + **Windows:** ```powershell # Install Rust from https://rustup.rs diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index db68aed..530ac1c 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -19,7 +19,10 @@ tauri-plugin-opener = "2" tauri-plugin-dialog = "2" tauri-plugin-fs = "2" -# Whisper - transcripción local (metal = GPU acceleration on Apple Silicon) +# Whisper - transcripción local +whisper-rs = { version = "0.15" } + +[target.'cfg(target_os = "macos")'.dependencies] whisper-rs = { version = "0.15", features = ["metal"] } # Audio processing