A project launcher for quickly opening your projects in VS Code, Claude Code (terminal), or GitHub. Supports both macOS (Alfred) and Linux (rofi).
- VS Code launcher: Search and open projects in VS Code
- Claude Code launcher: Open projects in Claude Code via terminal
- GitHub launcher: Open projects on GitHub in your browser
- File manager: Reveal projects in Finder (macOS) or file manager (Linux)
- Fuzzy search: Filter projects by typing part of the name
- Configurable directories: Set multiple directories to search
| Feature | Alfred (macOS) | Rofi (Linux) |
|---|---|---|
| VS Code launcher | vs keyword |
claude-launcher vs |
| Claude Code launcher | cc keyword |
claude-launcher cc |
| GitHub launcher | gh keyword |
claude-launcher gh |
| File manager | Cmd+Enter modifier | claude-launcher fm |
| Configuration | Alfred workflow variables | claude-launcher-config |
| Fuzzy search | ✓ | ✓ |
| Keyboard shortcuts | ✓ | ✓ (via WM) |
- Alfred with Powerpack
- VS Code (for
vskeyword) - Claude Code CLI (for
cckeyword) - Python 3 (included with macOS)
Download the latest .alfredworkflow file from the Releases page and double-click to install.
-
Clone this repository
-
Create the workflow package:
cd workflow zip -r ../Claude-Code-Launcher.alfredworkflow .
-
Double-click
Claude-Code-Launcher.alfredworkflowto install
After installing, configure your project directories:
- Open Alfred Preferences
- Go to Workflows → Claude Code Launcher
- Click the
[x]button in the top-right to open workflow configuration - Set Project Directories to a colon-separated list of paths
Example:
~/src/github.com/fredsmith:~/claude-working:~/projects
- Invoke Alfred (Cmd+Space or your hotkey)
- Type
vsfollowed by a space - Start typing to filter projects
- Press Enter to open in VS Code
- Invoke Alfred (Cmd+Space or your hotkey)
- Type
ccfollowed by a space - Start typing to filter projects
- Press Enter to open in Terminal with Claude Code
- Invoke Alfred (Cmd+Space or your hotkey)
- Type
ghfollowed by a space - Start typing to filter projects
- Press Enter to open the GitHub repo in your browser
- Cmd+Enter: Reveal the selected project in Finder
If code is not in /usr/local/bin/, edit the workflow:
- Open Alfred Preferences → Workflows
- Double-click the "Open VS Code" action
- Update the path to your
codecommand
The workflow uses Ghostty if installed, otherwise falls back to the default Terminal app. To use a different terminal (like iTerm), edit the "Open Claude Code" action's script.
- rofi - Application launcher
python3- For project listing scriptcode(optional) - VS Code CLIclaude(optional) - Claude Code CLIgit(optional) - For GitHub integration
Run the installation script (or use task install-rofi):
./rofi/install.shThis will:
- Install scripts to
~/.local/bin - Configure your project directories
- Automatically update
~/.config/rofi/config.rasito add project integration
Ensure ~/.local/bin is in your PATH:
export PATH="$HOME/.local/bin:$PATH"Edit your project directories anytime:
claude-launcher-configEnter directories separated by colons (e.g., ~/projects:~/src/github.com/username).
Configuration is stored in ~/.config/claude-launcher/config.json.
Projects appear in rofi combi mode with action suffixes:
my-project (VS Code)- Opens in VS Codemy-project (Claude)- Opens in Claude Code terminalmy-project (GitHub)- Opens GitHub repo in browser
Or use standalone commands:
claude-launcher vs # Open in VS Code
claude-launcher cc # Open in Claude Code (terminal)
claude-launcher gh # Open on GitHub
claude-launcher fm # Open in file managerThe script auto-detects your terminal (ghostty, gnome-terminal, konsole, alacritty, kitty, wezterm, etc.) or uses the $TERMINAL environment variable.
MIT