A little tool to launch terminal applications.
|
|
2 months ago | |
|---|---|---|
| LICENSE.txt | 2 months ago | |
| README.md | 2 months ago | |
| programs.json | 2 months ago | |
| tui-launcher.sh | 2 months ago |
Welcome to TUI Launcher! A simple, yet beautiful and customizable Terminal User Interface (TUI) for launching your favorite command-line programs.
programs.json file.gum, figlet, and lolcat.TUI Launcher relies on the following command-line tools:
gum: A tool for glamorous shell scripts.figlet: A program for making large letters out of ordinary text.lolcat: A tool for rainbow coloring of text in the terminal.jq: A lightweight and flexible command-line JSON processor.The launcher will check if these are installed and prompt you to install them if they are not.
Clone the repository:
git clone https://git.donaberger.xyz/tui-launcher.git
cd tui-launcher
Make the script executable:
chmod +x tui-launcher.sh
Run the launcher:
./tui-launcher.sh
To add, remove, or modify the programs in the launcher, simply edit the programs.json file. The file is a JSON array of objects, where each object represents a program and has the following structure:
{
"name": "Your Program Name",
"command": "command-to-execute",
"description": "A short description of your program.",
"emoji": "🚀"
}
programs.json:[
{
"name": "btm",
"command": "btm",
"description": "A cross-platform, terminal-based resource monitor.",
"emoji": "〽️"
},
{
"name": "btop",
"command": "btop",
"description": "A resource monitor that shows usage and stats for processor, memory, disks, network and processes.",
"emoji": "📈"
}
]
./tui-launcher.sh↑/↓) or k/j to navigate the menu.Enter to launch the selected program.Ctrl+D, b, or ESC.Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.