-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
37 lines (31 loc) · 1.17 KB
/
env.example
File metadata and controls
37 lines (31 loc) · 1.17 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
# 配置文件示例
# 复制此文件为.env并修改相应的值
# 注入配置文件列表 (必需)
# JSON数组格式,包含平台、作者、URL和注入配置内容
INJECT_SOURCE_CONFIG_LIST=[
{
"platform": "quanx",
"author": "bmqy",
"url": "https://example.com/quanx-config.conf",
},
{
"platform": "loon",
"author": "bmqy",
"url": "https://example.com/loon-config.conf",
}
]
# Worker名称 (可选,默认为"conf-inject-script")
WORKER_NAME=conf-inject-script
# 新增:各平台注入配置gist地址(JSON对象,key为平台名,value为gist原始链接)
INJECT_PLATFORM_LIST={
"quanx": "https://gist.githubusercontent.com/youruser/quanx-gist-raw-url",
"loon": "https://gist.githubusercontent.com/youruser/loon-gist-raw-url"
}
# 新增:访问token,建议使用secret模式
ACCESS_TOKEN=your_secret_token
# 新增:GitHub Token,用于获取最新gist版本(可选)
# 如果你的gist是私有的,或者希望确保能获取到最新的gist版本,建议配置此参数
GITHUB_TOKEN=your_github_token
# 新增:Telegram Bot Token 和 Chat ID
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_telegram_chat_id