爱意满满的作品展示区。
Ghosin

用 jsdelivr CDN 下载 Github 仓库

  •  1
     
  •   Ghosin · Nov 30, 2018 · 4248 views
    This topic created in 2909 days ago, the information mentioned may be changed or developed.

    jsdelivr-clone

    Download github repo with jsdelivr CDN.

    名字可能不准确,因为 clone 是有.git 文件夹的...
    脚本用到了 Github API,没有认证每小时每个 ip 只能调用 60 次,远远不够脚本调用。
    用代理 IP 的话效率太低,速度还不如直接用 Git 去 clone github。
    所以需要用到 OAuth Apps。
    “项目”地址:https://github.com/Ghosin/jsdelivr_clone

    效果

    effect
    比直接 git clone 快到不知哪里去了(没翻*的情况下)。
    虽然没有.git 文件夹,不能回滚查看开发历史。
    但如果想要直接下载源码使用是足够了。

    10 replies  •  2018-12-09 15:37:02 +08:00
    masker
    masker
    Nov 30, 2018 via Android
    1
    不翻也快啊。
    Ghosin
    Ghosin
    OP
    Nov 30, 2018
    2
    @masker 可能我网络环境原因? 日常 20k/s
    Ghosin
    Ghosin
    OP
    Nov 30, 2018
    4
    @masker OK 我可能又写了个没用的垃圾 233333
    masker
    masker
    Nov 30, 2018 via Android
    5
    也未必,有的运营商的就限速。。。比如长城。。。
    gogobody
    gogobody
    Nov 30, 2018 via Android
    6
    虽然我下载也很快,但还是支持一下
    mmnsghgn
    mmnsghgn
    Nov 30, 2018
    8
    接上条,推荐一个可以下载 github 某个文件夹的公斤
    mmnsghgn
    mmnsghgn
    Nov 30, 2018
    9
    接上条,更正,公斤-工具
    ( QQ 里习惯了 cmd + enter 换行,这里是直接发送了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4224 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 07:40 · PVG 15:40 · LAX 23:40 · JFK 02:40
    ♥ Do have faith in what you're doing.