An unnecessary rewrite of mechvibes.com (mechanical keyboard sound simulator) disguised as a CLI tool.
- Linux Operating System
- Go (version 1.16 or higher)
- SoX (Sound eXchange) - Audio playing utility
Ensure Go is installed on your system:
# Check Go installation
go versionIf not installed, download from official Go website
SoX is required for audio playback:
# On Ubuntu/Debian
sudo apt-get update
sudo apt-get install sox
# On Fedora
sudo dnf install sox
# On Arch Linux
sudo pacman -S soxgit clone https://github.com/manish-mehra/govibes.git
cd govibesgo mod tidygo build# Run in interactive mode
./govibesFor quick access, you can add an alias to your ~/.bashrc:
alias govibes="cd ~/path/to/govibes && ./govibes"govibes sounds: List available keyboard sound profilesgovibes <profile>: Play a specific sound profilegovibes default: Play the last used sound profilegovibes: Enter interactive mode
Govibes uses Linux-specific methods to listen to keyboard inputs:
- Reads from
/proc/bus/input/devices - Accesses keyboard event files in
/dev/input/
- Platform: Linux only
- Requires access to keyboard event files (might need sudo/permissions)
- Ensure you have read permissions for
/dev/input/eventX - Check SoX is correctly installed
- Verify Go environment is set up
Contributions are welcome! Feel free to open issues or submit pull requests.
Inspired by mechvibes.com
