Files
ts-mobile-go/README.md
T
2026-07-20 19:01:03 +08:00

21 lines
788 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ts-mobile-go
TeamSpeak Android 原生客户端,使用 Go (teamspeak-go) 作为协议层,Kotlin + Jetpack Compose 构建 UI。
## 技术栈
- **协议层**: Go + [teamspeak-go](https://github.com/honeybbq/teamspeak-go) (零 CGOgomobile bind → .aar)
- **UI 层**: Kotlin + Jetpack Compose + Material Design 3
- **状态管理**: ViewModel + StateFlow
- **持久化**: SharedPreferences (替代 localStorage)
## 快速开始
1. 安装 [Go 1.26+](https://go.dev/dl/)
2. 安装 gomobile: `go install golang.org/x/mobile/cmd/gomobile@latest && gomobile init`
3. 运行构建脚本: `build.bat` (Windows) 或 `./build.sh` (Linux/macOS)
4. 用 Android Studio 打开 `android/` 目录
5. 连接设备或启动模拟器,运行应用
详细构建说明见 [BUILD.md](BUILD.md)。