A CLI alternative to the built-in web interface of Supervisor, offering a more convenient way to manage processes directly from the terminal.
Project description
supervisor-shell-ui
supervisor-shell-ui is a command-line interface (CLI) for managing processes using the Supervisor program. Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. This tool provides an alternative to the built-in web interface of Supervisor, offering a more convenient way to manage processes directly from the terminal.
Table of Contents
Features
- View and manage processes controlled by Supervisor.
- Start, stop, and restart processes.
- View and clear process logs.
- Navigate and interact with the interface using keyboard shortcuts.
Prerequisites
- Python 3.6 or higher.
- Supervisor program installed on your system.
Installation
Install from PyPI
pip install supervisor-shell-ui
Install from GitHub
You have two ways to install from GitHub.
First option: clone the repository
git clone https://github.com/psyb0t/supervisor-shell-ui.git
cd supervisor-shell-ui
pip install .
Second option: use pip to install directly from GitHub
pip install git+https://github.com/psyb0t/supervisor-shell-ui.git#egg=supervisor-shell-ui
Both ways will achieve the same result, installing the supervisor-shell-ui package on your system. Choose the one that suits you best.
Install from .tar.gz
First, download the .tar.gz
file from the GitHub releases page. Then extract it and navigate to the extracted directory:
tar -xvzf supervisor-shell-ui.tar.gz
cd supervisor-shell-ui
Install using pip:
pip install .
Alternatively, you can also use the setup.py
file:
python setup.py install
Usage
After installing, you can run the application with the following command:
supervisor-shell-ui
Keybindings
- Esc: Exit Page
- Tab: Switch Section
- Enter: Execute
- Page Up/Down: Scroll Table
- Left/Right Arrow: Change Button
- Up/Down Arrow: Change Process
Important Notes
- This application is intended for use on UNIX-like operating systems.
- The application requires that the Supervisor program is already installed and properly configured on your system.
License
This project is licensed under the terms of the GPL-3.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file supervisor-shell-ui-0.1.1.tar.gz
.
File metadata
- Download URL: supervisor-shell-ui-0.1.1.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 172db6988180d17a1659ee7bd92e3dc82200fe8ad4a35779d86fb4f4960a65b8 |
|
MD5 | a057416af8325e59f36276a2eb952959 |
|
BLAKE2b-256 | 71fbe7b423d2ca0fddc8937e3ad58a0e7c9359dae3ab81f8e35378a037ef7a27 |
File details
Details for the file supervisor_shell_ui-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: supervisor_shell_ui-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 202e849b8a542d9e21fa38b5293b2af03be53f37f58dca644787fd41dbe55172 |
|
MD5 | 76c2f3b69f48001fc377801ba77a5157 |
|
BLAKE2b-256 | 2c79319e4a0c679fd8acc57c5a7e2a64cc4c7911d2ea3aeca00382ed4cc25dc3 |