当前位置: 首页 > news >正文

【国内访问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/dongpingxiong/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 ms2024-01-13T17:56:39.1770590+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
GET https://avatars.githubusercontent.com/u/18599486 responded 200 in 700.7394 ms2024-01-13T17:56:39.6296280+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
POST https://api.github.com/_private/browser/stats responded 200 in 406.1871 ms2024-01-13T17:56:39.7026110+08:00 [INF]
FastGithub.HttpServer.RequestLoggingMiddleware
POST https://collector.github.com/github/collect responded 204 in 490.7836 ms2024-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
http://www.lryc.cn/news/279908.html

相关文章:

  • android:clickable=“false“无效,依然能被点击
  • Springboot WebFlux项目结合mongodb进行crud
  • 超维空间M1无人机使用说明书——61、ROS无人机物体识别与精准投放
  • Flask 小程序菜品搜索
  • Excel·VBA按指定顺序排序函数
  • 数据结构学习笔记——查找算法中的树形查找(红黑树)
  • Debezium发布历史66
  • Redis系列之使用Lua脚本
  • Wargames与bash知识16
  • 关于运维·关于数据库面试题
  • MySQL题目示例
  • HTML基本语法
  • 二分图最大匹配——匈牙利算法详解
  • 【AI视野·今日Robot 机器人论文速览 第七十一期】Fri, 5 Jan 2024
  • xtu oj 1334 Least Common Multiple
  • 【论文笔记】End-to-End Diffusion Latent Optimization Improves Classifier Guidance
  • 【HarmonyOS4.0】第四篇-ArkUI基础实战
  • 每日一题——LeetCode1128.等价多米诺骨牌对的数量
  • 关联规则分析(Apriori算法2
  • 数据仓库(2)-认识数仓
  • C#编程-实现委托
  • Ubuntu18.04 Qt 实现MQTT
  • 【软件测试】学习笔记-不同视角的软件性能与性能指标
  • Spring MVC组件
  • vue文件在<template>中使用多个<el-main>报错(已解决)
  • 【PlantUML】- 时序图
  • openai自定义API操作 API (openai.custom):OpenAI API 实现电商平台的智能库存管理
  • 宠物服务新篇章:预约小程序带来的变革
  • 谷歌最新医学领域LLM大模型:AMIE
  • 路由器02_静态路由DHCP