Codexsha
Index

N° 10 / sha 5c434d6

Desktop App / Local Dev Ports

PinnedMIT OR Apache-2.0

PortPilot

Windows desktop app and CLI that explain each local dev port: its process, project, Git worktree, WSL distro or Docker container, and how to stop it safely.

Group
Apps & extensions
Started
2026
License
MIT OR Apache-2.0
Status
Version 0.1.0-alpha.1, the first milestone, with a Windows installer and a portable zip on GitHub Releases; the executables are not code-signed with a certificate yet.

Overview

PortPilot shows which process listens on a port, who started it and which project it belongs to, and says whether each attribution is exact or inferred. A stop request checks the process's creation time first, tries a graceful close and treats force as a second decision; projects can opt in to managed runs and per-worktree port leases with a .portpilot.toml recipe.

What it does

  1. 01Owner, bind address, exposure and parent chain for every listening port
  2. 02Folds WSL and Docker forwarders into the Linux process or container behind them
  3. 03Stop flow checks PID and creation time, then closes gracefully before any force
  4. 04Per-worktree port leases and trusted run recipes from .portpilot.toml
  5. 05portctl CLI with versioned JSON output and stable exit codes

How it is built

A Rust workspace: portpilot-core (model, parsers and rules, no OS calls), portpilot-win (Windows APIs through windows-rs), portpilot-engine (discovery, Git, WSL, Docker, stop flow, managed runs, SQLite history) and portpilot-cli (portctl). The desktop app is Tauri 2 with React 19 on the same engine.

Stack

Rust / Tauri / React / TypeScript / Tailwind / SQLite / Vite / Vitest / Zustand / i18next