npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tabby-k8s-exec

v1.0.4

Published

Kubernetes pod exec plugin for Tabby — no kubectl binary required at runtime

Readme

tabby-k8s-exec

📖 Documentation (English / 한국어)

A Tabby terminal plugin that opens an interactive shell into a Kubernetes pod/container — like kubectl exec -it <pod> -- sh — implemented natively via the official @kubernetes/client-node SDK. No kubectl binary is required at runtime.

Features

  • Native Kubernetes exec protocol — connects directly to the cluster's exec WebSocket endpoint using @kubernetes/client-node, no kubectl process spawned.
  • Cascading connection picker — pick a kubeconfig context, then a namespace, then a pod, then a container, each populated live from the cluster (namespace/pod lists have a manual Refresh button; the context list is read from the local kubeconfig file).
  • Clear pre-connect diagnostics — if the selected pod isn't actually running, the plugin checks its phase before attempting to connect and shows exactly why, instead of a raw transport error.
  • Shell fallback — optionally try /bin/bash first and fall back to /bin/sh automatically if the container doesn't have bash.
  • Multi-container pod support — the container picker is derived from the selected pod's actual containers/initContainers.

Prerequisites

  • Tabby desktop app.
  • A working kubeconfig file (~/.kube/config by default) with a context pointing at a reachable cluster.
  • If your kubeconfig uses an exec-based auth plugin (e.g. aws eks get-token, gke-gcloud-auth-plugin, kubelogin), that binary must be installed and on PATH — this is inherent to how that kubeconfig auth style works (the same requirement kubectl itself has), not something this plugin can avoid. Static token, client-certificate, and standard OIDC auth need nothing extra.

Installation

This plugin isn't published to npm yet — install it from source:

git clone https://github.com/search5/tabby-k8s-exec.git
cd tabby-k8s-exec
npm install
npm run build
npm run install-plugin

npm run install-plugin copies the built plugin into Tabby's plugin directory (~/.config/tabby/plugins on Linux, ~/Library/Application Support/tabby/plugins on macOS, %APPDATA%\tabby\plugins on Windows). Restart Tabby afterwards to load it.

Usage

Create a new connection, choose type Kubernetes Exec, and fill in:

| Field | Description | |---|---| | Kubeconfig Path | Path to the kubeconfig file, default ~/.kube/config | | Context | Kubeconfig context to use (leave unset to use the file's current-context) | | Namespace | Namespace containing the target pod | | Pod | Pod to exec into (Refresh to list pods in the selected namespace) | | Container | Container within the pod (auto-selected if the pod has only one) | | Command | Shell/command to run, default /bin/sh |

Selecting a context does not automatically load its namespaces — click the Namespace field's Refresh button explicitly to avoid firing off a cluster API call every time you're just browsing contexts.

Known limitations

  • Exec sessions may be disconnected after roughly 5 minutes of idle time behind some proxies/load balancers (an upstream @kubernetes/client-node limitation, not implemented around in v1) — reconnect via Tabby's reconnect hotkey if this happens.
  • The Command field is split on whitespace only; shell-style quoting (sh -c "a ; b") isn't fully preserved.
  • Only a single kubeconfig file is supported per profile (no KUBECONFIG-style multi-file merging).

Development

npm run watch          # rebuild on change
npm run install-plugin # copy dist/ into Tabby's plugin directory

License

MIT — see LICENSE.