Skip to content
/ eye Public

A TUI for viewing and managing CosmoTech platforms

Notifications You must be signed in to change notification settings

Cosmo-Tech/eye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eye - TUI Application

A Textual-based Terminal User Interface (TUI) application for viewing and managing the cosmotech simulation platform.

Installation

uv venv
uv pip install -e .

Configuration

Create a .env file with the following configuration:

server_url="https://kubernetes.cosmotech.com/keycloak/"
client_id="local test client"
realm_name="<NAMESPACE>"
client_secret_key="<client secret>"

Port forward the services required by cosmotech-api (redis):

kubectl port-forward cosmotechredis-<NAMESPACE>-master-0 6379:6379 -n <NAMESPACE>

and start a local api:

./gradlew :cosmotech-api:bootRun

Usage

Activate the virtual environment:

source .venv/bin/activate

Get a summary of the object tree in the current namespace:

python3 eye/main.py

or use the app:

python3 eye/app.py

to get a summary of users and their roles

About

A TUI for viewing and managing CosmoTech platforms

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages