posts: 利用Vercel Function搭建一个Github全站反代

This commit is contained in:
二叉树树
2025-08-30 22:15:04 +08:00
parent d9112a90ce
commit a3e337591d
5 changed files with 21 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -11,7 +11,7 @@ lang: ''
# 开始实现
> 源码: [GithubSiteProxyForCloudflareWorker/eopf.js at main · afoim/GithubSiteProxyForCloudflareWorker](https://github.com/afoim/GithubSiteProxyForCloudflareWorker/blob/main/eopf.js)
> 源码: [afoim/EdgeOnePagesFunctionGithubProxy](https://github.com/afoim/EdgeOnePagesFunctionGithubProxy)
首先请阅读 [这篇文章](/posts/gh-proxy/) 知晓大致原理。因为EdgeOne Page Function的写法跟Cloudflare Worker差不多

View File

@@ -0,0 +1,20 @@
---
title: 利用Vercel Function搭建一个Github全站反代
published: 2025-08-30T21:35:52
description: '嫌弃CF Worker不够快那就试试Vercel Function'
image: '../assets/images/2025-08-30-22-09-42-image.png'
tags: [Vercel]
draft: false
lang: ''
---
# 正式开始
首先请阅读 [这篇文章](/posts/gh-proxy/) 知晓大致原理。
克隆 [afoim/VercelFunctionGithubProxy](https://github.com/afoim/VercelFunctionGithubProxy)部署到Vercel绑你自己域名
![](../assets/images/2025-08-30-22-14-07-aa3b925d5e2e522cc0a0abccd87b5887.png)
![](../assets/images/2025-08-30-22-14-10-b79c2d588117ab15fc4a08efe359db4f.png)