This Raycast extension lets you pick from up to 10 predefined folders via a dropdown in the search bar and perform searches inside them using fzf, matching both file names and directory names.
- macOS with Raycast installed
- Homebrew (if you don’t have it yet):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - fzf (for the interactive filtering interface):
brew install fzf
- In your project folder, install dependencies and build:
npm install npm run build
- Open Raycast (⇧⌘P), type Import Extension, and select it.
- Choose this project’s root directory (the folder containing
package.json).
After importing, you’ll see Search Directory in your Raycast commands.
- Invoke Search Directory in Raycast.
- Use the dropdown in the search bar to choose which directory to search.
- Enter your search term—results for both files and folders appear live and are case-insensitive.
- Hit Enter to open the item or use the Action Panel to reveal it in Finder.
Configure up to 10 folders in Raycast → Extensions → Search Directory:
Search Directory #1throughSearch Directory #10.- Each setting lets you pick a folder via the directory picker UI.
Created with ❤️ for faster file discovery in Raycast
