| Crates.io | portsage |
| lib.rs | portsage |
| version | 0.1.1 |
| created_at | 2025-05-10 08:28:55.967634+00 |
| updated_at | 2025-06-12 01:44:14.561051+00 |
| description | A TUI tool to monitor processes and their listening ports |
| homepage | |
| repository | https://github.com/mei28/PortSage |
| max_upload_size | |
| id | 1668201 |
| size | 2,257,076 |
PortSage is a sleek TUI (Terminal User Interface) tool that helps you:
: to enter filter modePress Tab to open process detail window
Shows full metadata including:
Enter to copy the selected PID to clipboardx to open confirmation dialogy to kill the process (SIGKILL)n or Esc to cancel| Key | Action |
|---|---|
j / Down |
Move down |
k / Up |
Move up |
: |
Enter filter mode |
Tab |
Show detail |
Enter |
Copy PID to clipboard |
x |
Kill process (confirm) |
q / Esc |
Quit |
cargo build --release
./target/release/portsage --tui
cargo install portsage
portsage --tui
nix run github:mei28/PortSage
USAGE:
portsage [OPTIONS]
OPTIONS:
-c, --cli Use CLI mode (non-interactive)
-f, --filter <STRING> Filter keyword
-p, --port <PORT> Filter by port
--json Output as JSON (CLI mode only)
--kill <PID> Kill process by PID
--tui Launch interactive TUI (default)
lsof)# Launch interactive TUI
portsage
# or explicitly
portsage --tui
# List all processes with ports
portsage --cli
# Filter by process name
portsage --cli --filter nginx
# Filter by port
portsage --cli --port 8080
# Output as JSON
portsage --cli --json
# Kill a process
portsage --kill 1234