-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
762 changed files
with
81,822 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.git | ||
.idea | ||
.env | ||
logs | ||
README.md | ||
README_EN.md | ||
LICENSE | ||
.github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
##################################################################### | ||
# 注意事项 | ||
# | ||
# - 环境变量的格式为“键=值”,顶格写,注意等号两边不能有空格,值可以用单引号或者双引号引起来,不引也行(下面的特殊情况必须引起来) | ||
# - 因为环境变量中“#”代表注释,若密码中存在“#”字符的,一定要使用单引号将整个密码引起来,否则解析会在“#”字符前截止,如果密码中存在单双引号的, | ||
# 需要在单双引号前加“\”转义 | ||
# - 配置多账户不可省略单引号,且多个账户和密码的格式必须是“<账户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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
custom: ["https://www.paypal.me/mybsdc", "https://s2.ax1x.com/2020/01/31/1394at.png"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Bug report | ||
about: 根据此模板格式提问更可能得到帮助,没有具体描述的报告将被忽略。Create a report to help us improve. | ||
title: bug_report | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**描述问题** | ||
``` | ||
A clear and concise description of what the bug is. | ||
``` | ||
|
||
**重现步骤** | ||
``` | ||
步骤一 | ||
``` | ||
|
||
**截图&日志** | ||
|
||
**你做了哪些尝试** | ||
``` | ||
描述你发现问题后做了哪些尝试,方便我快速排除某些问题,提高沟通效率。 | ||
``` | ||
|
||
**环境信息** | ||
- centos7 x64 | ||
- php7.2 | ||
- freenom续期脚本版本 v0.2.2 | ||
|
||
**额外的备注** | ||
- Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: feature_request | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.env | ||
app/tmp/ | ||
app/num_limit/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM php:7.4.19-alpine3.13 | ||
|
||
LABEL author="mybsdc <[email protected]>" \ | ||
maintainer="luolongfei <[email protected]>" | ||
|
||
ENV TZ Asia/Shanghai | ||
|
||
WORKDIR /app | ||
|
||
COPY . ./ | ||
|
||
RUN set -eux \ | ||
&& apk update \ | ||
&& apk add --no-cache tzdata bash | ||
|
||
VOLUME ["/conf", "/app/logs"] | ||
|
||
COPY docker-entrypoint.sh /usr/local/bin/ | ||
ENTRYPOINT ["docker-entrypoint.sh"] | ||
|
||
CMD ["crond", "-f"] |
Oops, something went wrong.