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 🙏

© 2025 – Pkg Stats / Ryan Hefner

kwatch

v0.1.0

Published

Kubernetes Terminal UI

Downloads

26

Readme

kwatch

GitHub version npm version CI Status License semantic-release

A terminal UI for watching, inspecting and interacting with Kubernetes clusters.

kwatch demo

Motivation

Tired of running watch kubectl get pods after applying some changes? Tired of wating for command completion when using kubectl?

This project's goal is to provide a terminal-based user interface around kubectl and kubernetes' API that is quick and convenient to work with, supporting most of the commonly used actions when interacting with a kubernetes cluster.

The focus thereby is on interaction with and inspection and manipulation of existing resources instead of on creating new resources as there are better ways to accomplish the latter.

Installation

kwatch is available as a standalone executable or as an npm package.

Prerequisites

Please ensure you have kubectl installed somewhere in your $PATH and configured it correctly.

NPM

kwatch requires Node.js version 10. If you have this installed you can easily install kwatch using the following command:

npm install -g kwatch

Standalone Executable

If you do not have Node.js installed you can instead download a standalone executable of kwatch from this project's releases page.

Extract the downloaded archive and put the kwatch binary somewhere in your $PATH.

Launch

After installation launch the program using the following command:

kwatch

Or if you are using a dark color scheme in your terminal, use dark mode:

kwatch -c dark

How to Use

The main user interface component is the resource list which shows the resouces of the type selected in the left pane, the api list, in the currently active kubernetes context and namespace.

Navigate the list using UP and DOWN keys, search in the list by pressing / which activates typeahead find.

Pressing ENTER on a resource shows a menu containing actions which can be run on the selected resource.

Switch between the resource list and the api list by using TAB. The api list as well as most menus can be filtered by typing a search term.

To change the current context (as in kubectl config use-context ...) press c. To change the current namespace press n.

For a reference of available keyboard shortcuts press h.

To quit kwatch press q.

For the global shortcuts (like q, h, c, etc.) to be effective the resource list must be focused.

Status

This project is in an early development phase. Nevertheless it is already quite usable. The main focus has been on designing the user interface. Only a few of the most common actions on resources have been implemented yet.

Actions implemented so far:

  • all
    • describe
    • show yaml
    • delete
    • force delete
  • pods
    • exec bash
    • exec login bash
    • exec shell
    • exec login shell
    • exec command
    • view log
    • tail log
  • secrets
    • show
    • dump

kwatch has been tested on systems running Linux and Windows Subsystem for Linux, using Gnome Terminal, MinTTY and tmux against on-premise kubernetes clusters (kubeadm) and DOKS kubernetes clusters (versions 1.12, 1.13, 1.14).

Contribute

Please report bugs using Github issues.

Pull requests are always welcome. Please follow the Angular Commit Message Guidelines (where scope specifies affected components in this project's context instead of the ones defined there). The commit messages are used by semantic-release to decide on release version numbers and to generate changelogs.

License

This software is distributed under the Apache License, Version 2.0, see LICENSE for more information.