Sonar
A tiny CLI to see and kill whatever's running on localhost
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
HN · launched Mar 20, 2026 · 204 upvotes (top 4%) · 0 views
Niche: developer command-line tools · 226 launches, 5 in the last 7 days ▼ -67% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 226 launches in developer command-line tools →
Could you build this?
Yes It is a straightforward CLI utility that queries OS network sockets/processes (e.g., using lsof or netstat commands) and terminates matching PIDs.
Discussion
20 comments analyzed.
Competitors mentioned: ctop (for docker containers), lsof, portless (named localhost URLs), pk (shell function to kill port listeners)
Concerns raised: Process group management in Unix is problematic - child processes don't get killed with parent by default, TUI programs in raw mode often have ctrl+c handlers that only kill the parent, leaving children alive, Hard-coded port numbers cause collisions across multiple localhost apps, Windows didn't support Unix Domain Sockets for 26 years
Feature requests: Support Unix Domain Sockets (AF_UNIX) as alternative to port-based approaches, Named localhost URL mapping instead of hard-to-remember port numbers, Better child process lifecycle management and killing
Competitors
Other products that read as similar to this one : 1295 launches clear the similarity bar, closest 8 shown.
Attention rank: #45 of 1296 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 140 days after the earliest competitor.
- HomeButler · hn · 2026-06-04 · 5 upvotes · similarity 0.52
- osu-echo · github · 2026-09-16 · 10 upvotes · similarity 0.50
- Proc-CLI · hn · 2026-10-26 · 24 upvotes · similarity 0.50
- Deflect One · hn · 2026-04-14 · 8 upvotes · similarity 0.50
- Portview, A diagnostic-first port viewer for Linux (~930 KB, zero deps) · hn · 2026-02-08 · 5 upvotes · similarity 0.50
- gash · github · 2026-11-06 · 100 upvotes · similarity 0.50
- nsl · github · 2026-09-26 · 65 upvotes · similarity 0.49
- A Mutating Webhook to automatically strip PII from K8s logs · hn · 2026-05-05 · 25 upvotes · similarity 0.49
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.