| Crates.io | mf-speak |
| lib.rs | mf-speak |
| version | 0.3.3 |
| created_at | 2025-04-25 18:43:19.108707+00 |
| updated_at | 2025-04-25 21:00:45.030543+00 |
| description | A spicy little command wrapper that provides audible feedback with attitude |
| homepage | |
| repository | https://github.com/arvindell/mf |
| max_upload_size | |
| id | 1649352 |
| size | 56,643 |
mf is a spicy little wrapper for your shell commands that provides audible feedback with attitude. It will vocally tell you whether your command succeeded or failed, with a variety of colorful phrases.
mfbrew tap arvindell/tap
brew install mf-speak
npm install -g mf-speak
cargo install mf-speak
# Clone the repository
git clone https://github.com/arvindell/mf.git
cd mf
# Build in release mode
cargo build --release
# Move the binary to a location in your PATH (Linux/macOS)
cp target/release/mf ~/.local/bin/ # or sudo cp target/release/mf /usr/local/bin/
# Or on Windows, copy the binary to a location in your PATH
# copy target\release\mf.exe %USERPROFILE%\bin\
You can use mf in two ways:
As a command prefix (run command and get feedback):
mf [COMMAND]
After a command (get feedback about the previous command):
[COMMAND]; mf
This is useful when you want to know when a long-running task completes.
# Run a successful command with mf prefix
mf ls -la
# Speaks: "Hell yeah, it fucking worked!" (or other random success message)
# Run a failing command with mf prefix
mf some-nonexistent-command
# Speaks: "What the hell did you do wrong?" (or other random failure message)
# Multi-word commands work too
mf "find . -name '*.rs' | wc -l"
# Run a command and get feedback after completion
ls -la; mf
# Speaks success or failure based on ls command's exit status
# Great for long-running commands
make build; mf
mf uses different text-to-speech mechanisms depending on your platform:
say commandespeak or espeak-ng (needs to be installed)If no text-to-speech capability is available, messages will still be printed to the console.
This tool is perfect for:
sudo apt-get install espeak on Debian/Ubuntu)Contributions are welcome! Feel free to add more colorful messages or extend functionality.
MIT