mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-06-20 22:46:04 +08:00
2 lines
9.1 KiB
JavaScript
2 lines
9.1 KiB
JavaScript
import{_ as e,o as t,c as s,R as a}from"./chunks/framework.1625126e.js";const u=JSON.parse('{"title":"仓库","description":"","frontmatter":{},"headers":[],"relativePath":"case/case3.md","filePath":"case/case3.md","lastUpdated":1687694309000}'),p={name:"case/case3.md"},n=a('<h1 id="仓库" tabindex="-1">仓库 <a class="header-anchor" href="#仓库" aria-label="Permalink to "仓库""></a></h1><p><a href="https://github.com/spiritLHLS/ecsspeed" target="_blank" rel="noreferrer">https://github.com/spiritLHLS/ecsspeed</a></p><h1 id="ecsspeed" tabindex="-1">ecsspeed <a class="header-anchor" href="#ecsspeed" aria-label="Permalink to "ecsspeed""></a></h1><p>自动更新测速服务器节点列表的网络基准测试脚本</p><p>Network benchmarking script that automatically updates the list of speed measurement server nodes</p><h2 id="说明" tabindex="-1">说明 <a class="header-anchor" href="#说明" aria-label="Permalink to "说明""></a></h2><p>所有组件以及数据均来源于平台或已有的开源项目,无非开源部分,放心食用</p><h3 id="对应-speedtest-net-的自动更新测速服务器id的测速脚本" tabindex="-1">对应 <a href="https://www.speedtest.net/" target="_blank" rel="noreferrer">speedtest.net</a> 的自动更新测速服务器ID的测速脚本 <a class="header-anchor" href="#对应-speedtest-net-的自动更新测速服务器id的测速脚本" aria-label="Permalink to "对应 [speedtest.net](https://www.speedtest.net/) 的自动更新测速服务器ID的测速脚本""></a></h3><p>日常推荐使用</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- bash.spiritlhl.net/ecs-net)</span></span></code></pre></div><p>或</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecsspeed/raw/main/script/ecsspeed-net.sh)</span></span></code></pre></div><p>或国内用</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/ecsspeed/main/script/ecsspeed-net.sh)</span></span></code></pre></div><p>支持测速的架构:i386, x86_64, amd64, arm64, s390x, riscv64, ppc64le, ppc64</p><p>涵盖中国三大运营商、香港、台湾的测速节点,默认的三网测速每个运营商选择本机ping值最低的两个节点测速,详情三网测速才是全测,节点列表大概每7天自动更新一次。</p><p>支持国内服务器测试(有判断是否为国内机器),但由于国内服务器带宽过小,会很慢,详见初次运行的显示</p><p>当官方CLI安装失败(如罕见的架构或者官方网站访问失败时)自动使用 <a href="https://github.com/showwin/speedtest-go" target="_blank" rel="noreferrer">speedtest-go</a> 作为替代品测速</p><h3 id="对应-speedtest-cn-的自动更新测速服务器id的测速脚本" tabindex="-1">对应 <a href="https://www.speedtest.cn/" target="_blank" rel="noreferrer">speedtest.cn</a> 的自动更新测速服务器ID的测速脚本 <a class="header-anchor" href="#对应-speedtest-cn-的自动更新测速服务器id的测速脚本" aria-label="Permalink to "对应 [speedtest.cn](https://www.speedtest.cn/) 的自动更新测速服务器ID的测速脚本""></a></h3><p>单线程测速</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- bash.spiritlhl.net/ecs-cn)</span></span></code></pre></div><p>或</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecsspeed/raw/main/script/ecsspeed-cn.sh)</span></span></code></pre></div><p>或国内用</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/ecsspeed/main/script/ecsspeed-cn.sh)</span></span></code></pre></div><p>支持测速的架构:i386, x86_64, amd64, arm64, s390x, riscv64, ppc64le, ppc64</p><p>涵盖中国三大运营商、香港、台湾的测速节点,默认的三网测速每个运营商选择本机ping值最低的两个节点测速,详情三网测速才是全测,节点列表每天自动更新一次。</p><p>支持国内服务器测试(有判断是否为国内机器),但由于国内服务器带宽过小,会很慢,详见初次运行的显示</p><h3 id="自动更新测试服务器列表的三网延迟测试脚本" tabindex="-1">自动更新测试服务器列表的三网延迟测试脚本 <a class="header-anchor" href="#自动更新测试服务器列表的三网延迟测试脚本" aria-label="Permalink to "自动更新测试服务器列表的三网延迟测试脚本""></a></h3><p>平均耗时10~15秒</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- bash.spiritlhl.net/ecs-ping)</span></span></code></pre></div><p>或</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecsspeed/raw/main/script/ecsspeed-ping.sh)</span></span></code></pre></div><p>或国内用</p><div class="language-"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#A6ACCD;">bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/ecsspeed/main/script/ecsspeed-ping.sh)</span></span></code></pre></div><p>效果图</p><p><img src="https://github.com/spiritLHLS/ecsspeed/assets/103393591/4c8f39a2-1286-47ae-a397-c46f3792340b" alt="图片"></p><h2 id="功能" tabindex="-1">功能 <a class="header-anchor" href="#功能" aria-label="Permalink to "功能""></a></h2><ul><li>[x] 自动抓取 <a href="https://www.speedtest.cn/" target="_blank" rel="noreferrer">speedtest.cn</a> 节点信息结合已有信息去重并更新列表数据</li><li>[x] 自动抓取 <a href="https://www.speedtest.net/" target="_blank" rel="noreferrer">speedtest.net</a> 节点信息结合已有信息去重并更新列表数据</li><li>[x] 对应 <a href="https://www.speedtest.net/" target="_blank" rel="noreferrer">speedtest.net</a> 的自动更新测速服务器列表的测速脚本</li><li>[x] 对应 <a href="https://www.speedtest.cn/" target="_blank" rel="noreferrer">speedtest.cn</a> 的自动更新测速服务器列表的测速脚本</li><li>[x] 自动更新测试服务器列表的三网Ping值测试脚本</li></ul><h2 id="cn数据" tabindex="-1">.cn数据 <a class="header-anchor" href="#cn数据" aria-label="Permalink to ".cn数据""></a></h2><p>仓库:<a href="https://github.com/spiritLHLS/speedtest.cn-CN-ID" target="_blank" rel="noreferrer">https://github.com/spiritLHLS/speedtest.cn-CN-ID</a></p><h2 id="net数据" tabindex="-1">.net数据 <a class="header-anchor" href="#net数据" aria-label="Permalink to ".net数据""></a></h2><p>仓库:<a href="https://github.com/spiritLHLS/speedtest.net-CN-ID" target="_blank" rel="noreferrer">https://github.com/spiritLHLS/speedtest.net-CN-ID</a></p><h3 id="交流" tabindex="-1">交流 <a class="header-anchor" href="#交流" aria-label="Permalink to "交流""></a></h3><p><a href="mailto:[email protected]" target="_blank" rel="noreferrer">[email protected]</a></p><h3 id="致谢" tabindex="-1">致谢 <a class="header-anchor" href="#致谢" aria-label="Permalink to "致谢""></a></h3><p>感谢 <a href="https://github.com/fscarmen" target="_blank" rel="noreferrer">@fscarmen</a> 提供的并发测ping支持</p><p>感谢 <a href="https://github.com/showwin/speedtest-go" target="_blank" rel="noreferrer">speedtest-go</a> 提供的第三方测速内核</p><p>感谢 <a href="https://www.speedtest.net/" target="_blank" rel="noreferrer">speedtest.net</a> 和 <a href="https://www.speedtest.cn/" target="_blank" rel="noreferrer">speedtest.cn</a> 提供的测速服务器</p>',49),r=[n];function i(l,c,o,h,d,g){return t(),s("div",null,r)}const m=e(p,[["render",i]]);export{u as __pageData,m as default};
|