Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kui-shell/oui
Visual Terminal for OpenWhisk
https://github.com/kui-shell/oui
cli electron kui openwhisk tool visualization
Last synced: about 2 months ago
JSON representation
Visual Terminal for OpenWhisk
- Host: GitHub
- URL: https://github.com/kui-shell/oui
- Owner: kui-shell
- Created: 2019-11-13T12:32:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:05:57.000Z (about 2 years ago)
- Last Synced: 2024-12-11T23:16:48.454Z (about 2 months ago)
- Topics: cli, electron, kui, openwhisk, tool, visualization
- Language: TypeScript
- Homepage:
- Size: 3.29 MB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Visual Terminal for OpenWhisk
[![Build Status](https://travis-ci.org/kui-shell/oui.svg?branch=master)](https://travis-ci.org/kui-shell/oui)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)This project offers a platform-native client that offers graphical
popups in response to normal OpenWhisk commands. To provide a
popup-from-terminal experience, this project leverages the
[Kui](https://github.com/IBM/kui) project.For example, `oui action list` 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 resource name in a table, 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](docs/oui-flow.png) for an OpenWhisk sequence.# Code and Contribute
```bash
git clone https://github.com/kui-shell/oui && cd oui
npm ci
npm start
```You should see a window come up. You can now try, for example, `wsk action list`, and expect to see a table (assuming you have deployed
actions), with clickable cells, in response.## Edit-debug Loop
This project is coded in [TypeScript](https://www.typescriptlang.org).
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](package.json):This command will build a macOS tarball, and place it in
`dist/electron/Oui-darwin-x64.tar.bz2`:```sh
npm run build:electron:mac
```# 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 themesThese changes are captured in the `theme/` subdirectory. More details
coming soon. For now, browse the [theme.json](theme/theme.json) file.