-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
30 lines (26 loc) · 1.01 KB
/
.env.example
File metadata and controls
30 lines (26 loc) · 1.01 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
# 飞书Webhook配置
# 获取方法:
# 1. 在飞书中创建群组
# 2. 添加自定义机器人
# 3. 复制生成的webhook地址替换下面的URL
FEISHU_WEBHOOK_URL=https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_WEBHOOK_URL_HERE
# 通知配置
# 是否启用飞书通知 (true/false)
NOTIFICATION_ENABLED=true
# 是否启用声音提醒 (true/false)
SOUND_ENABLED=true
# Telegram Bot配置
# 获取方法:
# 1. 与 @BotFather 对话创建机器人,获取 token
# 2. 将机器人添加到频道/群组,或直接与机器人对话
# 3. 获取 chat_id (个人ID或频道ID,可通过 https://api.telegram.org/bot<TOKEN>/getUpdates 获取)
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_here
# HTTP代理配置(可选)
# 如果需要通过代理访问Telegram API,请配置以下选项之一
# 支持的格式:
# - http://127.0.0.1:7890
# - http://proxy.example.com:8080
# - http://user:password@proxy.example.com:8080
# HTTP_PROXY=http://127.0.0.1:7890
# HTTPS_PROXY=http://127.0.0.1:7890