feat: TeamSpeak TUI client with Bubble Tea

- Created TUI client in cmd/tui
- Implemented channel navigation and user display
- Fixed serverInfo initialization in ts3client
- Added real-time log panel in TUI
- Ordered channels by ID for stability
This commit is contained in:
Jose Luis Montañes Ojados
2026-01-16 14:41:26 +01:00
parent 8ef80530f6
commit c0b1217536
7 changed files with 608 additions and 1 deletions

12
tui.ps1 Normal file
View File

@@ -0,0 +1,12 @@
# Fix UTF-8 encoding for PowerShell
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
chcp 65001 > $null
$env:PATH = "D:\esto_al_path\msys64\mingw64\bin;$env:PATH"
$env:PKG_CONFIG_PATH = "D:\esto_al_path\msys64\mingw64\lib\pkgconfig"
$env:XAI_API_KEY = "xai-TyecBoTLlFNL0Qxwnb0eRainG8hKTpJGtnCziMhm1tTyB1FrLpZm0gHNYA9qqqX21JsXStN1f9DseLdJ"
# go run ./cmd/voicebot --server localhost:9987 --nickname Adam --voice Rex --greeting " " --room "test"
go run ./cmd/tui --server localhost:9987 --nickname Adam