前言

  1. 需要有github账户,进行对开源项目进行Fork
  2. 需要有[魔法]上网

Fork chatgpt-vercel 到自己的github

  1. 打开网址:https://github.com/ourongxing/chatgpt-vercel (需要魔法上网)
  2. 点击右上角的Fork按钮,如下图
  3. 点击create fork,如下图

把 chatgpt-vercel 托管到vercel平台

  1. 打开网址:https://vercel.com/

  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,会自动给我们分配个网址

可以愉快的玩耍拉。