Coder Social home page Coder Social logo

micromouf / kuiclienttemplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kui-shell/kuiclienttemplate

0.0 0.0 1.0 1.37 MB

Use this template to make your own custom graphical terminal, via the Kui Grahpical CLI Framework

Home Page: https://github.com/kubernetes-sigs/kui

Shell 4.35% TypeScript 95.25% SCSS 0.39%

kuiclienttemplate's Introduction

Client Template for the Kui Graphical CLI Framework

Kui is a framework for extending CLIs with graphical enhancements. If you wish to extend the framework, either by adding custom commands, custom views, or custom theming, this is the place to start!

This repository offers a few silly animal-oriented commands and views, including a way to decorate Kubernetes resources with additional tabs.

Getting Started with Development

npm ci
npm run watch

This will spawn the Webpack watcher. Once it has finished loading, you may open a Kui window via npm run open. If this works, you are all set for developing your Kui-based magic.

Details of the customizations in this client

This wiki introduces the ways in which this application enhances Kui. In particular, this client extends Kui with:

  • Decorations for Kubernetes resources: a Cat tab, a ๐Ÿถ button, and a ๐Ÿฑ badge (shown in the upper right with a green background).

  • A set of commands that use Kui's built-in views. More info

    • hello cat and hello dog are simple hello worlds that returns a cat and dog emoji, respectively
    • hello sidenav and hello catnav which show how to use the multi-tab "sidecar" views, with tabs on top and tabs on the left, respectively

More Documentation on Extending Kui

Building for Production: Electron Double-clickables

If you want to build and distribute your own double-clickable Electron-based clients, then use one of these commands, after which your clients will be placed in ./dist/electron.

npm run build:electron:all # does all of the following...
npm run build:electron:mac:amd64
npm run build:electron:mac:arm64
npm run build:electron:linux:amd64
npm run build:electron:linux:arm64
npm run build:electron:windows:amd64

Building for Production: Hosted Web App

To build a hosted version of Kui, running in a Docker container, use this command:

npx kui-build-docker-with-proxy

This will generate a Docker image kui-shell/kui. To test this production web app, you can use the script npx kui-run-cproxy, and then visit http://localhost:9080.

kuiclienttemplate's People

Contributors

starpit avatar

Forkers

implement1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.