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 🙏

© 2024 – Pkg Stats / Ryan Hefner

kubectl-ui

v1.0.1

Published

[![Build Status](https://travis-ci.org/kui-shell/plugin-kubeui.svg?branch=master)](https://travis-ci.org/kui-shell/plugin-kubeui) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Downloads

5

Readme

Kubernetes UI Plugin for Kui

Build Status License

This project offers a kubectl plugin that offers graphical popups in response to normal kubectl commands. To provide a popup-from-terminal experience, this project leverages the Kui project.

For example, kubectl kubeui get pods will pop up a window that displays a table with clickable pod names; the screenshot to the right illustrates one such popup.

Upon clicking a pod name, you will be presented with a multi-tab view of the detail of the resource you selected; the screenshot a bit further down and on the left illustrates such a multi-tab detail view.

Prebuilt Images

You may choose to consume prebuilt images: download and extract into your ~/.krew/bin, make sure that directory is on your PATH, then issue kubectl kubeui get pods.

Latest Release | Mac | Linux

Code and Contribute

git clone https://github.com/kui-shell/plugin-kubeui && cd plugin-kubeui
npm ci
npm start

You should see a window come up. You can now try, for example, kubectl get pods, and expect to see a table, similar to that in the above screenshot. This development client popup has an integrated terminal. You may issue rapid-fire commands within this terminal, so that you can test out a variety of commands in quick succession.

Edit-debug Loop

This project is coded in TypeScript. You may launch a TypeScript watcher via:

npm run watch

The edit-debug loop involves: edit and save a source change; wait for the TypeScript compiler to recompile your source changes; finally, in most cases a simple reload (via Ctrl+R, or Command+R on macOS) of the development client suffices to integrate your changes into an already-open window.

Building a Distribution

To pack up a set of platform clients for subsequent distribution, you may leverage several npm targets expressed in the package.json:

This command will build a macOS tarball, and place it in dist/electron/Kui-darwin-x64.tar.bz2:

npm run build:electron:mac

To enable your already-built bundles as kubectl plugins, this script amends those archives with a simple kubectl-kubeui script front end:

./bin/amend-dist-for-krew.sh

Or, you can build kubectl-enabled archives for all known platforms via:

npm run build:krew

Theming

You have the option to customize the theming in several ways. Here are some of the choices you can influence:

  • client name
  • client icon
  • default theme
  • available themes

These changes are captured in the theme/ subdirectory. More details coming soon. For now, browse the theme.json file.