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

我也做了一个 Github 文件加速

  •  1
     
  •   just1 · Mar 22, 2020 · 9722 views
    This topic created in 2425 days ago, the information mentioned may be changed or developed.

    gh-proxy

    简介

    利用 Cloudflare Workers 对 github release 、archive 以及项目文件进行加速,部署无需服务器且自带 cdn 。

    演示

    https://shrill-pond-3e81.hunsh.workers.dev/

    使用

    直接在 copy 出来的文件 url 前加https://shrill-pond-3e81.hunsh.workers.dev/即可

    也可以直接访问,在 input 输入

    更多使用方法可以移步我的博客

    代码

    开源于 Github https://github.com/hunshcn/gh-proxy

    卑微求 star hhh

    Supplement 1  ·  Mar 22, 2020
    换了一个可记忆的演示站域名,不过原来也可以用
    https://gh.api.99988866.xyz/
    16 replies  •  2020-08-12 13:54:04 +08:00
    goodryb
    goodryb
    Mar 22, 2020
    1
    AoTmmy
    AoTmmy
    Mar 22, 2020 via Android
    2
    你这前缀太长了吧,workers 可以改的,编辑的时候点上面的名字就能改
    PHPJit
    PHPJit
    Mar 22, 2020❤️4
    3
    一直用的这个: https://github.com.cnpmjs.org
    learningman
    learningman
    Mar 22, 2020 via Android
    4
    这种反代都不解决 git submodule 的问题。。。
    just1
    just1
    OP
    Mar 22, 2020
    5
    @goodryb #1 因为这个项目确实不存在。。。只是一个示例
    just1
    just1
    OP
    Mar 22, 2020
    6
    @AoTmmy #2 对,但是只是一个演示站就无所谓了
    @learningman #4 submodule 没办法了,那个得 clone
    just1
    just1
    OP
    Mar 22, 2020
    7
    @PHPJit #3 但是这个没解决本帖的问题,他的所有下载还是到 aws,没在这个加速域名下,只是优化了显示页面的速度而已。
    okampfer
    okampfer
    Mar 22, 2020
    8
    @PHPJit @just1 #3
    但是*.githubassets.com 的还是会被 qiang 。。。
    PHPJit
    PHPJit
    Mar 22, 2020
    9
    @just1 #7 我记得下载 release 的时候也会加速的
    Guruu
    Guruu
    Mar 23, 2020 via Android
    11
    jsDeliver 要比 cf 快多了
    just1
    just1
    OP
    Mar 23, 2020 via Android
    12
    @Guruu jsdeliver 没有 archive 和 release 可以下载,这才是重点。
    Latin
    Latin
    Mar 23, 2020
    13
    有条件还是直接 tz,cf 已经被撸坏了
    justin2018
    justin2018
    Mar 23, 2020
    14
    @PHPJit 真的很快 谢谢分享~
    justin2018
    justin2018
    Mar 23, 2020
    15
    bulaocai5
    bulaocai5
    Aug 12, 2020
    16
    现在还能用 谢谢分享
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   931 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 21:12 · PVG 05:12 · LAX 13:12 · JFK 16:12
    ♥ Do have faith in what you're doing.