quay-tui-0.1.0 is not a library.
Quay
A TUI port manager for local processes, SSH forwards, and Docker containers.
Features
- Unified View: See all ports in one place (local, SSH, Docker)
- Interactive TUI: Navigate with keyboard, filter by source, search by name/port
- Quick Actions: Kill processes directly from the interface
- CLI Support: Non-interactive commands for scripting
- Fast: Written in Rust with ratatui
Installation
Usage
TUI Mode (default)
CLI Commands
# List all ports
# Output as JSON
# Filter by source
# Kill process on port
# Kill by PID
# Create SSH port forward
# Create reverse SSH forward
Keybindings
| Key | Action |
|---|---|
j / ↓ |
Move down |
k / ↑ |
Move up |
g / Home |
Go to first |
G / End |
Go to last |
/ |
Search mode |
Enter |
Show details |
K |
Kill selected process |
f |
Create SSH forward |
p |
Open presets |
r |
Refresh |
a |
Toggle auto-refresh |
0 |
Show all |
1 |
Local only |
2 |
SSH only |
3 |
Docker only |
? |
Help |
q / Esc |
Quit |
Screenshots
┌─────────────────────────────────────────────────────────────┐
│ Quay - Port Manager │
├─────────────────────────────────────────────────────────────┤
│ Filter: [0] All [/] search [?] help │
├─────────────────────────────────────────────────────────────┤
│ TYPE │ LOCAL │ REMOTE │ PROCESS/CONTAINER │
├────────┼────────┼─────────────────┼─────────────────────────┤
│ LOCAL │ :3000 │ │ node (pid:1234) │
│ LOCAL │ :8080 │ │ python (pid:5678) │
│ SSH │ :9000 │ localhost:80 │ ssh (pid:2345) │
│ DOCKER │ :5432 │ postgres:5432 │ postgres (abc123) │
├─────────────────────────────────────────────────────────────┤
│ [j/k] Navigate [Enter] Details [K] Kill [f] Forward [p] Presets [?] Help [q] Quit│
└─────────────────────────────────────────────────────────────┘
Configuration
Configuration files are stored in ~/.config/quay/.
config.toml
[]
= true
= 5
= "all" # all, local, ssh, docker
[]
= true
presets.toml
[[]]
= "Production DB"
= "1"
= 5432
= "localhost"
= 5432
= "prod-bastion"
[[]]
= "Staging Redis"
= 6379
= "localhost"
= 6379
= "staging-bastion"
Requirements
- Rust 1.88+
- macOS (uses
lsoffor port detection) - Docker (optional, for container port detection)
Development
# Run in development
# Build release
# Run tests
See docs/DEVELOPMENT.md for more details.
License
MIT