forked from rong6/jsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (62 loc) · 4.16 KB
/
index.html
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>荣6的jsDelivr镜像站</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link rel="stylesheet" href="https://jsd.nmmsl.top/gh/rong6/jsd@main/css/normalize.css">
<link href='https://fonts.font.im/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://jsd.nmmsl.top/gh/rong6/jsd@main/css/cayman.css">
</head>
<body>
<section class="page-header">
<h1 class="project-name">荣6的jsDelivr镜像站</h1>
<h2 class="project-tagline">对中国大陆地区较为友好的jsDelivr镜像站。</h2>
<a href="https://jsd.nmmsl.top" class="btn">立即使用</a>
</section>
<section class="main-content">
<h1>
<a id="user-content-what-is-this" class="anchor" href="#what-is-this" aria-hidden="true"><span
class="octicon octicon-link"></span></a>这是什么?
</h1>
<p>这是一个对中国大陆地区较为友好的jsDelivr(一个对开源项目静态文件的加速CDN)镜像站,它的网址是https://jsd.nmmsl.top 。</p>
<p>本站托管于Vercel,同时也是开源的,因此你可以<a href="https://github.com/rong6/jsd">自部署</a>。</p>
<h1>
<a id="user-content-how-to-use" class="anchor" href="#how-to-use" aria-hidden="true"><span
class="octicon octicon-link"></span></a>如何使用?
</h1>
<p>首先你需要先知道jsDelivr的语法,详见<a href="https://www.jsdelivr.com">jsDelivr官网</a>。</p>
<p>然后,你就会得到一个原始的jsDelivr加速链接,例如:</p>
<pre><code>https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js</code></pre>
<p>将“cdn.jsdelivr.net”替换为“jsd.nmmsl.top”,就会得到例如:</p>
<pre><code>https://jsd.nmmsl.top/npm/[email protected]/dist/jquery.min.js</code></pre>
<p>结束。</p>
<h1>
<a id="user-content-rules" class="anchor" href="#rules" aria-hidden="true"><span
class="octicon octicon-link"></span></a>使用规则
</h1>
<p>为保证服务长远,也为了你我不被请喝茶,请遵守以下规则:</p>
<ul class="task-list">
<li>不要加速<b>不符合中国大陆法律的文件</b>,包括但不限于淫秽色情、血腥暴力、涉政内容,一经发现将禁止加速该仓库的所有文件!</li>
<!--由于Vercel我没写缓存,所以先注释掉()--><!--<li>所有文件的缓存均为24小时,如需清除缓存请自行想办法(?)</li>-->
<li>站长尽量保持镜像站长久性,但不排除跑路,不过相信站长就是了()</li>
</ul>
<h1>
<a id="user-content-end" class="anchor" href="#self-deployment" aria-hidden="true"><span
class="octicon octicon-link"></span></a>自部署
</h1>
<p>本站是开源的,你可以自行部署,开源地址:<a href="https://github.com/rong6/jsd">GitHub</a>。每个月有<b>100G流量</b>,自用应该是没问题了。</p>
<p>或者,你也可以使用Nginx反向代理,地址:https://github.com/rong6/jsd/blob/main/nginx.conf,教程:<a href="/">暂无</a>。</p>
<h1><a id="user-content-end" class="anchor" href="#end" aria-hidden="true"><span
class="octicon octicon-link"></span></a>写在最后</h1>
<p>最后,祝您使用愉快!</p>
<p>如有问题,请邮箱发至<a href="mailto:[email protected]">[email protected]</a></p>
<footer class="site-footer">
<span class="site-footer-owner"> Copyright © 2024 <a href="https://rong6.cn">rong6</a>.</span>
<span class="site-footer-credits"><a href="https://github.com/jasonlong/cayman-theme">Cayman</a> is
maintained by <a href="https://github.com/jasonlong">jasonlong</a>.</span>
</footer>
</section>
</body>
</html>