- Add deployment scripts (deploy.sh, test_connection.sh, core/start_server.sh) - Add deployment documentation (DEPLOYMENT_INFO.md, DEPLOYMENT_SUCCESS.md) - Add .env.example configuration template - Add requirements.txt for Python dependencies - Update README.md with latest information - Update core/server.py with improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
475 B
Plaintext
16 lines
475 B
Plaintext
# Telegram API 配置
|
||
TELEGRAM_API_ID=your_api_id
|
||
TELEGRAM_API_HASH=your_api_hash
|
||
TELEGRAM_SESSION_PATH=~/telegram_sessions/funstat_bot
|
||
FUNSTAT_BOT_USERNAME=@openaiw_bot
|
||
|
||
# 代理配置(如果服务器无法直接访问 Telegram,需要配置代理)
|
||
FUNSTAT_PROXY_TYPE=socks5
|
||
FUNSTAT_PROXY_HOST=127.0.0.1
|
||
FUNSTAT_PROXY_PORT=1080
|
||
|
||
# 服务器配置
|
||
# 监听地址: 0.0.0.0 表示所有网络接口,127.0.0.1 表示仅本地访问
|
||
FUNSTAT_HOST=0.0.0.0
|
||
FUNSTAT_PORT=8091
|