mirror of
https://github.com/onyx-and-iris/q3rcon-tui.git
synced 2026-02-26 03:09:09 +00:00
74 lines
1.9 KiB
Markdown
74 lines
1.9 KiB
Markdown
# q3rcon tui
|
|
|
|
[](https://github.com/pypa/hatch)
|
|
[](https://github.com/astral-sh/ruff)
|
|
[](https://pypi.org/project/q3rcon-tui)
|
|
[](https://pypi.org/project/q3rcon-tui)
|
|
|
|
-----
|
|
|
|

|
|
|
|
## Table of Contents
|
|
|
|
- [Installation](#installation)
|
|
- [License](#license)
|
|
|
|
## Installation
|
|
|
|
*with uv*
|
|
|
|
```console
|
|
uv tool install q3rcon-tui
|
|
```
|
|
|
|
*with pipx*
|
|
|
|
```console
|
|
pipx install q3rcon-tui
|
|
```
|
|
|
|
The TUI should now be discoverable as q3rcon-tui.
|
|
|
|
## Configuration
|
|
|
|
#### Flags
|
|
|
|
Pass `--host`, `--port` and `--password` as flags:
|
|
|
|
```console
|
|
q3rcon-tui --host=localhost --port=28960 --password=rconpassword
|
|
```
|
|
|
|
Additional flags:
|
|
|
|
- `--raw`: Boolean flag, if set the RichLog will print raw responses without rendering tables.
|
|
- `--append`: Boolean flag, if set the RichLog output with append each response continuously.
|
|
- `--version`: Print the version of the TUI.
|
|
- `--help`: Print the help message.
|
|
|
|
#### Environment Variables
|
|
|
|
Store and load from dotenv files located at:
|
|
- .env in the cwd
|
|
- user home directory / .config / q3rcon-tui / config.env
|
|
|
|
example .env:
|
|
|
|
```env
|
|
Q3RCON_TUI_HOST=localhost
|
|
Q3RCON_TUI_PORT=28960
|
|
Q3RCON_TUI_PASSWORD=rconpassword
|
|
Q3RCON_TUI_RAW=false
|
|
Q3RCON_TUI_APPEND=false
|
|
```
|
|
|
|
## Special Thanks
|
|
|
|
- [lapetus-11](https://github.com/Iapetus-11) for writing the [aio-q3-rcon](https://github.com/Iapetus-11/aio-q3-rcon) package.
|
|
- The developers at [Textualize](https://github.com/Textualize) for writing the [textual](https://github.com/Textualize/textual) package.
|
|
|
|
## License
|
|
|
|
`q3rcon-tui` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
|