Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 3992a44

Browse files
Suyunmengcxw620
andauthored
chore: update docs and install script (#27)
* Added Privacy and Terms pages, and changed the old alist documentation section * fixed build bugs * fixed img bugs * Update * fixed build bugs * fixed * delete docker.yml * Remove similar parts from #11 #24 * fixed terms and privacy pages * fixed logo address * delete docs * Update OCR API Address * fixed docs bugs * update * Delete the with_aria2 pointer in the ecosystem * Restore salt value * fix(zh/README): remove netlify footer * fix(guide/install/script): update one-click script * fix(guide/install/script): update one-click script * Delete the compilation bug caused by deleting V2 and V3 documents * Fixed some bugs --------- Co-authored-by: Hantong Chen <cxwdyx620@gmail.com>
1 parent e76d330 commit 3992a44

Some content is hidden

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

51 files changed

+769
-835
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

docs/.vuepress/components/Privacy.vue

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<script lang="ts" setup>
2+
import { NH2, NH3, NDivider, NText } from 'naive-ui'
3+
4+
const isZh = location.pathname.startsWith('/zh/')
5+
6+
const content = isZh
7+
? {
8+
title: '隐私政策',
9+
description: 'Policies of {COMPANYNAME} - Privacy Policy',
10+
intro:
11+
'我们非常重视您的隐私。我们<strong>不收集任何您的个人信息</strong>。但请注意,您的IP地址等信息可能会被您的互联网服务提供商(ISP)或网络中转节点收集,这超出我们的控制范围。',
12+
sectionTitle: '声明',
13+
statements: [
14+
'我们不会收集、存储、处理或分析您的任何个人信息。',
15+
'我们不会使用任何追踪技术(如Cookies、指纹识别、Web Beacon等)来收集您的信息。',
16+
'我们不会与任何第三方共享您的任何信息。',
17+
'您在本服务中的所有操作均不会被我们记录。',
18+
'但您的IP地址、访问时间等信息可能会被您的ISP或网络中转节点收集,这属于互联网基础设施的正常行为,我们无法控制。',
19+
'如有任何隐私相关疑问,欢迎随时联系我们。'
20+
]
21+
lastUpdated: '最后更新:2025年6月14日'
22+
}
23+
: {
24+
title: 'Privacy Policy',
25+
description: 'Policies of {COMPANYNAME} - Privacy Policy',
26+
intro:
27+
'We highly value your privacy. We <strong>do not collect any of your personal information</strong>. However, please be aware that your IP address and other metadata might be collected by your ISP or intermediate network nodes beyond our control.',
28+
sectionTitle: 'Notice',
29+
statements: [
30+
'We do not collect, store, process, or analyze any of your personal data.',
31+
'We do not use any tracking technologies (such as cookies, fingerprinting, web beacons, etc.) to gather your data.',
32+
'We do not share your information with any third parties.',
33+
'Your actions within this service are not recorded by us.',
34+
'However, your IP address and visit time may be collected by your ISP or transit nodes as part of normal Internet infrastructure behavior, which is beyond our control.',
35+
'If you have any privacy-related concerns, please feel free to contact us.'
36+
]
37+
lastUpdated: 'Last Updated: June 14, 2025'
38+
}
39+
</script>
40+
41+
<template>
42+
<Policies>
43+
<SEO
44+
:title="content.title"
45+
:description="content.description"
46+
keywords="政策,Policies,隐私政策,Privacy Policy"
47+
/>
48+
<NH2>{{ content.title }}</NH2>
49+
<NText depth="3" style="display: block; margin-bottom: 1rem;" v-html="content.intro" />
50+
51+
<NH3>{{ content.sectionTitle }}</NH3>
52+
<NDivider />
53+
54+
<ul style="padding-left: 1.5rem;">
55+
<li v-for="(item, index) in content.statements" :key="index">
56+
<NText depth="3" style="display: block; margin: 0.5rem 0;">{{ item }}</NText>
57+
</li>
58+
</ul>
59+
</Policies>
60+
</template>
61+
62+
<style scoped>
63+
ul {
64+
list-style-type: disc;
65+
margin-top: 1rem;
66+
}
67+
</style>

docs/.vuepress/components/Terms.vue

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<script lang="ts" setup>
2+
import { NH2, NH3, NDivider, NText, NSpace } from 'naive-ui'
3+
4+
const isZh = location.pathname.startsWith('/zh/')
5+
6+
const content = isZh
7+
? {
8+
title: '使用条款',
9+
description: 'Policies of {COMPANYNAME} - Terms of Service',
10+
terms: [
11+
'本服务仅供合法用途,用户不得利用本服务从事任何违法活动。',
12+
'用户应自行承担因使用本服务而产生的所有风险和责任。',
13+
'我们有权在不提前通知的情况下,随时修改、暂停或终止本服务。',
14+
'本服务按“现状”提供,不对其可用性、准确性或适用性作任何明示或暗示的保证。',
15+
'如有任何疑问,请随时联系我们。'
16+
],
17+
agplTitle: 'AGPL 授权声明',
18+
agplNote:
19+
'本软件受 <a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank">GNU Affero General Public License v3.0 (AGPL-3.0)</a> 许可协议保护。您可以自由使用、修改和分发本软件,但必须遵守 AGPL-3.0 的相关条款,包括在分发和提供服务时公开源代码。详情请参阅上述链接。'
20+
lastUpdated: '最后更新:2025年6月14日'
21+
}
22+
: {
23+
title: 'Terms of Service',
24+
description: 'Policies of {COMPANYNAME} - Terms of Service',
25+
terms: [
26+
'This service is for lawful use only. Users must not engage in any illegal activity through this service.',
27+
'Users assume all risks and responsibilities resulting from the use of this service.',
28+
'We reserve the right to modify, suspend, or terminate the service at any time without prior notice.',
29+
'The service is provided "as is" without any express or implied warranties of availability, accuracy, or fitness for a particular purpose.',
30+
'If you have any questions, please contact us.'
31+
],
32+
agplTitle: 'AGPL License Notice',
33+
agplNote:
34+
'This software is licensed under the <a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank">GNU Affero General Public License v3.0 (AGPL-3.0)</a>. You are free to use, modify, and distribute the software, but must comply with AGPL-3.0 terms, including disclosing source code when distributing or offering as a service. See the link above for details.'
35+
lastUpdated: 'Last Updated: June 14, 2025'
36+
}
37+
</script>
38+
39+
<template>
40+
<Policies>
41+
<SEO
42+
:title="content.title"
43+
:description="content.description"
44+
keywords="政策,Policies,使用条款,Terms of Service"
45+
/>
46+
<NH2>{{ content.title }}</NH2>
47+
<NText depth="3" style="display: block; margin-bottom: 1rem;">
48+
{{ isZh
49+
? '欢迎使用本服务。请在使用前仔细阅读以下条款。使用本服务即表示您同意遵守本使用条款。'
50+
: 'Welcome to our service. Please read the following terms carefully before use. By using this service, you agree to be bound by these terms.' }}
51+
</NText>
52+
53+
<NH3>{{ isZh ? '条款内容' : 'Terms' }}</NH3>
54+
<NDivider />
55+
56+
<ul style="padding-left: 1.5rem;">
57+
<li v-for="(term, index) in content.terms" :key="index">
58+
<NText depth="3" style="display: block; margin: 0.5rem 0;">{{ term }}</NText>
59+
</li>
60+
</ul>
61+
62+
<NH3 style="margin-top: 2rem;">{{ content.agplTitle }}</NH3>
63+
<NDivider />
64+
<Callout type="info">
65+
<NText depth="3" style="display: block;" v-html="content.agplNote" />
66+
</Callout>
67+
</Policies>
68+
</template>
69+
70+
<style scoped>
71+
ul {
72+
list-style-type: disc;
73+
margin-top: 1rem;
74+
}
75+
</style>

docs/.vuepress/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ export default defineUserConfig({
130130
),
131131
"@Wopan/Token": path.resolve(__dirname, "./components/wopan/Token.vue"),
132132
"@Pricing": path.resolve(__dirname, "./components/Pricing.vue"),
133+
"@Terms": path.resolve(__dirname, "./components/Terms.vue"),
134+
"@Privacy": path.resolve(__dirname, "./components/Privacy.vue"),
133135
"@Desktop": path.resolve(__dirname, "./components/Desktop.vue"),
134136
"@Changelog": path.resolve(__dirname, "./components/changelog/index.vue"),
135137
"@Api": path.resolve(__dirname, "./components/api/index.ts"),

docs/.vuepress/navbar/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export const en = navbar([
66
{ text: "Config", icon: "iconfont icon-config", link: "/config/" },
77
{ text: "FAQ", icon: "iconfont icon-question", link: "/faq/" },
88
{ text: "Pricing", icon: "iconfont icon-tag", link: "/pricing" },
9+
// { text: "Terms", icon: "iconfont icon-creative", link: "/terms" },
10+
// { text: "Privacy", icon: "iconfont icon-creative", link: "/privacy" },
911
// { text: "Tool", icon: "tool", link: "/tool/" },
1012
{
1113
text: "Community",

docs/.vuepress/navbar/zh.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export const zh = navbar([
66
{ text: "配置", icon: "iconfont icon-config", link: "/zh/config/" },
77
{ text: "常见问题", icon: "iconfont icon-question", link: "/zh/faq/" },
88
{ text: "定价", icon: "iconfont icon-tag", link: "/zh/pricing" },
9+
// { text: "使用条款", icon: "iconfont icon-creative", link: "/zh/terms" },
10+
// { text: "隐私政策", icon: "iconfont icon-creative", link: "/zh/privacy" },
911
// { text: "工具", "iconfont icon-tool", link: "/tool/" },
1012
{
1113
text: "社区",

0 commit comments

Comments
 (0)