Black Voice
Say “Black.” Then say what you need.
A voice assistant for Linux that recognises your speech on your own machine.
Say it. It's done.
It runs your desktop by voice, and answers questions through a language model you choose.
- youblack, open firefox
- blackOpening firefox.
- youblack, volume 40
- blackVolume set to 40 percent.
- youblack, run command df -h
- blackRun df -h? Say yes to confirm.
Your whole desktop, by voice.
Apps, settings, files and the shell, with a language model for everything else.
-
Applications
Open and close programs by name, with aliases that resolve to whatever is installed.
-
System
Volume, brightness, screenshots, screen lock, Wi-Fi, Bluetooth and power.
-
Files
Search your home folder, open standard folders, create folders and check disk usage.
-
Terminal
Run shell commands behind a three-tier safety guard.
-
Everyday
Clock, weather, timers, reminders, notes, web search, media keys and arithmetic.
-
Questions
Anything it doesn't recognise goes to a local or hosted language model you pick.
Runs on the desktop you already have.
Every action looks for the tool that's installed, so it works without configuration. Use the tray icon, or run it headless over SSH.
- GNOME
- KDE Plasma
- Xfce
- Tiling window managers
- PipeWire
- PulseAudio
- ALSA
Things to try first.
Say “Black,” then any of these. Anything it doesn't match becomes a question for the language model.
- Apps
open firefox
close chrome
- Volume
volume 40
mute
volume up
- Screen
screenshot
lock screen
- Files
find file report.pdf
open downloads
- Shell
run command df -h
- Time
what time is it
set timer for 5 minutes
- Notes
take a note buy milk
read my notes
- Itself
help
stop
go to sleep
Recognition happens on your machine.
Every command is transcribed locally first. In the default mode, audio goes to a cloud recogniser only when the offline pass is unsure and you're online. Switch to offline mode and nothing ever leaves the machine.
-
whisper.cpp, on your machine
The more accurate model. Transcribes each command when it's installed.
-
Vosk, on your machine
Always running. Hears the wake word, and transcribes when whisper.cpp isn't installed.
-
Google's recogniser, only when unsure
Used in the default hybrid mode when the offline pass wasn't confident and you're online. Never in offline mode.
{ "speech": { "mode": "offline" } }
Safe with a shell.
Voice recognition mishears things. Black Voice is built for it: destructive commands never run, and anything that changes the system asks first.
-
Refused outright
These never run, whoever asks.
rm -rfmkfsddto a devicecurl … | shsudo
-
Asks first
Anything that could change the system, and any command chained with a pipe or a separator.
;&&|- power actions
-
Runs straight away
A short list of commands that only read.
lsdfcatgit status
When the language model runs a command, it goes through this same guard. Nothing runs as root. Read the security model
Get Black Voice.
Packages for the Debian and Fedora families, or the source for any distribution.
-
Debian and Ubuntu
Also Linux Mint and Pop!_OS
Download .deb 9.6 MB -
Fedora and RHEL
Also openSUSE
Download .rpm 9.6 MB -
Any distribution
From the source archive
Download source 267 KB
Requires Linux and Python 3.9 or newer. Install commands, checksums and earlier versions