-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
55 lines (43 loc) · 1.78 KB
/
Copy pathenv.example
File metadata and controls
55 lines (43 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ============================================
# GroupInsights 环境变量配置
# 复制此文件为 .env 并填写实际值
# ============================================
# ==========================================
# 必需配置
# ==========================================
# Telegram Bot
# 从 @BotFather 获取
TELEGRAM_BOT_TOKEN=123456789:ABCdefGHIjklMNOpqrsTUVwxyz
# Supabase
# 在 Supabase Dashboard → Settings → API 中获取
SUPABASE_URL=https://your-project-id.supabase.co
# ⚠️ 注意:使用 service_role key,不是 anon key!
# service_role key 以 eyJ 开头,是一个很长的 JWT token
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# DeepSeek AI
# 从 https://platform.deepseek.com/ 获取
DEEPSEEK_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxx
# 超级管理员
# Telegram 用户 ID(数字),多个用逗号分隔
# 获取方式:在 Telegram 中向 @userinfobot 发送任意消息
SUPER_ADMIN_IDS=123456789
# 管理 API 密钥
# 用于访问管理后台 API,自己设置一个安全的字符串
ADMIN_SECRET=your-secure-admin-secret-key
# ==========================================
# 可选配置(支付功能)
# ==========================================
# USDT TRC20 收款钱包地址
# 用于接收用户的 USDT 支付
USDT_WALLET_ADDRESS=TXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# TronGrid API Key(可选)
# 从 https://www.trongrid.io/ 获取
# 用于验证 USDT 转账,不填则使用公共 API(有限流)
TRONGRID_API_KEY=your-trongrid-api-key
# ==========================================
# 自动生成(部署后获取)
# ==========================================
# Worker URL
WORKER_URL=https://groupinsights.your-subdomain.workers.dev
# Webhook URL
WEBHOOK_URL=https://groupinsights.your-subdomain.workers.dev/webhook/telegram