raskrebs/sonar
CLI tool for inspecting and managing services listening on localhost ports observed · 2026-09-03
Health v2 · maintenance only
83/100
- Activity 100
- Release rhythm 100
- Longevity 13
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 182
- days_rel: 0
- days_push: 0
- n_releases_24m: 21
Adoption not part of the score
1092 stars · 34 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sonar is a Go-based CLI tool that shows all services listening on localhost ports, enriched with Docker container names, Compose projects, images, and resource usage. It lets developers kill processes, tail logs, and shell into containers directly by port number.
Use cases
- find out what process is using port 3000
- see which docker container is listening on a localhost port
- kill the process occupying a port
- list all services running on my machine
- tail logs for a dev server by port
- shell into the container behind a port
- figure out why a port is already taken
When to choose
- you frequently debug port conflicts during local development
- you work with Docker Compose and want port-to-container visibility
- you want a friendlier alternative to lsof/netstat for listening ports
When to avoid
- you need remote or network-wide port scanning rather than localhost
- you need a GUI-based port management tool
- you are on a platform without Docker and only need basic lsof functionality
Facets
cli-tool · maturity active
cli developer-tools monitoring container-runtime developer-tools windows cli port-scanner localhost docker-integration process-management go command-line containers devops macos linux docker
1 source
- readme: https://github.com/raskrebs/sonar · fetched 2026-09-03 · 7cb4e702b77a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| raskrebs/sonar | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem