Metadata-Version: 2.4
Name: claude-telegram-bot
Version: 0.1.1
Summary: Telegram bot for interacting with Claude Code CLI
Project-URL: Homepage, https://github.com/littzhch/claude-telegram-bot
Project-URL: Repository, https://github.com/littzhch/claude-telegram-bot
Author-email: littzhch <2371050115@qq.com>
License: MIT
Keywords: ai,anthropic,bot,claude,telegram
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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.9
Requires-Dist: python-dotenv>=1.0
Requires-Dist: python-telegram-bot>=21.0
Requires-Dist: tomli>=2.0; python_version < '3.11'
Description-Content-Type: text/markdown

# Claude Telegram Bot

Telegram bot for interacting with Claude Code CLI

## Installation

```bash
pip install claude-telegram-bot
```

## Configuration

Configuration priority: CLI > ENV > config file > defaults

### Config File

Create `~/.config/claude-tg-bot.toml`:

```toml
[telegram]
bot_token = "your-telegram-bot-token"
admin_user_id = 123456789
allowed_user_ids = [123456789]

[claude]
path = "/home/zhangchi/.local/bin/claude"
timeout = 120

[data]
dir = "~/.cache/claude-tg-bot"
```

### Environment Variables

- `BOT_TOKEN`: Telegram bot token
- `ADMIN_USER_ID`: Admin user ID
- `ALLOWED_USER_IDS`: Comma-separated user IDs
- `CLAUDE_PATH`: Path to Claude CLI
- `CLAUDE_TIMEOUT`: Command timeout in seconds
- `DATA_DIR`: Data directory

### CLI Arguments

```bash
claude-tg-bot --help
```

## Usage

```bash
claude-tg-bot --bot-token YOUR_TOKEN
```
