17 Commits

Author SHA1 Message Date
d34ebd147e fix: 修复流式播放无声音问题(SSE 行缓冲 + 解析层级) v0.3.2 2026-05-09 04:06:47 +08:00
ceeb6a3c31 fix: 修复守护进程日志中文截取 panic
- daemon.rs: 使用字符索引替代字节索引截取日志文本
- agents.md: 添加踩坑记录
2026-04-25 07:38:26 +08:00
96b3aa4a37 feat: 添加HTTP接口支持Postman测试
- 添加 tiny_http 依赖用于HTTP服务器
- 守护进程自动启动HTTP服务器(端口=TCP端口+1)
- 添加 /synthesize 接口(POST)
- 添加 /health 健康检查接口(GET)
- 测试通过: curl 和 mimo-tts send 命令
2026-04-25 06:34:54 +08:00
19eb313bef feat: 添加守护进程(daemon)模式
- 实现 TCP Socket 守护进程,支持后台运行
- 添加 daemon 子命令:start/stop/status/logs
- 添加 send 子命令:发送文本到守护进程播放
- 添加日志级别自动检测(INFO/WARN/ERROR)
- 新日志格式:[时间戳] [级别] [PID] 消息
- 支持跨平台 ~/.config/tts/ 配置目录
2026-04-25 05:50:28 +08:00
f81d1ab979 docs: 添加 README 使用说明
- 包含功能特性介绍
- 下载安装指南
- 详细使用方法
- 参数说明和示例
- 配置文件说明
- 开发编译指南
- 项目结构和退出码
2026-04-24 04:12:14 +08:00
5c5510ef0a docs: 添加多平台 Runner 架构文档
- 描述 Gitea 多平台 runner 配置方案
- 包含 macOS 和 Windows 安装脚本
- 说明跨平台编译限制
- 提供故障排查指南
2026-04-24 04:09:43 +08:00
3e8fe16e07 fix: 使用 secrets.release 作为 token 名称 2026-04-24 04:02:09 +08:00
2f9f1ca1f9 ci: 添加 GitHub Actions 和 Gitea 两套 workflow
.github/workflows/release.yml - GitHub Actions(多平台)
.gitea/workflows/release.yml - Gitea(仅 Linux)
2026-04-24 03:48:16 +08:00
4abce8070e ci: 添加 GitHub Actions workflow(支持多平台构建)
Some checks failed
Release / build (ubuntu-latest, linux-amd64) (push) Failing after 3m52s
Release / build (ubuntu-latest, linux-arm64) (push) Failing after 22s
Release / build (macos-latest, darwin-amd64) (push) Has been cancelled
Release / build (macos-latest, darwin-arm64) (push) Has been cancelled
Release / build (windows-latest, windows-amd64) (push) Has been cancelled
Release / release (push) Has been cancelled
- 使用 matrix 构建:ubuntu, macos, windows
- 支持:linux-amd64, linux-arm64, darwin-amd64, darwin-arm64, windows-amd64
- 使用 actions/upload-artifact 上传构建产物
- 使用 gh release 创建 release
2026-04-24 03:47:47 +08:00
d3c7243d33 ci: 多平台构建 支持 matrix 和交叉编译
- 使用 Ubuntu 24.04 runner
- 添加 cargo 镜像源
- 在一个 job 中顺序构建所有平台
- 支持:linux-amd64, linux-arm64, darwin-amd64, darwin-arm64, windows-amd64
- 每次 push 到 main 自动更新 release
2026-04-24 03:44:37 +08:00
849473aff4 ci: 使用 Docker container 和国内镜像源
Some checks failed
Release / build (push) Has been cancelled
- 使用 rust:1.82 容器
- 使用阿里云 apk 镜像源
- 使用阿里云 cargo 镜像源
- 只构建 linux 版本
2026-04-24 03:43:25 +08:00
f4eed7399b fix: 修复 workflow 语法错误
Some checks failed
Release / build (push) Has been cancelled
- 修复 env 变量语法
- 简化 release body 构造
- 修复 JSON 格式
2026-04-24 03:42:28 +08:00
b0d6718212 fix: 重写 workflow - 适配 Gitea Actions
Some checks failed
Release / build (push) Has been cancelled
- 不使用 actions/ 生态
- 直接 clone 代码构建
- 构建完成后删除旧 release 再创建新的
- 支持 windows .exe 后缀
2026-04-24 03:41:38 +08:00
e31eb547a9 fix: 修复 workflow
Some checks failed
Release / build (push) Has been cancelled
- 移除 matrix strategy(单 job 构建)
- 移除 artifacts(直接上传)
- 所有平台在一个 step 中构建
2026-04-24 03:41:10 +08:00
eda35d9675 ci: 使用 ubuntu24.04 runner
Some checks failed
Release / build (map[arch:amd64 os:darwin]) (push) Has been cancelled
Release / build (map[arch:amd64 os:linux]) (push) Has been cancelled
Release / build (map[arch:amd64 os:windows]) (push) Has been cancelled
Release / build (map[arch:arm64 os:darwin]) (push) Has been cancelled
Release / build (map[arch:arm64 os:linux]) (push) Has been cancelled
Release / release (push) Has been cancelled
- 修改 runs-on 为 ubuntu24.04
2026-04-24 03:37:47 +08:00
c4ae5df33e ci: 添加 Gitea Actions workflow
Some checks failed
Release / build (map[arch:amd64 os:darwin]) (push) Has been cancelled
Release / build (map[arch:amd64 os:linux]) (push) Has been cancelled
Release / build (map[arch:amd64 os:windows]) (push) Has been cancelled
Release / build (map[arch:arm64 os:darwin]) (push) Has been cancelled
Release / build (map[arch:arm64 os:linux]) (push) Has been cancelled
Release / release (push) Has been cancelled
- 每次 push 到 main 分支时自动构建
- 支持多平台:linux amd64/arm64, darwin amd64/arm64, windows amd64
- 自动生成 checksums.txt
- 自动更新 release 内容(使用 git log)
2026-04-24 03:37:12 +08:00
be83f288a5 feat: 初始化 Mimo-TTS CLI 工具
- 实现文本转语音功能(支持多种音色)
- 支持流式输出(--stream)和直接播放(--play)
- 实现自动语气转换器(根据标点自动添加语气标签)
- 使用 crossterm 美化 CLI 输出
- 配置分层设计(项目配置 + 用户配置)
- 独立模块划分:api.rs, cli.rs, config.rs, tone.rs, ui.rs

v0.1.0
2026-04-24 03:32:44 +08:00