hcavarsan/kftray

kubectl port-forward manager and reverse tunnel (ngrok-like) for exposing local services publicly, with TLS termination, HTTP traffic inspection, UDP forwarding, multi-hop proxy routing through k8s clusters, stateful config via filesystem or git - GUI and TUI available

Rust

1,572

1,151 commits

updated Oct 12, 2026

See the code

README

kftray and kftui demo

About

kftray and kftui manage Kubernetes port forwards from your desktop or terminal. Both apps share configurations and a Rust backend that reconnects forwards when pods restart or connections drop.

  • kftray runs as a desktop app with system tray integration.
  • kftui runs in the terminal, with a CLI for scripts and headless use.

Watch the app overview or the HTTP logging demo.

Features

  • Run multiple forwards across Kubernetes contexts without kubectl.
  • Forward TCP and UDP traffic to services or pods, or reach other hosts through a cluster proxy.
  • Expose local services to the cluster or through an ingress.
  • Inspect HTTP traffic and replay requests in kftui.
  • Share configs through GitHub or discover services from Kubernetes annotations.
  • Organize configs with tags, filters and grouping.

See the documentation for configuration options and app behavior.

Get started

Download kftray or kftui, follow the installation guide and create your first port forward.

Contributing

Read the contribution guide and code of conduct. For local builds, see development and building from source.

Report bugs or request features through GitHub issues. Use Discussions or Slack for questions.

License

kftray is licensed under GPL-3.0.

Star History

Star History Chart

Contributors

Contributors are listed below using the all-contributors contribution types.

developer-tools
devops
devops-tools
k8s
kftray
kubectl
kubernetes
port-forward
port-forwarding
proxy
ratatui
rust
tauri
terminal
tray
tui
vite

hcavarsan/kftray

kubectl port-forward manager and reverse tunnel (ngrok-like) for exposing local services publicly, with TLS termination, HTTP traffic inspection, UDP forwarding, multi-hop proxy routing through k8s clusters, stateful config via filesystem or git - GUI and TUI available

Rust

1,572

1,151 commits

updated Oct 12, 2026

See the code

README

kftray and kftui demo

About

kftray and kftui manage Kubernetes port forwards from your desktop or terminal. Both apps share configurations and a Rust backend that reconnects forwards when pods restart or connections drop.

  • kftray runs as a desktop app with system tray integration.
  • kftui runs in the terminal, with a CLI for scripts and headless use.

Watch the app overview or the HTTP logging demo.

Features

  • Run multiple forwards across Kubernetes contexts without kubectl.
  • Forward TCP and UDP traffic to services or pods, or reach other hosts through a cluster proxy.
  • Expose local services to the cluster or through an ingress.
  • Inspect HTTP traffic and replay requests in kftui.
  • Share configs through GitHub or discover services from Kubernetes annotations.
  • Organize configs with tags, filters and grouping.

See the documentation for configuration options and app behavior.

Get started

Download kftray or kftui, follow the installation guide and create your first port forward.

Contributing

Read the contribution guide and code of conduct. For local builds, see development and building from source.

Report bugs or request features through GitHub issues. Use Discussions or Slack for questions.

License

kftray is licensed under GPL-3.0.

Star History

Star History Chart

Contributors

Contributors are listed below using the all-contributors contribution types.

developer-tools
devops
devops-tools
k8s
kftray
kubectl
kubernetes
port-forward
port-forwarding
proxy
ratatui
rust
tauri
terminal
tray
tui
vite

Project health

Overall

8.1/10

Maintained

10/10

Code review

5/10

Contributors

3/10
OpenSSF Scorecard

Significant stargazers

Jan-Otto Kröpke

740 followers · starred May 2024

Joseph Kato

305 followers · starred Nov 2025

Sonny Scroggin

568 followers · starred Jan 2024

Ricardo Pchevuzinske Katz

251 followers · starred Jun 2024