A macOS-native GUI implementation inspired by fzf, providing a clean and modern fuzzy finder interface for your command-line workflows.
- Native macOS UI with modern design
- Fuzzy search functionality similar to fzf
- Keyboard navigation (Up/Down arrows, Ctrl+P/N)
- Mouse support with hover effects
- Transparent, blur-backed window
- Fast and responsive
- Standard input/output for seamless integration with command-line tools
- Perfect for filtering and selecting from command output
For a detailed overview of Mac Menu, including real-world examples and use cases, check out the blog post.
curl -sSL https://raw.githubusercontent.com/sadiksaifi/mac-menu/main/install.sh | bash
-
Clone this repository
-
Build and install:
make sudo make install
-
To uninstall:
sudo make uninstall
Basic usage:
echo -e "Firefox\nSafari\nChrome" | mac-menu
The selected item will be printed to stdout.
Up Arrow
orCtrl+P
: Move selection upDown Arrow
orCtrl+N
: Move selection downEnter
: Select current itemEscape
: Exit without selection
# Build the application
make
# Clean build files
make clean
A simple test is included to verify the application with basic input. This test will run the app with "Yes" and "No" as options:
make test
This will build the application (if needed) and launch it with "Yes" and "No" as selectable options. You can interact with the UI as usual (keyboard/mouse), and the selected value will be printed to stdout.
MIT License - See LICENSE file for details.
Contributions are welcome! Please read contribution guidlines.