forked from millylee/anyrouter-check-in
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (35 loc) · 1.8 KB
/
Copy path.env.example
File metadata and controls
39 lines (35 loc) · 1.8 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
# AnyRouter 账号配置
#
# 邮箱密码登录(推荐):
# ANYROUTER_ACCOUNTS=[{"email":"your@email.com","password":"your_password","api_user":"你的api_user值"}]
#
# Session 登录(兼容旧版):
# ANYROUTER_ACCOUNTS=[{"cookies":{"session":"你的session值"},"api_user":"你的api_user值"}]
#
# 混合配置(邮箱密码优先,session 作为备选):
# ANYROUTER_ACCOUNTS=[{"email":"your@email.com","password":"your_password","cookies":{"session":"你的session值"},"api_user":"你的api_user值"}]
ANYROUTER_ACCOUNTS=[{"email":"your@email.com","password":"your_password","api_user":"你的api_user值"}]
# 调试模式:true 时保存登录截图、输出代理地址/api_user 等详细日志(默认 false)
# DEBUG_MODE=false
# CHECKIN_BROWSER_PROFILE_DIR=.browser_profiles
# CLOAKBROWSER_BINARY_PATH=/path/to/local/browser
# 可选:Clash/Mihomo 订阅(CI 配 GitHub Secret PROXY_SUBSCRIPTION_URL;本地可先运行 scripts/setup_mihomo_proxy.sh)
# PROXY_SUBSCRIPTION_URL=https://example.com/sub?token=xxx
# CHECKIN_PROXY_URL=http://127.0.0.1:7890
# PROVIDERS 可按平台配置 use_proxy(内置默认 anyrouter=false, agentrouter=true)
# PROVIDERS={"agentrouter":{"domain":"https://agentrouter.org","use_proxy":true}}
# 可选:通知配置
# DINGDING_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=xxx
# EMAIL_USER=your_email@example.com
# EMAIL_PASS=your_password
# EMAIL_TO=recipient@example.com
# EMAIL_SENDER=
# PUSHPLUS_TOKEN=your_pushplus_token
# SERVERPUSHKEY=your_server_pushkey
# FEISHU_WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/xxx
# WEIXIN_WEBHOOK=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
# GOTIFY_URL=https://your-gotify-server/message
# GOTIFY_TOKEN=your_gotify_token
# GOTIFY_PRIORITY=9
# BARK_KEY=your_bark_key
# BARK_SERVER=https://api.day.app