Latest / Developer tools

Sonar

github.com · Open source · Active

Tiny CLI to see and stop services on localhost ports

Visit github.com ↗Share

Stars
1.1k
Forks
34
Open issues
13
Last commit
Releases
36
Found
8 months ago

GitHub figures as of . They are context, not a ranking.

Sonar is a small Go command-line tool that lists the services listening on localhost ports and lets you stop them. It is aimed at developers who need to find out what is running on a port. The repository description is short.

Repository description on GitHub: “CLI tool for inspecting and managing services listening on localhost ports”

What it does

  • Lists services listening on localhost ports, grouped by repository
  • Starts a project's dev servers as one named group with sonar start
  • Picks up Docker containers and Compose projects without configuration
  • Stops, waits for or tails services with one command

Good for

  • See which process is holding a localhost port
  • Stop a stuck dev server on a port with one command
  • Group a project's dev servers and manage them together

Suits: Developers running several local servers and containers.

What you can try

Read the README on GitHub and install from source.

Install

brew install raskrebs/sonar/sonar
go install github.com/raskrebs/sonar@latest

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Sonar on , when raskrebs posted it to Show HN. The oldest published release on GitHub is v0.1.1, dated . Sonar had been shipping tagged releases for 2 days before it was found. 36 releases have been published in total; the latest is v0.10.1 ().

Day-7 and day-30 updates

Day 7 10 releases shipped

Checked , later than day 7 because tracking began after.

Day 30 14 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 14). Based on the most recent releases on record.
  1. Repository created on GitHub: RasKrebs/sonar
  2. Release v0.1.1
  3. Found: raskrebs posted it to Show HN. Show HN
  4. Release v0.7.0
  5. Release v0.8.0
  6. Release v0.9.0
  7. Release v0.9.1
  8. Release v0.10.0
  9. Release v0.10.1
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 36 releases. All releases on GitHub

Quick answers

When was Sonar released?
Its first tagged release on GitHub is dated 18 Mar 2026. Kip found it on Show HN on 20 Mar 2026.
Is Sonar open source?
Its source is public on GitHub at RasKrebs/sonar under the MIT licence.
What does Sonar run on?
Command line, macOS, Linux.
Is Sonar free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Sonar still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryRasKrebs/sonar
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-47452515. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.