新增: u-tabs 初始版本

Go TUI 项目启动器,基于 bubbletea v2 + lipgloss v2。
支持分组 Tab、多选启动、编号跳转、Windows Terminal 集成。
This commit is contained in:
2026-05-16 21:01:03 +08:00
commit a027fe1703
12 changed files with 1356 additions and 0 deletions

56
README.md Normal file
View File

@@ -0,0 +1,56 @@
# u-tabs
TUI 工作空间启动器 — 在终端快速选择项目,一键启动 Claude Code。
## 功能
- YAML 配置驱动,分组管理工作空间
- 左右布局:列表 + 详情面板
- 一键启动 Windows Terminal + Claude Code
- 多选批量启动、编号快捷跳转、复制启动命令
- Tokyo Night 主题CJK 字符安全渲染
## 安装
```bash
git clone https://gitea.1216.top/lxy/u-tabs.git
cd u-tabs && go build .
```
或下载 [Release](https://gitea.1216.top/lxy/u-tabs/releases) 中的 exe。
## 配置
首次运行读取 `~/.u-tabs/config.yaml`,参考 [config.example.yaml](./config.example.yaml)。
```yaml
groups:
- label: CORE
desc: 核心业务
items:
- title: my-project
prompt: 项目描述
tech: Go/Gin
deploy: 本地开发
dir: "E:\\projects\\my-project"
```
## 快捷键
| 按键 | 功能 |
|------|------|
| j/k | 上下选择 |
| Tab | 切换分组 |
| Enter | 启动 |
| Space | 多选 |
| c | 复制命令 |
| 数字 | 按编号跳转 |
| q | 退出 |
## 技术栈
Go 1.26 / Bubbletea v2 / Lipgloss v2
## 文档
- [架构设计](./docs/02-技术文档/架构设计.md)