Skip to content

vercel反向代理|OpenAI/ChatGPT 免翻墙代理|github免翻墙代理|google代理|vercel万能代理

Notifications You must be signed in to change notification settings

hongdanyang1991/vercel-reverse-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vercel-reverse-proxy

English README

本项目是vercel反向代理。完全免费,万能代理,可代理全网一切接口,包括openai、github、google等等。http和https接口、单页面均可代理,在网络环境不好的情况下均可用。(直接浏览器打开代理页面的情况下,由于某些js和css的路径可能会不对造成访问不到,页面样式有点小问题。)

部署

Vercel

使用方法

1 部署。部署有两种方法,一是直接点击上方按钮一键部署,二是可以先fork本项目,再登录vercel网站新建 新建项目

2 绑定自己的域名(不是必须,使用vercel自带的子域名也可以,但是自带的域名vercel.app在国内网络环境不好的情况下不可用) 可以申请tk免费域名或者薅小域名注册商首年免费羊毛 绑定域名 绑定域名时按照vercel上的说明配置即可,其实就是在你的域名上配了一个子域名,cname到vercel服务器

3 访问 域名/proxy/url 或者/httpproxy/url即可。 映射规则为/proxy/url映射到https接口,/httpproxy/url映射到http接口

例1 访问https://替换为你自己的域名.com/proxy/api.openai.com/v1/chat/completions 实际上会替换为https://api.openai.com/v1/chat/completions demo1

例2 访问https://替换为你自己的域名.com/proxy/raw.githubusercontent.com/gaboolic/vercel-reverse-proxy/main/vercel.json 实际上会替换为https://raw.githubusercontent.com/gaboolic/vercel-reverse-proxy/main/vercel.json demo2 映射规则为/proxy/url映射到https接口,/httpproxy/url映射到http接口

例3 访问https://替换为你自己的域名.com/proxy/www.google.com/search?q=vercel-reverse-proxy 实际上会替换为https://www.google.com/search?q=vercel-reverse-proxy demo3 代理google搜索结果页面

About

vercel反向代理|OpenAI/ChatGPT 免翻墙代理|github免翻墙代理|google代理|vercel万能代理

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published