https://github.com/sander76/glasses
A TUI logviewer
https://github.com/sander76/glasses
Last synced: 22 days ago
JSON representation
A TUI logviewer
- Host: GitHub
- URL: https://github.com/sander76/glasses
- Owner: sander76
- Created: 2022-12-24T07:41:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T10:25:47.000Z (over 2 years ago)
- Last Synced: 2024-05-03T12:39:41.888Z (about 2 years ago)
- Language: Python
- Size: 3.07 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Glasses
A TUI logviewer based on the Textual library. Trying to combine making a useful tool and getting to learn the textual library.

## Installation
```
pipx install git+https://github.com/sander76/glasses.git#main --python=python3.10
```
to upgrade:
```
pipx upgrade glasses
```
This tool makes use of the `config` file located in your `.kube` folder (don't know whether this is also the location when running on mac or windows) to get the available namespaces. It also assumes you are logged into your openshift namespace.
## logging
Logs are kept under the `HOME/.config/glasses/log` folder.
To trace them during development:
```
tail -f glasses.log
```
## todo:
A lot of things. This needs some serious refactoring still. PR's are welcome !