A tiny macOS menu bar app that shows which TCP ports are listening and what's running on them.
- Click the ○ icon → ports are scanned at that moment (no background polling, ~0% idle CPU).
- Each port has a submenu: Open (browser for web servers;
postgres://,mysql://,redis://,mongodb://for databases, routed to your default DB tool), Stop (SIGTERM), Force Stop (SIGKILL), and Copy URL. - Show/Hide System Processes reveals macOS noise (rapportd, ControlCenter/AirPlay, etc.) in its own section below your ports. Off by default, remembered across launches.
- Start at Login registers/unregisters the app as a login item.
Requires only the Xcode Command Line Tools (xcode-select --install) — no Xcode.
make app # builds Ort.app in this directory
make install # copies it to /Applications
open /Applications/Ort.appmake run # run from terminal (Ctrl+C to quit)
swift build && .build/debug/ort --scan # print scanned ports and exit
.build/debug/ort --scan --all # include system processesOne lsof -iTCP -sTCP:LISTEN call per menu open, parsed in PortScanner.swift. Click-to-open URL mapping and process stopping live in PortActions.swift. The menu is rebuilt in menuWillOpen in AppDelegate.swift.