The blazing fast, zero-config workspace navigator.
wrk unifies your scattered projects into a searchable, structured graph. It replaces ghq, cd, and tree with a single, highly-optimized tool designed for modern development workflows.
- Zero-Config Start: Automatically detects your workspace roots (
~/Workspace,~/src,~/wrk). - Instant Search: Streaming parallel scanner finds projects in milliseconds.
- Intelligent Pruning: Skips
node_modules,target, and respects.gitignore. Detects projects via markers (Cargo.toml,package.json,Makefile, etc.). - TUI Navigation:
- Vim-like / Arrow keys (
h/j/k/lor←/↓/↑/→). - Dracula Theme by default.
- Inline Interface: Doesn't hijack your terminal context.
- Vim-like / Arrow keys (
- GHQ Compatibility:
wrk get <user/repo>: Clones to structured paths (e.g.,github.com/user/repo).wrk list: Outputs paths for pipeline integration (fzf,rofi).
# 1. Clone & Build
git clone https://github.com/your/wrk.git
cd wrk
./scripts/install.shTo enable wrk to change your directory, add this to your shell config (.zshrc, .bashrc, .config/fish/config.fish):
source <(wrk shell zsh)wrk shell fish | sourcewrk shell powershell | Out-String | Invoke-Expression- Rust (stable)
pre-commit(optional, recommended)
pre-commit installThis ensures fmt, clippy, and cargo check run before every commit.
Just type wrk!
wrk # Launch TUI
wrk <query> # Launch TUI with initial queryControls:
Type: fuzzy filter.Enter:cdinto selection.Space: Open Action Menu (Print, Edit, System Open).Right/Left: Expand / Collapse directories.
wrk list # Dump all project paths (fast!)
wrk get user/repo # Clone https://github.com/user/repo
wrk get user/repo . # Clone into current directory
wrk rm <query> # Fuzzy find & delete a repository
wrk doctor # Check configuration healthStored in ~/.config/wrk/wrk.jsonc. Created automatically on first run.
| Feature | wrk | ghq | zoxide |
|---|---|---|---|
| Primary Goal | Workspace Navigation | Repo Management | Directory Jumping |
| Search | Fuzzy | List only | Frequent/Recent |
| Structure | Hierarchical Tree | Flat | Flat |
| Clone Strategy | Structured | Structured | - |
MIT
{ "roots": [ "/Users/you/Workspace", "/Users/you/Private" ], "markers": [ "Cargo.toml", "package.json", ".git", "Makefile" ] }