Repolode
v9mirza

v9mirza/LazyPorts

A terminal UI for Linux that lists listening network ports and lets you inspect or kill the owning processes.

Stars
98
Forks
6
Open issues
3
Last commit
7 months ago

What is it?

LazyPorts is a terminal user interface for viewing and managing network ports on Linux. It shows open TCP and UDP ports in an interactive table, so you can see which process is holding a port without running separate lookup commands.

From the table you can filter by port, PID, or process name, sort by port, process name, or PID, and open a detail view with the full command, user, and start time. Pressing k terminates the selected process, which is useful when a dev server is stuck on a port you need.

The tool is written in Go and built with Bubble Tea and Lipgloss. It is installed with a single curl script, which places the binary in /usr/local/bin or your Go bin directory.

Key features

  • 01Interactive table of open TCP and UDP ports.
  • 02Filter by port, PID, or process name with /.
  • 03Sort by port, process name, or PID.
  • 04Detail view showing full command, user, and start time.
  • 05Kill a selected process directly from the list.
  • 06Identifies system processes and flags those requiring root privileges.

Use cases

  • Finding which process is blocking a port when a dev server fails to start.
  • Cleaning up leftover processes that still hold ports after a crash.
  • Checking which services are listening on a Linux machine.

Quick start

  1. 1

    Install with the one-line install script

    Install with the official instructions in the README
  2. 2

    Run the tool from your terminal

    lazyports

Things to know

  • Linux only; it is not designed for other operating systems.
  • The install script may request sudo to copy the binary to /usr/local/bin.
  • The repository metadata lists no license, although the README says MIT.

Topics

FAQ

What is LazyPorts?
A terminal UI for Linux that lists listening network ports and lets you inspect or kill the owning processes. LazyPorts is a terminal user interface for viewing and managing network ports on Linux. It shows open TCP and UDP ports in an interactive table, so you can see which process is holding a port without running separate lookup commands.
Is LazyPorts free to use? What license does it have?
LazyPorts has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
Is LazyPorts still maintained?
No commits for 6+ months. The last commit to LazyPorts was on Apr 1, 2026.
What can I use LazyPorts for?
Finding which process is blocking a port when a dev server fails to start. Cleaning up leftover processes that still hold ports after a crash. Checking which services are listening on a Linux machine.
How do I install LazyPorts?
Install with the one-line install script Run the tool from your terminal: lazyports
Where can I get LazyPorts?
The source code and installation instructions are on GitHub: https://github.com/v9mirza/LazyPorts

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects