Giter VIP home page Giter VIP logo

ghproxy's Introduction

ghproxy 🚀

简介

github api、release、archive以及项目文件的加速项目,支持clone,有Cloudflare Workers无服务器版本

使用

直接在copy出来的url前加你 Cloudflare Worker 的域名即可

访问私有仓库可以通过

git clone https://user:[email protected]/https://github.com/xxxx/xxxx hunshcn/gh-proxy#71

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

cf worker部署

首先进行个性化设置

ASSET_URL是静态资源的url(实际上就是现在显示出来的那个输入框单页面,可不修改,除非你加了新的feature)

PREFIX是前缀,默认(根路径情况为"/"),如果自定义路由为example.com/gh/*,请将PREFIX改为 '/gh/',注意,少一个杠都会错!

whiteList是白名单,建议个人自用的时候根据需要进行设置,防止被薅羊毛

执行 wrangler publish src/index.ts --name ghproxy 部署你自己的代理

Cloudflare Workers计费

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

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

链接

我的博客

参考

jsproxy

gh-proxy

ghproxy's People

Contributors

asjdf 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.