# vban-tui [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) --- ![screenshot](./img/tui.png) ## Install #### With uv ```console uv tool install vban-tui ``` #### With pipx ```console pipx install vban-tui ``` The TUI should now be discoverable as `vban-tui` --- ## Configuration ### Flags ```console vban-tui --host=localhost --port=6980 --streamname=Command1 ``` Additional Flags: - --rich_log/--no-rich_log: Use this to [disable the RichLog window](./img/tui-no_log.png). - This is useful if you're sending commands to Voicemeeter because you won't receive any responses anyway. ### Environment Variables example .envrc: ```env #!/usr/bin/env bash export VBAN_TUI_HOST="localhost" export VBAN_TUI_PORT=6980 export VBAN_TUI_STREAMNAME=Command1 ``` --- ## Use The TUI should load with the request input focused. Simply type in your request and press ENTER. If you enter the request `clear` the output log will be cleared. Press `Ctrl+q` to exit from the TUI. ### Command History Press *up/down* while focused on the request input to scroll through the command history. --- ## Notes This TUI supports the following: - Sending requests for Voicemeeter - Sending requests and receiving responses for Matrix If you need to send requests and receive responses for Voicemeeter check out [vban-cli][vban-cli] --- ## License `vban-tui` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license. [vban-cli]: https://github.com/onyx-and-iris/vban-cli