From 90a4728914b13314a14c733dc380a19944bcbfd5 Mon Sep 17 00:00:00 2001 From: filesite Date: Thu, 9 May 2024 05:40:33 +0800 Subject: [PATCH] add english version --- .gitignore | 2 + index.mjs | 4 +- public/en/index.html | 216 +++++++++++++++++++++++++++++++++++++++++++ public/index.html | 14 ++- 4 files changed, 230 insertions(+), 6 deletions(-) create mode 100644 public/en/index.html diff --git a/.gitignore b/.gitignore index 18a99cd..351fe6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ package-lock.json node_modules/ tmp/ +log/tasks.log +log/test.log \ No newline at end of file diff --git a/index.mjs b/index.mjs index 3cd13b5..0ec501c 100644 --- a/index.mjs +++ b/index.mjs @@ -51,7 +51,7 @@ app.use((err, req, res, next) => { // Listen to the App Engine-specified port, or 8080 otherwise const PORT = process.env.PORT || 8080; -const HOST = '127.0.0.1'; +const HOST = process.env.HOST || '127.0.0.1'; app.listen(PORT, HOST, async () => { - console.log('Server listening on port %s...', PORT); + console.log('Server listening on port %s:%s...', HOST, PORT); }); diff --git a/public/en/index.html b/public/en/index.html new file mode 100644 index 0000000..05718bd --- /dev/null +++ b/public/en/index.html @@ -0,0 +1,216 @@ + + + + + + + HeroUnion - Open source web crawler union. + + + + + +

HeroUnion - Open source web crawler union

+ +
+

+ 简体中文 + English +

+ +

HeroUnion download

+

https://github.com/filesite-io/herounion

+ +

HeroBot download

+

https://github.com/filesite-io/machete_hero

+ +

HeroUnion Stats - It's running ...

+

Tasks Stats (Past ...)

+
+ + ... + + + + ... + + + + ... + + + + ... + + + + ... + + +
+ +

Notify Stats (Past ...)

+
+ + ... + + + + ... + + + + ... + + +
+ +

Bot Stats

+
+ + ... + + + + ... + + + + ... + + + + ... + + +
+ +

JSON Data

+
...
+ +

Bots

+
...
+ + + + + + + + \ No newline at end of file diff --git a/public/index.html b/public/index.html index 65f8e5b..e283d4e 100644 --- a/public/index.html +++ b/public/index.html @@ -4,9 +4,9 @@ - HeroUnion英雄联盟 - 开源的Hero爬虫联盟 + HeroUnion英雄联盟 - 开源的网络爬虫联盟 - + -

HeroUnion英雄联盟 - 开源的Hero爬虫联盟

+

HeroUnion英雄联盟 - 开源的网络爬虫联盟


+

+ 简体中文 + English +

HeroUnion源码下载

https://github.com/filesite-io/herounion