Skip to content

Commit b1dffed

Browse files
committed
迁移提交
1 parent 0111e30 commit b1dffed

File tree

762 files changed

+81822
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

762 files changed

+81822
-0
lines changed

.dockerignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.git
2+
.idea
3+
.env
4+
logs
5+
README.md
6+
README_EN.md
7+
LICENSE
8+
.github

.env.example

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#####################################################################
2+
# 注意事项
3+
#
4+
# - 环境变量的格式为“键=值”,顶格写,注意等号两边不能有空格,值可以用单引号或者双引号引起来,不引也行(下面的特殊情况必须引起来)
5+
# - 因为环境变量中“#”代表注释,若密码中存在“#”字符的,一定要使用单引号将整个密码引起来,否则解析会在“#”字符前截止,如果密码中存在单双引号的,
6+
# 需要在单双引号前加“\”转义
7+
# - 配置多账户不可省略单引号,且多个账户和密码的格式必须是“<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>”,不要有空格,就算有程序也会给你干掉
8+
# e.g. MULTIPLE_ACCOUNTS='<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>'
9+
# 注意不要省略“<>”符号,否则无法正确匹配
10+
# - 若你只有单个账户,只配置FREENOM_USERNAME和FREENOM_PASSWORD就够了
11+
# - 单账户和多账户的配置会被合并在一起读取并去重
12+
#####################################################################
13+
14+
###################### 账户配置 Account config #########################
15+
# Freenom账户 Freenom Account
16+
FREENOM_USERNAME=[email protected]
17+
18+
# Freenom密码 Freenom password
19+
FREENOM_PASSWORD=''
20+
21+
# 多账户支持 Support for multiple accounts
22+
MULTIPLE_ACCOUNTS=''
23+
###################### end 账户配置 #########################
24+
25+
###################### 通知邮件配置 Email config #########################
26+
# 机器人邮箱账户 Email of robot
27+
MAIL_USERNAME=[email protected]
28+
29+
# 机器人邮箱密码(Gmail填密码,QQ邮箱或163邮箱填授权码) Password of the robot email
30+
MAIL_PASSWORD=''
31+
32+
# 用于接收通知的邮箱 Email address used to receive notifications
33+
TO=''
34+
35+
# 是否启用邮件推送功能 true:启用 false:不启用 Whether to enable email push features true: enabled false: not enabled
36+
MAIL_ENABLE=true
37+
###################### end 通知邮件配置 #########################
38+
39+
###################### Telegram bot #########################
40+
# 可选配置,通过 Telegram bot 发送通知消息 This is an optional configuration to send notification messages via Telegram bot
41+
42+
# 你的chat_id,通过发送“/start”给@userinfobot可以获取自己的id Your chat_id, you can get your own id by sending "/start" to @userinfobot
43+
TELEGRAM_CHAT_ID=''
44+
45+
# 你的Telegram bot的token Token for your Telegram bot
46+
TELEGRAM_BOT_TOKEN=''
47+
48+
# 是否启用 Telegram Bot 功能 true:启用 false:不启用 Whether to enable Telegram Bot features true: enabled false: not enabled
49+
TELEGRAM_BOT_ENABLE=false
50+
###################### end Telegram bot #########################
51+
52+
# 通知频率 0:仅当有续期操作的时候 1:每次执行 Notification frequency 0: Only when there is a renewal operation 1: Each execution
53+
NOTICE_FREQ=1
54+
55+
# 在 Github Actions 上运行 Run on github actions
56+
ON_GITHUB_ACTIONS=false
57+
58+
# 是否验证服务器证书 Whether to verify server certificate
59+
VERIFY_SSL=false
60+
61+
# 是否开启 Debug 模式 Whether to enable debug mode
62+
DEBUG=false

.github/FUNDING.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
custom: ["https://www.paypal.me/mybsdc", "https://s2.ax1x.com/2020/01/31/1394at.png"]

.github/ISSUE_TEMPLATE/bug_report.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: 根据此模板格式提问更可能得到帮助,没有具体描述的报告将被忽略。Create a report to help us improve.
4+
title: bug_report
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**描述问题**
11+
```
12+
A clear and concise description of what the bug is.
13+
```
14+
15+
**重现步骤**
16+
```
17+
步骤一
18+
```
19+
20+
**截图&日志**
21+
22+
**你做了哪些尝试**
23+
```
24+
描述你发现问题后做了哪些尝试,方便我快速排除某些问题,提高沟通效率。
25+
```
26+
27+
**环境信息**
28+
- centos7 x64
29+
- php7.2
30+
- freenom续期脚本版本 v0.2.2
31+
32+
**额外的备注**
33+
- Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: feature_request
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.env
2+
app/tmp/
3+
app/num_limit/

Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM php:7.4.19-alpine3.13
2+
3+
LABEL author="mybsdc <[email protected]>" \
4+
maintainer="luolongfei <[email protected]>"
5+
6+
ENV TZ Asia/Shanghai
7+
8+
WORKDIR /app
9+
10+
COPY . ./
11+
12+
RUN set -eux \
13+
&& apk update \
14+
&& apk add --no-cache tzdata bash
15+
16+
VOLUME ["/conf", "/app/logs"]
17+
18+
COPY docker-entrypoint.sh /usr/local/bin/
19+
ENTRYPOINT ["docker-entrypoint.sh"]
20+
21+
CMD ["crond", "-f"]

0 commit comments

Comments
 (0)