Skip to content

Commit

Permalink
支持腾讯云函数
Browse files Browse the repository at this point in the history
  • Loading branch information
mybsdc committed Sep 10, 2021
1 parent b1dffed commit a55eb03
Show file tree
Hide file tree
Showing 16 changed files with 76 additions and 1,860 deletions.
8 changes: 0 additions & 8 deletions .dockerignore

This file was deleted.

123 changes: 61 additions & 62 deletions .env.example → .env
Original file line number Diff line number Diff line change
@@ -1,62 +1,61 @@
#####################################################################
# 注意事项
#
# - 环境变量的格式为“键=值”,顶格写,注意等号两边不能有空格,值可以用单引号或者双引号引起来,不引也行(下面的特殊情况必须引起来)
# - 因为环境变量中“#”代表注释,若密码中存在“#”字符的,一定要使用单引号将整个密码引起来,否则解析会在“#”字符前截止,如果密码中存在单双引号的,
# 需要在单双引号前加“\”转义
# - 配置多账户不可省略单引号,且多个账户和密码的格式必须是“<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>”,不要有空格,就算有程序也会给你干掉
# e.g. MULTIPLE_ACCOUNTS='<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>'
# 注意不要省略“<>”符号,否则无法正确匹配
# - 若你只有单个账户,只配置FREENOM_USERNAME和FREENOM_PASSWORD就够了
# - 单账户和多账户的配置会被合并在一起读取并去重
#####################################################################

###################### 账户配置 Account config #########################
# Freenom账户 Freenom Account
FREENOM_USERNAME=[email protected]

# Freenom密码 Freenom password
FREENOM_PASSWORD=''

# 多账户支持 Support for multiple accounts
MULTIPLE_ACCOUNTS=''
###################### end 账户配置 #########################

###################### 通知邮件配置 Email config #########################
# 机器人邮箱账户 Email of robot
MAIL_USERNAME=[email protected]

# 机器人邮箱密码(Gmail填密码,QQ邮箱或163邮箱填授权码) Password of the robot email
MAIL_PASSWORD=''

# 用于接收通知的邮箱 Email address used to receive notifications
TO=''

# 是否启用邮件推送功能 true:启用 false:不启用 Whether to enable email push features true: enabled false: not enabled
MAIL_ENABLE=true
###################### end 通知邮件配置 #########################

###################### Telegram bot #########################
# 可选配置,通过 Telegram bot 发送通知消息 This is an optional configuration to send notification messages via Telegram bot

# 你的chat_id,通过发送“/start”给@userinfobot可以获取自己的id Your chat_id, you can get your own id by sending "/start" to @userinfobot
TELEGRAM_CHAT_ID=''

# 你的Telegram bot的token Token for your Telegram bot
TELEGRAM_BOT_TOKEN=''

# 是否启用 Telegram Bot 功能 true:启用 false:不启用 Whether to enable Telegram Bot features true: enabled false: not enabled
TELEGRAM_BOT_ENABLE=false
###################### end Telegram bot #########################

# 通知频率 0:仅当有续期操作的时候 1:每次执行 Notification frequency 0: Only when there is a renewal operation 1: Each execution
NOTICE_FREQ=1

# 在 Github Actions 上运行 Run on github actions
ON_GITHUB_ACTIONS=false

# 是否验证服务器证书 Whether to verify server certificate
VERIFY_SSL=false

# 是否开启 Debug 模式 Whether to enable debug mode
DEBUG=false
#####################################################################
# 注意事项
#
# - 环境变量的格式为“键=值”,顶格写,注意等号两边不能有空格,值可以用单引号或者双引号引起来,不引也行(下面的特殊情况必须引起来)
# - 因为环境变量中“#”代表注释,若密码中存在“#”字符的,一定要使用单引号将整个密码引起来,否则解析会在“#”字符前截止,如果密码中存在单双引号的,
# 需要在单双引号前加“\”转义
# - 配置多账户不可省略单引号,且多个账户和密码的格式必须是“<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>”,不要有空格,就算有程序也会给你干掉
# e.g. MULTIPLE_ACCOUNTS='<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>'
# - 若你只有单个账户,只配置FREENOM_USERNAME和FREENOM_PASSWORD就够了
# - 单账户和多账户的配置会被合并在一起读取并去重
#####################################################################

###################### 账户配置 Account config #########################
# Freenom账户 Freenom Account
FREENOM_USERNAME=[email protected]

# Freenom密码 Freenom password
FREENOM_PASSWORD=''

# 多账户支持 Support for multiple accounts
MULTIPLE_ACCOUNTS=''
###################### end 账户配置 #########################

###################### 通知邮件配置 Email config #########################
# 机器人邮箱账户 Email of robot
MAIL_USERNAME=[email protected]

# 机器人邮箱密码(Gmail填密码,QQ邮箱或163邮箱填授权码) Password of the robot email
MAIL_PASSWORD=''

# 用于接收通知的邮箱 Email address used to receive notifications
TO=''

# 是否启用邮件推送功能 true:启用 false:不启用 Whether to enable email push features true: enabled false: not enabled
MAIL_ENABLE=true
###################### end 通知邮件配置 #########################

###################### Telegram bot #########################
# 可选配置,通过 Telegram bot 发送通知消息 This is an optional configuration to send notification messages via Telegram bot

# 你的chat_id,通过发送“/start”给@userinfobot可以获取自己的id Your chat_id, you can get your own id by sending "/start" to @userinfobot
TELEGRAM_CHAT_ID=''

# 你的Telegram bot的token Token for your Telegram bot
TELEGRAM_BOT_TOKEN=''

# 是否启用 Telegram Bot 功能 true:启用 false:不启用 Whether to enable Telegram Bot features true: enabled false: not enabled
TELEGRAM_BOT_ENABLE=false
###################### end Telegram bot #########################

# 通知频率 0:仅当有续期操作的时候 1:每次执行 Notification frequency 0: Only when there is a renewal operation 1: Each execution
NOTICE_FREQ=1

# 在 Github Actions 上运行 Run on github actions
ON_GITHUB_ACTIONS=false

# 是否验证服务器证书 Whether to verify server certificate
VERIFY_SSL=false

# 是否开启 Debug 模式 Whether to enable debug mode
DEBUG=false
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit a55eb03

Please sign in to comment.