Giter VIP home page Giter VIP logo

gh-proxy's Introduction

gh-proxy

简介

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

演示

https://gh.api.99988866.xyz/

使用

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

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

注意,如果是项目文件会302到jsdeliver,由国内加速会更快。

大量使用请自行部署,以上域名仅为演示使用。

以下都是合法输入(仅示例,文件不存在):

自行部署

首页:https://workers.cloudflare.com

注册,登陆,Start building,取一个子域名,Create a Worker

复制 index.jsindex2.js 到左侧代码框,Save and deploy。如果正常,右侧应显示首页。

index.js的clone走github.com.cnpmjs.org,index2.js的clone走你的cf worker,请自行选择

计费

overview 页面可参看使用情况。免费版每天有 10 万次免费请求,并且有每分钟1000次请求的限制。

如果不够用,可升级到 $5 的高级版本,每月可用 1000 万次请求(超出部分 $0.5/百万次请求)。

Changelog

2020.03.22 初始版本 2020.03.23 新增了clone的支持

链接

我的博客

参考

jsproxy

gh-proxy's People

Contributors

hunshcn avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.