E602
Skip to content

HugoluizMTB/PortPilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PortPilot

A minimal macOS menu bar app to monitor, name, and kill Node.js processes running on localhost ports.

macOS Swift License GitHub

Features

  • Lives in your menu bar with an active port counter
  • Auto-scans for Node.js processes listening on TCP ports every 3 seconds
  • Open any port directly in your browser
  • Assign custom names to ports (e.g. "API Backend", "React App")
  • Kill processes with confirmation (graceful SIGTERM, then SIGKILL)
  • Port names persist between sessions
  • Lightweight (~270 lines of Swift, zero dependencies)

Installation

From Source

Requires Xcode Command Line Tools and macOS 13+:

git clone https://github.com/HugoluizMTB/PortPilot.git
cd PortPilot
swift build -c release
mkdir -p PortPilot.app/Contents/MacOS
cp .build/release/PortPilot PortPilot.app/Contents/MacOS/
cp Info.plist PortPilot.app/Contents/
cp -r PortPilot.app /Applications/

Run

open /Applications/PortPilot.app

Usage

  1. Click the network icon in your menu bar
  2. See all active Node.js ports at a glance
  3. Hover over a port to:
    • Open in Browser — opens http://localhost:<port>
    • Set Name — give it a friendly label
    • Kill Process — stop the process (with confirmation)
  4. Press ⌘R to manually refresh

Requirements

  • macOS 13.0 (Ventura) or later

Contributing

Pull requests are welcome. For major changes, please open an issue first.

License

MIT

About

A minimal macOS menu bar app to monitor, name, and kill Node.js processes running on localhost ports.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

0