-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (68 loc) · 4.47 KB
/
index.html
File metadata and controls
73 lines (68 loc) · 4.47 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="txt/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous" />
<title>转化github脚本为github代理的方式</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<div class="d-flex align-items-start flex-wrap">
<div class="card shadow m-3">
<h5 class="card-header">解决纯IPv6的VPS运行GitHub脚本时访问GitHub不通的问题</h5>
<div class="card-body">
<h5 class="card-title"></h5>
<p>本Github Proxy项目可处理形如下列的Github一键脚本命令:</p>
<p class="font-monospace">curl -LO https://github.com/crazypeace/xray-vless-reality/raw/main/install.sh || wget -O ${_##*/} $_ && bash install.sh auto 8443 </p>
<p class="font-monospace">bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge </p>
<p class="font-monospace">bash <(wget -qO- -o- https://git.io/v2ray.sh) </p>
<p class="font-monospace">wget -O tcpx.sh "https://git.io/JYxKU" && chmod +x tcpx.sh && ./tcpx.sh </p>
<p class="font-monospace">wget -N --no-check-certificate https://raw.githubusercontent.com/Misaka-blog/hysteria-install/main/hy2/hysteria.sh && bash hysteria.sh </p>
</div>
<div class="card-footer">
<span> <a href="https://github.com/crazypeace/ghproxy/" target="_self">Fork me on GitHub</a> </span>
</div>
</div>
<div class="card shadow m-3">
<h5 class="card-header">转换Github一键脚本命令</h5>
<div class="card-body">
<h5 class="card-title"></h5>
<label>输入你的 GitHub脚本完整命令 或 GitHub资源链接:</label>
<div class="input-group mb-3">
<textarea type="text" class="form-control" id="githubScript" aria-describedby="basic-addon1" rows="5" style="resize: vertical;" placeholder="例如 bash <(curl -L https://github.com/crazypeace/xray-vless-reality/raw/main/install.sh || wget -O- $_) auto 8443 " ></textarea>
</div>
<div class="input-group mb-3">
<button class="btn btn-primary" type="button" onclick="convertScript()" id="cvtBtn">转换</button>
</div>
<div class="input-group mb-3">
<textarea type="text" class="form-control" id="result1" aria-describedby="basic-addon2" onfocus="this.select()" rows="5" style="resize: vertical;" ></textarea>
</div>
<div class="input-group mb-3">
<button class="btn btn-info" type="button" onclick="copyResult1()">复制</button>
</div>
</div>
</div>
<div class="card shadow m-3">
<h5 class="card-header">其它说明</h5>
<div class="card-body">
<h5 class="card-title"></h5>
<div class="input-group mb-3">
<iframe width="560" height="315" src="https://www.youtube.com/embed/XXgmVkfT-Ak" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen=""></iframe>
</div>
<p>如果我的workers免费额度用完了, 你可以<a href="https://github.com/crazypeace/ghproxy#免费使用-cloudflare-worker-搭后端服务">自己在worker上搭ghproxy.</a></p>
<p>你也可以<a href="https://zelikk.blogspot.com/2022/05/domain-cloudflare-worker-dev.html">在worker上套自己的域名</a>解决国内访问的问题. </p>
<label>高级参数 (不懂就不要动)</label>
<div class="input-group mb-3">
<span class="input-group-text">Github Proxy 后端</span>
<input type="text" class="form-control" id="ghproxy" aria-describedby="basic-addon3" value="https://ghproxy.crazypeace.workers.dev/" />
<button class="btn btn-info" type="button" onclick="getLocalUrl()" id="localUrlBtn">使用本页</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="./main.js"></script>
</body>
</html>