Repository navigation
Expand file tree
/
Copy pathgithub.html
More file actions
93 lines (86 loc) · 3.28 KB
/
Copy pathgithub.html
File metadata and controls
93 lines (86 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub 访问说明</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 50px auto;
padding: 20px;
line-height: 1.6;
background-color: #f5f5f5;
}
.container {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
color: #333;
text-align: center;
}
.warning {
background-color: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.solution {
background-color: #d4edda;
border: 1px solid #c3e6cb;
color: #155724;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.method {
margin: 15px 0;
padding: 10px;
border-left: 4px solid #007bff;
background-color: #f8f9fa;
}
</style>
</head>
<body>
<div class="container">
<h1>GitHub 访问说明</h1>
<div class="warning">
<strong>⚠️ 网络环境提示</strong><br>
由于大陆网络环境限制,GitHub 可能无法直接访问或访问缓慢。
</div>
<div class="solution">
<strong>🔧 解决方案</strong><br>
为了正常使用本程序的下载相关功能,建议采用以下方式:
</div>
<div class="method">
<strong>方法一:程序内置代理加速(推荐)</strong><br>
您可以在程序设置中开启 GitHub 访问代理加速功能,简单快捷。
</div>
<div class="method">
<strong>方法二:使用 VPN 或梯子工具</strong><br>
推荐使用稳定的 VPN 服务来访问 GitHub,这是最直接有效的方式。
</div>
<div class="method">
<strong>方法三:使用反代工具</strong><br>
可以使用 steamcommunity302 等反代工具来改善访问(建议搭配 Token 使用)。<br>
参考教程:<a href="https://www.dogfight360.com/blog/18682/" target="_blank">https://www.dogfight360.com/blog/18682/</a>
</div>
<div class="method">
<strong>方法四:配置 GitHub Token</strong><br>
在程序设置中配置 GitHub Token 可以提高 API 访问限制。<br>
<strong>获取方式:</strong>GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic) → Generate new token<br>
<strong>权限要求:</strong>只需要勾选 <code>public_repo</code> 权限即可。<br>
<strong>注意:</strong>需要 GitHub 账号,建议搭配梯子或反代使用。
</div>
<div style="margin-top: 30px; text-align: center; color: #666; font-size: 14px;">
如果您已经配置好网络环境,可以关闭此页面继续使用程序。
</div>
</div>
</body>
</html>