Skip to content

一个可部署于LeanCloud的GitHub API反向代理

License

Notifications You must be signed in to change notification settings

boris1993/github-api-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub API 反向代理

一个基于LeanCloud云引擎的GitHub API反向代理,用于解决GitHub域名没有备案的问题。

部署步骤

  • 安装LeanCloud命令行工具

参照命令行工具 CLI 使用指南安装命令行工具,并在命令行工具中登录。

  • clone本项目到本地
git clone https://github.com/boris1993/github-api-reverse-proxy.git
  • 将该项目关联至你的云引擎

进入项目根目录,执行lean switch命令

$ lean switch
[INFO] Retrieve app list ...
[?] Please select an app:
 1) your_app_name
 => 1
Switching to app: your_app_name, group: web
  • 部署至云引擎
lean deploy
  • 配置云引擎域名

进入LeanCloud控制面板,在云引擎 -> 设置 --> Web主机域名中设定域名

开源许可

该项目使用MIT许可证开放源代码

感谢

本项目核心功能使用mitre/HTTP-Proxy-Servlet实现

About

一个可部署于LeanCloud的GitHub API反向代理

Topics

Resources

License

Stars

Watchers

Forks