Skip to content

w-23-tungsten/Port-Desk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Port Desk

Port Desk.

Who owns the port.

Run

cargo run -- 3000
cargo run -- list
cargo run -- kill 3000
cargo run -- open 5173
cargo run -- wait 5432 --busy

Build

cargo build --release
./target/release/port-desk 3000

Use

  • list ports
  • find a port
  • kill a port
  • open localhost
  • wait busy/free
  • JSON output

Short

alias pd=port-desk
pd 3000
pd kill 3000 --force
pd open 5173 --path /dashboard
pd wait 8080 --free --timeout 10s

Notes

Uses system tools.

  • macOS/Linux: lsof
  • Windows: netstat, tasklist, taskkill

Weight

About 364KB on macOS release build.

License

MIT.

Packages

 
 
 

Contributors

Languages