hn.today

I got tired of never knowing what ports are running, so I built WhatThePort

whattheport.dev5 points4 comments
Screenshot of I got tired of never knowing what ports are running, so I built WhatThePort

WhatThePort is a native macOS menu-bar app that shows every development server running on a Mac, with port, uptime, memory and CPU usage, the branch and workspace, and which agent started it (Claude Code, Codex, Conductor). Each server entry links back to the session that spawned it, opens the local URL or the Vercel preview for the same commit, and lists the process tree and commands. The UI signals problems with an amber menu-bar icon when a server exceeds 2 GB or grows by 500 MB in ten minutes, and flags crashed, hung, or failed preview builds. The app is written in Swift (no Electron), keeps all data local, requires no account, supports macOS 14+, and is free and open source.

Control and cleanup are core features: Clean up detects servers from deleted worktrees or long-idle processes and stops entire process trees with one click while protecting Postgres and Redis by default; the app reports how much memory was freed. A companion terminal UI invoked via wtp mirrors the same listing and actions (browse, open, stop) and can output JSON for scripts. Translations are available in eight languages including right-to-left Hebrew, and a global shortcut (⌥⌘P) brings the menu bar interface forward. This tool targets developers who need immediate visibility and simple controls for stray or resource-hungry local servers.

Read on whattheport.dev4 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.

I got tired of never knowing what ports are running, so I built WhatThePort · hn.today