tui-scripts/README.md

27 lines
924 B
Markdown
Raw Normal View History

2024-04-06 14:45:38 +00:00
# TUI scripts
2024-03-16 15:43:03 +00:00
## Description
2024-04-06 14:51:28 +00:00
Terminal user interface scripts for popular cli tools such as apt, systemctl, git, kubectl. Based on dialog and fzf
2024-03-16 15:43:03 +00:00
## Scripts
2024-03-16 15:51:56 +00:00
- `a` - for managing apt packages
- `g` - for managing git repo
- `s` - for managing systemd services
2024-04-06 14:07:25 +00:00
- `k` - for managing kubernetes (depends on kubectl)
2024-03-16 15:51:56 +00:00
- `r` - for running named commands from ~/.aliases.txt file
2024-04-06 15:30:24 +00:00
![Sripts in action](./images/scripts_in_action.svg)
2024-03-16 16:48:00 +00:00
2024-03-16 15:43:03 +00:00
## Installation
2024-03-16 16:02:22 +00:00
### Ubuntu/Debian-based
2024-03-16 15:57:31 +00:00
Download .deb package from [Releases](https://git.digitalstudium.com/digitalstudium/run/releases), then install it
2024-03-16 15:43:03 +00:00
```
2024-04-06 14:43:20 +00:00
sudo apt install ~/Downloads/tui-scripts_*.deb
2024-03-16 15:43:03 +00:00
```
2024-03-16 16:02:22 +00:00
### Other linux distros
Install dependencies: `fzf`, `dialog`, `xdotool`, `x11-xkb-utils`
2024-03-16 15:43:03 +00:00
2024-03-16 16:02:22 +00:00
Then clone this repo and copy all scripts to one of the PATH folder:
```
2024-04-06 14:43:20 +00:00
git clone https://git.digitalstudium.com/digitalstudium/tui-scripts.git
sudo cp tui-scripts/{a,g,s,r,k} /usr/local/bin/
2024-03-16 16:02:22 +00:00
```