Metadata-Version: 2.4
Name: tts-tg-bot
Version: 1.0.1
Summary: Telegram bot for text-to-speech and speech-to-text conversion
Home-page: https://github.com/yourusername/tts-bot
Author: TTS Bot Team
Author-email: TTS Bot Team <dev@example.com>
Project-URL: Homepage, https://github.com/yourusername/tts-tg-bot
Keywords: telegram,bot,tts,stt,speech,text-to-speech
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Communications :: Chat
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: python-telegram-bot>=20.0
Requires-Dist: edge-tts>=6.0.0
Requires-Dist: SpeechRecognition>=3.10.0
Requires-Dist: pydub>=0.25.0
Dynamic: author
Dynamic: home-page
Dynamic: requires-python

# W3C TTS Bot

Telegram 文字转语音机器人

## 功能特性

- ✅ 文字转语音（中英文支持）
- ✅ 使用微软 Edge TTS（免费）
- ✅ 多种语音选择
- ✅ 自动语音回复

## 快速开始

### 1. 安装

```bash
pip install tts-tg-bot
```

### 2. 配置 Token

创建 `token.txt` 文件，写入你的 Telegram Bot Token：

```bash
echo "YOUR_BOT_TOKEN" > token.txt
```

### 3. 启动 Bot

```bash
tts-tg-bot
```

或使用 Python 模块：

```bash
python -m tts_bot.bot
```

## 使用方法

1. 在 Telegram 搜索 `@w3c_tts_bot`
2. 发送 `/start` 查看帮助
3. 发送任何文字，Bot 会返回语音
4. 使用 `/voice` 命令切换语音

## 支持的语音

- 中文女声：zh-CN-XiaoxiaoNeural（默认）
- 中文男声：zh-CN-YunxiNeural
- 英文女声：en-US-JennyNeural
- 英文男声：en-US-GuyNeural

## 技术栈

- Python 3
- python-telegram-bot - Telegram Bot API
- edge-tts - 微软免费 TTS 服务

## Bot 信息

- Bot 名称: W3C TTS Bot
- Username: @w3c_tts_bot

## 开发者

TTS Bot 开发战士 ⚔️
