junkdog / glim

A TUI for monitoring GitLab CI/CD pipelines and projects
MIT License
66 stars 5 forks source link
ci-cd gitlab-api monitoring ratatui tui

glim

Crate Badge Deps.rs Badge

GitLab Pipelines

GitLab Projects Pipeline Actions

A terminal user interface (TUI) for monitoring GitLab CI/CD pipelines and projects. Built with ratatui.

Prerequisites

Building

cargo build --release 

Installation

cargo install glim-tui

Arch Linux

pacman -S glim

Running

To use glim, you'll need a GitLab personal access token (PAT) for authentication with the GitLab API. Be aware that this PAT is stored in plain text within the configuration file. If you start glim without any arguments and it hasn't been set up yet, the program will prompt you to enter the PAT and the GitLab server URL.

$ glim -h
A TUI for monitoring GitLab CI/CD pipelines and projects

Usage: glim [OPTIONS]

Options:
  -c, --config <FILE>      Alternate path to the configuration file
  -p, --print-config-path  Print the path to the configuration file and exit
  -h, --help               Print help
  -V, --version            Print version

Multiple GitLab servers

There is currently no support for multiple GitLab servers in the configuration file. The interim solution is to use the --config flag to specify a different configuration file, e.g. glim --config glim-corporate.toml or glim --config glim-personal.toml.