利用Vercel平台免费搭建ChatGPT网站的方法
利用Vercel平台免费搭建ChatGPT网站的方法

利用Vercel平台免费搭建ChatGPT网站的方法

Vercel的官网地址:Introduction to Vercel | Vercel Docs

Vercel还支持部署serverless接口。那代表着,其不仅仅可以部署静态网站,甚至可以部署动态网站,而这些功能,统统都是免费的,简直是白嫖党的福利啊!

从Github中Fork一下chatgpt的前端代码

GitHub - ourongxing/chatgpt-vercel: Elegant and Powerfull. Powered by OpenAI and Vercel

打开Vercel官网,用自己的Github账号进行注册登录操作

  1. 打开网址:Vercel: Develop. Preview. Ship. For the best frontend teams
  2. 需要你把github账户关联到vercel平台
  3. 进入后,点击 Add new,选择project如下图
  4. 进行搜索chatgpt-vercel,提示没搜索到,进行登录
  5. 登录后,选择chatgpt-vercel,保存
  6. 进行import
  7. 获取chatgpt apikey 网址:https://platform.openai.com/
  8. 点击右上角头像,点击Manage Account->API Keys->Create New Secret Key, 然后复制下来保存备用。
  9. 把key 复制到变量里 添加,点击Deploy
  10. 成功后,点击右上角返回Dashboard,会自动给我们分配个网址

就这样,属于我们自己的chatgpt的官网就做好了,而且是免费的。这样操作的话,我们部署自己的静态网站也是可以的。

发表回复

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

Title - Artist
0:00