Hacker News new | ask | show | jobs
I got tired of never knowing what ports are running, so I built WhatThePort (whattheport.dev)
5 points by tomjohndesign 69 days ago
3 comments

Free app, open source. Enjoy.

I've got a design background, started building a lot more lately, couldn't stand how opaque the process is to see what ports are occupied and what local servers are running. So I built WhatThePort.

It shows you:

- what local servers are running - how long they've been running - their resource use - notifies you if one spikes - auto-kill old servers (opt-in) - give easy ways to launch the local urls - add shortcuts to my Vercel preview url, or Codex/CCode sessions that created it, and shortcuts to resume in my terminal of choice - has charts to see spikes - allows you to resume sessions in the terminal - auto-tags stale servers if your workspace is cold - and more.

Also added a TUI for it today since I know many devs will prefer having access to it.

Enjoy, share feedback.

> couldn't stand how opaque the process is to see what ports are occupied

Discover shell aliases... You only need to remember "port"...

This is for Linux

  alias port="sudo ss -tulnp"
This is for macOS

  alias port="sudo lsof -nP -i -sTCP:LISTEN"
Why would I want to remember anything. This is always remembering for me.
As others said, this seems like an over engineered solution. I might've used this in the past if there was a windows or linux version since I tend to prefer visual UIs over CLI commands.

Anyway, I do really like the minimalistic design though.

"Over engineered" and "minimalistic" being in the same comment. kudos.
"I got tired of blabla so I built blabla" don't y'all get tired of this?

Everyone ^H^H^H^H everyone's clanker is building the same things.