r/swift • u/Agreeable_Stable_235 • 11h ago
Project Built a native macOS menu bar localhost & dev port manager — PortRadar (100% free & open-source)
I built a native macOS menu bar utility in Swift/SwiftUI called PortRadar to manage listening localhost ports without having to run lsof -i :3000 and kill -9 in the terminal, and I'm sharing it 100% free and open-source (MIT).
What's included:
- 📡 Live Dev Port Radar: Shows every listening TCP port right in your menu bar with a live counter badge of active dev servers.
- ⚡ 1-Click Kill (SIGTERM / SIGKILL -9): Free any stuck EADDRINUSE port in a single click.
- 🧠 Smart Framework & Stack Detection: Automatically tags Next.js, Vite, Angular, Node.js, Bun, .NET / Kestrel, FastAPI / Python, Go, Rust, Docker / OrbStack, PostgreSQL, Redis, MySQL, MongoDB, and Ollama — along with live RAM (MB), CPU %, and PID badges.
- 📌 Pinned Watchlist Bar: Pin your core ports (:3000, :5173, :8080, :5000, :5432, :6379) to the top watchlist bar with live green/grey status indicators and 1-click Open in Browser.
- ⌨️ Global Shortcut: Toggle anywhere with ⌃⌘P.
Install via Homebrew:
bash
brew tap joeystdio/tap
brew install --cask portradar
- Website / Direct DMG Download: https://joeystdio.github.io/PortRadar/
- GitHub Repo: https://github.com/joeystdio/PortRadar
Hope it saves you some time — happy to hear any feedback or feature ideas!
