Crates.io | tuimenu |
lib.rs | tuimenu |
version | 0.0.2 |
created_at | 2025-09-24 22:53:40.777758+00 |
updated_at | 2025-09-24 22:53:40.777758+00 |
description | A simple tui/cli program launcher |
homepage | |
repository | https://github.com/achester88/tuimenu/ |
max_upload_size | |
id | 1853890 |
size | 13,918 |
tuimenu is a simple Rust-based program intended for easily opening tui and cli applications from a simple terminal. It allows for simple "aliasing" of commands and quick launching of tui programs from one menu.
tuimenu can be installed via cargo:
cargo install tuimenu
or built from this repo:
Step 1: Clone repo
git clone https://github.com/achester88/tuimenu
cd tuimenu
Step 2: Build via Cargo
cargo build --release
Step 3: Running
cd target/release
#Then make the tuimenu binary executable
chmod +x ./tuimenu
#Then to run it
./tuimenu
To add a program to tuimenu, navigate to ~/tuimenu/list.json
, and add each program as its own object.
[
{
"cmd": "{NAME OF COMMAND}",
"desc": "{TEXT TO BE SHOWN WITH COMMAND}",
"args": ["ARG", "BY", "SPACE"] //Optional
},
]
[
{
"cmd": "btop",
"desc": "A terminal monitor of resources"
},
{
"cmd": "dooit",
"desc": "A TUI todo manager for the terminal"
},
{
"cmd": "wofi",
"desc": "A graphical program launcher",
"args": ["--show", "drun"]
}
]