| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The simplest AK47-like toaster-like binary audio-to-text gobbler.
Drop in → pull the lever → get text.
Gigabytes of voice messages eating your disk? Backing up chats and want to keep the content but reclaim the space? Like feeding transcribed voice notes to LLMs for cleanup, then storing or sharing them compressed?
WhisperToaster is an offline tool that takes audio files and returns text. No cloud, no Python, no extra buttons. One binary, one job.
# Arch
sudo pacman -S qt6-base ffmpegffmpeg is a runtime-only dependency — for pre-converting audio formats that whisper can't handle directly. Not needed for compilation, but without it only .wav works, and not every .wav.
Whisper models are hosted on HuggingFace: https://huggingface.co/ggerganov/whisper.cpp
Download the .bin file you need (ggml-medium-q8_0.bin is a solid balanced choice) and place it in the models folder:
mkdir -p ~/.local/share/pywhispercpp/models
wget -O ~/.local/share/pywhispercpp/models/ggml-medium-q8_0.bin \
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-medium-q8_0.binThe app will automatically find models in this folder, plus:
git clone https://github.com/hopsayer/whisper-toaster whisper-toaster
cd whisper-toaster
git submodule add https://github.com/ggerganov/whisper.cpp third_party/whisper.cpp
git submodule update --init --recursive
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j$(nproc)By default the build enables the Vulkan GPU backend for the bundled whisper.cpp (WHISPER_TOASTER_USE_VULKAN=ON in CMakeLists.txt). This is what makes the app's "Try GPU" toggle in Settings actually use the GPU instead of silently falling back to CPU.
Requirements: the Vulkan development packages must be installed (not just the runtime driver) — specifically the Vulkan headers/loader and the glslc shader compiler, so CMake's find_package(Vulkan) can find them. On common distros:
# Arch / Manjaro
sudo pacman -S vulkan-headers vulkan-icd-loader shaderc
# Debian / Ubuntu
sudo apt install libvulkan-dev glslang-tools
# Fedora
sudo dnf install vulkan-headers vulkan-loader-devel glslcYou also need a working Vulkan driver for your actual GPU (this is usually already present if vulkaninfo lists your device) — e.g. nvidia-utils (NVIDIA proprietary), vulkan-radeon (AMD, Mesa), or vulkan-intel (Intel, Mesa). Without a driver, the app builds fine but "Try GPU" will fail or silently do nothing at runtime.
If the dev packages above aren't found, the configure step prints a WARNING and builds CPU-only instead of failing — check the cmake .. output for a line like:
-- whisper-toaster: GGML_VULKAN = ON
To force a CPU-only build regardless of what's installed:
cmake .. -DCMAKE_BUILD_TYPE=Release -DWHISPER_TOASTER_USE_VULKAN=OFFNote on paths: the Vulkan shader-generation step (vulkan-shaders-gen, part of ggml) does not fully shell-quote its generated build commands. Avoid parentheses, spaces, or other shell-special characters anywhere in the path to your build directory (e.g. project(binary)/ will break the build with a sh: syntax error near unexpected token '(') — use plain paths like project-binary/ instead.
The compiled binary — whisper-toaster — can be run from anywhere. Recommended:
cp whisper-toaster ~/.local/bin/Copy the .desktop file from the repo (the /integration folder) to your local applications folder:
cp whisper-toaster.desktop ~/.local/share/applications/If you placed the binary somewhere other than ~/.local/bin/, edit the Exec= line in the .desktop file accordingly.
Icons: /integration/whisper-toaster.png /integration/whisper-toaster.png Choose which you like. Place in ~/.icons or ~/.local/share/icons/. Specify in the .desktop file (Icon= line): the name of the icon without the extension, or if it fails to detect, the path to the icon (relative or absolute)
#### CLI (batch) and GNOME Scripts integration (Not yet implemented)
Pass file paths as command-line arguments — the GUI will open with them pre-loaded:
whisper-toaster audio1.mp3 audio2.wav ~/Music/lecture.m4aStar this project on GitHub: https://github.com/hopsayer/whisper-toaster
Star the whisper.cpp engine project: https://github.com/ggml-org/whisper.cpp
| Back | FazBrowse Home | New Git URL |