Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled

Full-stack web application for Telegram management
- Frontend: Vue 3 + Vben Admin
- Backend: NestJS
- Features: User management, group broadcast, statistics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
你的用户名
2025-11-04 15:37:50 +08:00
commit 237c7802e5
3674 changed files with 525172 additions and 0 deletions

39
telegram-web/setup.sh Normal file
View File

@@ -0,0 +1,39 @@
#!/bin/bash
echo "=== 设置 Telegram Web K ==="
# 检查是否已经克隆
if [ ! -d "tweb" ]; then
echo "1. 克隆 Telegram Web K..."
git clone https://github.com/morethanwords/tweb.git
cd tweb
else
echo "1. 更新 Telegram Web K..."
cd tweb
git pull
fi
echo "2. 安装依赖..."
npm install
echo "3. 配置环境..."
# 创建自定义配置
cat > .env << EOF
# API配置
VITE_TELEGRAM_API_ID=2040
VITE_TELEGRAM_API_HASH=b18441a1ff607e10a989891a5462e627
VITE_TELEGRAM_API_TEST=false
# 开发服务器
VITE_DEV_SERVER_PORT=8889
EOF
echo "4. 构建项目..."
npm run build
echo "5. 完成!"
echo ""
echo "使用方法:"
echo "- 开发模式: npm run dev"
echo "- 生产构建: npm run build"
echo "- 访问地址: http://localhost:8889"