Giter Site home page Giter Site logo

haxine / fastgithub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shiftwinting/fastgithub

0.0 1.0 0.0 8.48 MB

github加速神器,解决github打不开、用户头像无法加载、releases无法上传下载、git-clone、git-pull、git-push失败等问题

License: MIT License

C# 94.76% Batchfile 0.49% Shell 0.40% HTML 4.35%

fastgithub's Introduction

FastGithub

github加速神器,解决github打不开、用户头像无法加载、releases无法上传下载、git-clone、git-pull、git-push失败等问题。

加速原理

  • 修改本机的dns服务指向FastGithub自身
  • 解析匹配的域名为FastGithub自身的ip
  • 请求安全dns服务(dnscrypt-proxy)获取域名的ip
  • 选择最优的ip进行ssh代理或https反向代理

协议列表

协议 资源标识 端口要求 用途
DNS udp://0.0.0.0:53 要求可用 解析配置的域名指向FastGithub
DoH https://0.0.0.0:443 要求可用 解析配置的域名指向FastGithub
HTTPS https://0.0.0.0:443 要求可用 反向代理https请求
HTTP http://0.0.0.0:80 不要求可用 反向代理http请求
SSH ssh://0.0.0.0:22 不要求可用 代理ssh请求到github

程序下载

如果不能下载releases里发布的程序,可以到Q群307306673里面的群文件下载。

使用说明

运行FastGithub,然后浏览器访问 http://127.0.0.1https://127.0.0.1 或其它ip进入Dashboard

安全性说明

FastGithub为每台不同的主机生成自颁发CA证书,保存在CACert文件夹下。客户端设备需要安装和无条件信任自颁发的CA证书,请不要将证书私钥泄露给他人,以免造成损失。

合法性说明

《国际联网暂行规定》第六条规定:“计算机信息网络直接进行国际联网,必须使用邮电部国家公用电信网提供的国际出入口信道。任何单位和个人不得自行建立或者使用其他信道进行国际联网。” FastGithub本地代理使用的都是“公用电信网提供的国际出入口信道”,从国外Github服务器到国内用户电脑上FastGithub程序的流量,使用的是正常流量通道,其间未对流量进行任何额外加密(仅有网页原有的TLS加密,区别于VPN的流量加密),而FastGithub获取到网页数据之后发生的整个代理过程完全在国内,不再适用国际互联网相关之规定。

fastgithub's People

Contributors

xljiulang avatar newbe36524 avatar weihanli avatar

Watchers

James Cloos 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.