An open API service indexing awesome lists of open source software.

https://github.com/episuarez/killport

Windows developer tool for managing TCP port processes — kill, restart, and inspect what's listening with runtime and framework context.
https://github.com/episuarez/killport

cli desktop-app developer-tools port-manager process-killer rust tauri tray-icon win32 windows

Last synced: 6 days ago
JSON representation

Windows developer tool for managing TCP port processes — kill, restart, and inspect what's listening with runtime and framework context.

Awesome Lists containing this project

README

          

# Killport

Kill Port dashboard
  
System tray popup

**Kill the process on any port — and know exactly what you're hitting.**

[![CI](https://img.shields.io/github/actions/workflow/status/episuarez/killport/ci.yml?style=flat-square&label=CI)](https://github.com/episuarez/killport/actions)
[![Release](https://img.shields.io/github/v/release/episuarez/killport?style=flat-square&label=release)](https://github.com/episuarez/killport/releases)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-Windows-0078d4?style=flat-square&logo=windows&logoColor=white)](https://github.com/episuarez/killport/releases)
[![Rust](https://img.shields.io/badge/rust-stable-orange?style=flat-square&logo=rust&logoColor=white)](https://www.rust-lang.org)

---

## Install

Download the latest `.exe` installer or `.msi` package from the [Releases](https://github.com/episuarez/killport/releases) page.

Requires **Windows 10 version 1803** or later (WebView2 runtime, included with Windows since 2018).

---

## What it does

| Feature | Details |
|---|---|
| **Port scan** | All listening TCP ports, IPv4 + IPv6, via Win32 IP Helper API — no `netstat` |
| **Process context** | Runtime (Node, Python, PHP, Go, PostgreSQL, Redis, Docker…) + detected framework (Vite, Next.js, Django, Laravel…) + project name |
| **Docker-aware** | Maps container ports to their image and name |
| **Windows services** | Identifies SCM-registered services |
| **Kill** | Graceful (WM\_CLOSE → wait → force) or immediate; kills entire process trees |
| **Restart** | Kills and respawns with the original command line and working directory |
| **System tray** | Popup port list, notifications on port open/close, reserved-port alerts |
| **Dashboard** | Protocol probe (HTTP/WS/Redis/MySQL/gRPC…), QR code for mobile access |
| **CLI** | Headless `killport` binary for scripting and automation |

---

## CLI usage

```
killport list # dev ports only
killport list --all # include system processes
killport kill # graceful kill
killport kill --force # immediate kill
killport kill --pid # kill by PID
killport restart # kill + respawn
```

---

## Build from source

```bat
rustup update stable
cargo install tauri-cli

git clone https://github.com/episuarez/killport
cd killport

cargo tauri build # desktop app + installer
cargo build -p killport-cli --release # CLI only
```

Binaries land in `target/release/`.

---

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, commit conventions, and the release process.

---

## License

MIT — see [LICENSE](LICENSE).