ngoctuanai commited on
Commit
6c2830b
1 Parent(s): 570804e

Update README-EN.md

Browse files
Files changed (1) hide show
  1. README-EN.md +49 -50
README-EN.md CHANGED
@@ -1,50 +1,49 @@
1
- <div align="center">
2
- <a name="readme-top"></a>
3
-
4
- # Keep Online
5
-
6
- **English** · [Vietnamese](./README-VN.md)
7
-
8
- ### Deploying with Replit
9
-
10
- | Deploy with Replit |
11
- | :-------------------------------------: |
12
- | [![][deploy-button-image]][deploy-link] |
13
-
14
- <div align="center">
15
- This script is built on a Node.js environment, performing periodic access to websites, including both continuous and intermittent access, to ensure the container remains active.
16
- </div>
17
-
18
- <div align="left">
19
-
20
- ## Usage Instructions
21
-
22
- > # NOTE
23
- > Set the time zone <a href="/.env">Env.Example</a>
24
-
25
- --------------
26
-
27
- 1. Run on a container or VPS with a Node.js environment (Node.js environment needs to be installed manually).
28
- 2. Upload the `index.js` and `package.json` files to the root directory of the running environment.
29
- 3. URL for continuous access 24 hours
30
-
31
- - In index.js, from line 10 to 14, the URLs are defined in the urls array, used for continuous access throughout 24 hours. You can add more URLs to this array without any limit on the number. Each URL will be accessed in cycles, with a default of 2 minutes (120 seconds), but you can adjust this cycle according to your needs by changing the parameter in the setInterval function on line 42.
32
-
33
- 4. URLs pause access from 00:00 to 06:00
34
-
35
- - In index.js, from line 23 to 26, the URLs are defined in the websites array, used for scheduled access. These URLs will pause access from 00:00 to 06:00. During this time, the application will not make any requests to the URLs in the websites array. At other times of the day, these URLs will be accessed normally. The access cycle for these URLs is also 2 minutes (120 seconds), and you can adjust it according to your needs by changing the parameter in the setInterval function on line 36.
36
-
37
- ## Application Platform
38
-
39
- - Supports unlimited Node.js deployment. Does not support physical containers that are inactive.
40
-
41
-
42
- ## LICENSE
43
-
44
- MIT © [LICENSE](./LICENSE).
45
-
46
- </div>
47
-
48
- <!-- LINK -->
49
- [deploy-button-image]: https://img.shields.io/badge/Run_on_Repl.it-grey?logo=replit&size=large
50
- [deploy-link]: https://replit.com/login?source=%2Fgithub%2F*&goto=%2Fnew%2F%3FgithubRepo%3Dchokiproai%2Fkeep-online
 
1
+ <div align="center">
2
+ <a name="readme-top"></a>
3
+
4
+ # Keep Online
5
+
6
+ **English** · [Vietnamese](./README-VN.md)
7
+
8
+
9
+ | Deploy with HuggingFace |
10
+ | :-------------------------------------: |
11
+ | [![][deploy-button-image]][deploy-link] |
12
+
13
+ <div align="center">
14
+ This script is built on a Node.js environment, performing periodic access to websites, including both continuous and intermittent access, to ensure the container remains active.
15
+ </div>
16
+
17
+ <div align="left">
18
+
19
+ ## Usage Instructions
20
+
21
+ > # NOTE
22
+ > Set the time zone <a href="/.env">Env.Example</a>
23
+
24
+ --------------
25
+
26
+ 1. Run on a container or VPS with a Node.js environment (Node.js environment needs to be installed manually).
27
+ 2. Upload the `index.js` and `package.json` files to the root directory of the running environment.
28
+ 3. URL for continuous access 24 hours
29
+
30
+ - In index.js, from line 10 to 14, the URLs are defined in the urls array, used for continuous access throughout 24 hours. You can add more URLs to this array without any limit on the number. Each URL will be accessed in cycles, with a default of 2 minutes (120 seconds), but you can adjust this cycle according to your needs by changing the parameter in the setInterval function on line 69.
31
+
32
+ 4. URLs pause access from 00:00 to 06:00
33
+
34
+ - In index.js, from line 23 to 26, the URLs are defined in the websites array, used for scheduled access. These URLs will pause access from 00:00 to 06:00. During this time, the application will not make any requests to the URLs in the websites array. At other times of the day, these URLs will be accessed normally. The access cycle for these URLs is also 2 minutes (120 seconds), and you can adjust it according to your needs by changing the parameter in the setInterval function on line 51.
35
+
36
+ ## Application Platform
37
+
38
+ - Supports unlimited Node.js deployment. Does not support physical containers that are inactive.
39
+
40
+
41
+ ## LICENSE
42
+
43
+ MIT © [LICENSE](./LICENSE).
44
+
45
+ </div>
46
+
47
+ <!-- LINK -->
48
+ [deploy-button-image]: https://cdn-uploads.huggingface.co/production/uploads/65c33f0aa592fce762eed505/qpm9eCvzXeXp-3tKJVSqs.png
49
+ [deploy-link]: https://huggingface.co/spaces/ngoctuanai/keep-online?duplicate=true