type
status
date
slug
summary
tags
category
icon
password
Property
Aug 25, 2023 05:15 PM
URL
可以使用GitHub的新项目
wechat-chatgpt
fuergaosi233 • Updated Aug 23, 2023
1. 效果
首先看效果:
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9bc26893-99e3-46ea-8a50-647c133ea0cf%2FUntitled.png?table=block&id=89371a56-6683-464f-8943-dcb40330a623&t=89371a56-6683-464f-8943-dcb40330a623&width=432&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F04bf7a8b-4707-49af-8528-c59ba29cfd60%2FUntitled.png?table=block&id=3991cf79-4459-4ee5-832c-103db2dbb532&t=3991cf79-4459-4ee5-832c-103db2dbb532&width=432&cache=v2)
2. 部署
2.1 先决条件
- openai 账号(最简单的办法去淘宝买)
- 必须有多余的微信号,并且要是实名认证
- 必须有国外的服务器
2.2 设置 api
到 https://beta.openai.com/overview 去设置api
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F7e66750b-eff9-4d4c-a4dc-a27ea570a50f%2FUntitled.png?table=block&id=b92b977f-c6e1-43fb-a955-bbc1a7390f0c&t=b92b977f-c6e1-43fb-a955-bbc1a7390f0c&width=1960&cache=v2)
然后新建一个 api
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd181101c-cd6f-46cf-9eb3-d12c4911b568%2FUntitled.png?table=block&id=ea364508-966b-4cda-a6f8-e1af2384a8cf&t=ea364508-966b-4cda-a6f8-e1af2384a8cf&width=1242&cache=v2)
这个只会出现一次,用记事本或者什么的记住
2.3 服务器部署
到这里(点我下载)下载好之后,上传到你的服务器上面.下面是我自己保存的地方
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F083c8bb5-8e04-475a-83d9-bcbaf9750e5a%2FUntitled.png?table=block&id=4ff8429e-8098-45bf-ae7b-dd97a095e403&t=4ff8429e-8098-45bf-ae7b-dd97a095e403&width=803&cache=v2)
接着使用 vi 编写一个名字为
config.json
的文件填入下面的内容
弄完后使用命令
就能运行了,然后会给你一个链接,复制这个链接到浏览器,用微信扫码登陆就行了.
想要一直后台运行,可以下载 tmux ,然后在 tmux 里面操作就行了.
3. openai 收费问题
初始用户是 18 美元的试用,到这里可以看(点我打开)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F11d41c13-9fa7-4e9e-965b-d5a6b5927594%2FUntitled.png?table=block&id=77dd7089-5228-4e76-85cf-28f1801e0c08&t=77dd7089-5228-4e76-85cf-28f1801e0c08&width=528&cache=v2)
100人的小群用了几天就12美元没了,还是挺贵的,6.4美元 ≈ 120W单词
到这里我想充钱,然后…. , 中国卡不能充钱,我只能说很坑,离谱,太离谱了
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0259e5c7-e97d-4955-ac18-26829821b878%2FUntitled.jpeg?table=block&id=409ce7ba-2633-47e6-bc4c-d077ef84bb96&t=409ce7ba-2633-47e6-bc4c-d077ef84bb96&width=432&cache=v2)
4. 其他问题
微信如果请求过多就会被微信官方封禁,需要自己操作,所以不要在很大的群用,自己用就行了
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F7f870658-0b89-4486-9126-181ef97f4b23%2Ff8440bfcaadf7217eee11e7a3ccff2e.jpg?table=block&id=f38e1448-cb72-4d8d-956d-65ab8a92b80a&t=f38e1448-cb72-4d8d-956d-65ab8a92b80a&width=240&cache=v2)
5. 参考教程
- 作者:我心永恒
- 链接:https://wxyhgk.com/article/wechat-chatGPT
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。