使用GitHub Pages免费搭建自己的ChatGPT网站,无需API Key | Set up your own ChatGPT website for free with GitHub Pages, no API Key required

首先,确保你有一个GitHub账号,然后fork如下项目:

https://github.com/gravityengine/gravityengine.github.io

将仓库名(Repository name)命名为你的GitHub用户名+”.github.io“,例如我的GitHub用户名是gravityengine,就将仓库名命令为”gravityengine.github.io”。

fork完成后,无需其他任何配置,稍等一会儿,访问你的仓库名,即可使用你自己的ChatGPT网站,例如我的ChatGPT网站地址就是gravityengine.github.io。由于该项目代码中已内置本站提供的免费API,因此无需API Key即可使用。

在settings>pages里可以配置自定义域名,例如我的自定义域名为:https://gpt.gravityengine.cc

First, make sure you have a GitHub account, then fork the following project:

https://github.com/gravityengine/gravityengine.github.io

Name your repository (Repository name) as your GitHub username + “.github.io”. For example, if my GitHub username is gravityengine, I will name my repository “gravityengine.github.io”.

Once the fork is completed, no other configuration is required. After waiting for a while, visit your repository name, and you can use your own ChatGPT website. For instance, my ChatGPT website address is gravityengine.github.io. As the project code already includes the free API provided by this site, you can use it without an API Key.

You can configure a custom domain name in settings>pages. For example, my custom domain name is: https://gpt.gravityengine.cc

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注