⚡ A keyboard-first snippet & clipboard launcher for macOS developers.
Stash is a lightweight, global hotkey-powered productivity tool built for developers who live in the terminal and editor. Instantly search, generate, copy, and paste commands or code snippets — plus browse your clipboard history — without leaving your flow.
- Open anywhere with a global hotkey (default: Alt + Space)
- Dock-hidden, distraction-free workflow
- Fast Spotlight-style popup window
Create dynamic snippets like:
kubectl logs {pod} -n {namespace=default}On execution, Stash prompts you to fill in variables before copying or pasting.
- Track recent clipboard entries
- Token-based keyword search
- De-duplicated history
- Switch between snippets and clipboard using
Tab
- Deterministic tokenized search (AND logic)
- Fast and predictable
- Configure global hotkey
- Enable/disable clipboard history
- Built-in settings architecture
Open Preferences via:
- ⚙️ icon
- Cmd + ,
| Shortcut | Action |
|---|---|
Alt + Space |
Open Stash |
Tab |
Toggle Snippets / Clipboard |
↑ / ↓ |
Navigate |
Ctrl + j |
Next item |
Ctrl + l |
Previous item |
Enter |
Copy |
Cmd + Enter |
Copy & Paste |
Cmd + E |
Edit snippet |
Cmd + N |
New snippet |
Cmd + Delete |
Delete snippet |
Esc |
Close |
Cmd + Q |
Quit |
- Stash is designed to:
- Minimize context switching
- Stay invisible until needed
- Avoid unnecessary complexity
- Be easy to debug and maintain
- Prioritize developer workflows
- Electron
- SQLite (better-sqlite3)
- Plain keyword search
- macOS-native clipboard + Accessibility integration
git clone https://github.com/yourusername/stash.git
cd stash
npm install
npm run devnpm run distThe generated DMG will be available in:
/distStash stores data locally at:
~/Library/Application Support/Stash/- snippets.sqlite
- settings.json
For auto-paste functionality:
- Go to System Settings → Privacy & Security → Accessibility
- Enable Stash
- Usage-based ranking
- Snippet aliases
- Per-app snippet scope
- Terminal auto-run mode
- Pinned snippets
- Export/import support
- Fuzzy search
- Clipboard monitoring uses interval polling (no system hook)
- macOS only
- No cross-device sync (yet)
PRs and ideas are welcome.
Open an issue if you:
- Find a bug
- Want to propose a feature
- Have UX improvement suggestions
Apache License 2.0
Because your brain shouldn't have to remember:
- The exact kubectl flags
- That one docker command
- A complex SQL query
- Or the curl command you copied 10 minutes ago
Stash remembers it so you don’t have to.