【国内访问github不稳定】可以尝试fastgithub解决这个问题

1、下载

https://github.com/dotnetcore/FastGithub
https://github.com/dotnetcore/FastGithub/releases
官网下载即可,比如,我用的是这个:fastgithub_osx-x64.zip(点这里下载

2、安装

如下图双击启动即可
在这里插入图片描述
在这里插入图片描述

3、证书安装与代理配置
(1)证书安装

参考 https://github.com/dotnetcore/FastGithub/blob/master/MacOSXConfig.md 来安装
安装后效果
在这里插入图片描述

(2)代理配置

系统偏好设置 > ⽹络 > ⾼级 > 代理
在这里插入图片描述

(3)重新打开fastgithub

重新双击fastgithub,可以看到已监听

Last login: Mon Dec 26 14:04:26 on ttys001
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
~ $ /Users/xxxxxx/Downloads/fastgithub_osx-x64/fastgithub ; exit;
2022-12-26T14:04:41.6232810+08:00 [WRN]
FastGithub.HttpServer.CaCertInstallerOfMacOS
请⼿动安装CA证书然后设置信任CA证书cacert/fastgithub.cer
2022-12-26T14:04:42.0175530+08:00 [INF]
FastGithub.HttpServer
已监听http://localhost:38457,http代理服务启动完成
2022-12-26T14:04:42.1569170+08:00 [INF]
FastGithub.AppHostedService
FastGithub启动完成,当前版本为v2.1.2,访问 https://github.com/dotnetcore/fast
github 关注新版本

值得一提的是:关于【http代理配置】我这边配置后,打开fastgithub后,再打开Google浏览器访问github或https://chaosblade-io.gitbook.io/chaosblade-help-zh-cn/blade 还是打不开。后来发现是浏览器也需要配置代理,如下配置即可(补充:后面关闭浏览器代理貌似也可以正常访问)
在这里插入图片描述

4、这下就可以愉快的玩耍了

当然打开github的网页速度可能会慢一点点,但是稳定肯定是没得说,之前打不开的页面也可以打开了或者之前打开经常提示who is there?你可能再也看不到了

使⽤效果

fastgithub控制台,输出如下:浏览器访问git相关网站,未见异常

2024-01-13T17:56:38.9787530+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
GET https://github.com/users/coollabsio/tab_counts responded 200 in 364.295 ms

2024-01-13T17:56:39.1770590+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
GET https://avatars.githubusercontent.com/u/18599486 responded 200 in 700.7394 ms

2024-01-13T17:56:39.6296280+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
POST https://api.github.com/_private/browser/stats responded 200 in 406.1871 ms

2024-01-13T17:56:39.7026110+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
POST https://collector.github.com/github/collect responded 204 in 490.7836 ms

2024-01-13T17:56:43.7700110+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
POST https://api.github.com/_private/browser/stats responded 200 in 440.0603 ms

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-17 22:20:04       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-17 22:20:04       101 阅读
  3. 在Django里面运行非项目文件

    2024-01-17 22:20:04       82 阅读
  4. Python语言-面向对象

    2024-01-17 22:20:04       91 阅读

热门阅读

  1. SpringBoot ES 聚合后多字段加减乘除

    2024-01-17 22:20:04       59 阅读
  2. ffmpeg 基础知识

    2024-01-17 22:20:04       53 阅读
  3. 京东云无线宝一代64G加速版刷机记录

    2024-01-17 22:20:04       194 阅读
  4. 每日coding

    2024-01-17 22:20:04       59 阅读
  5. LeetCode 37. 解数独

    2024-01-17 22:20:04       57 阅读
  6. 基于stm32的智能衣柜系统设计(毕业设计)

    2024-01-17 22:20:04       53 阅读
  7. GoLang刷题之leetcode

    2024-01-17 22:20:04       50 阅读
  8. 用Python做数据分析之生成数据表

    2024-01-17 22:20:04       48 阅读
  9. openssl3.2 - 官方demo学习 - signature - rsa_pss_hash.c

    2024-01-17 22:20:04       48 阅读
  10. ssl解码

    2024-01-17 22:20:04       54 阅读
  11. Git远程仓库

    2024-01-17 22:20:04       55 阅读
  12. c语言基础知识

    2024-01-17 22:20:04       56 阅读
  13. python

    2024-01-17 22:20:04       57 阅读