huanfive commited on
Commit
d83d14a
·
verified ·
1 Parent(s): a878676

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -17
README.md CHANGED
@@ -1,17 +1,9 @@
1
- # Auto-keep-online
2
-
3
- 此脚本是基于node环境,定时访问网页,包括间断访问和不间断访问两种模式一起运行,以保证容器活跃。
4
-
5
- # 使用说明
6
- 1:在基于node环境下的容器或vps(需要自己安装node环境)使用。
7
-
8
- 2:上传index.js和package.json文件至运行环境根目录。
9
-
10
- 3:index.js中第9至16行中的网址是24小时不间断访问的url,多个往下继续增加,不限数量;86行为访问周期,默认2分钟,可根据需求自行设置。
11
-
12
- 4:index.js中的第23至26行为凌晨1点至6点暂停访问,其他时间正常访问的url,64行为访问周期,默认为2分钟,可根据需求自行设置。
13
-
14
- # 适用平台
15
- * 包括但不限于Glitch,Rendenr,Back4app,clever cloud,Zeabur,codesanbox,replit。。。等等,不支持物理停机的容器。
16
- * 部署在huggingface上的保活项目https://huggingface.co/spaces/rides/keep-alive 可直接复制我的space,修改index.js中的地址即可。
17
-
 
1
+ ---
2
+ title: kankannihaihaoma
3
+ emoji: 📈
4
+ colorFrom: indigo
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference