Build Your Own ChatGPT Bot

After the popularity of ChatGPT, it has become difficult to access, with many errors and inability to use it. However, we can use the API to access it.
I have brought a few open-source projects and tutorials on GitHub to help you build your own AI bot!

Integrating ChatGPT with WeChat and Telegram#

YouTube: https://www.youtube.com/watch?v=EfuTvNJFZbU
Zero Degree Explanation provides a detailed tutorial, and you can build it by watching the video.


This is also done through the API, but the official API and web usage are different, so it may be a bit less intelligent!


GitHub: https://github.com/sbaliyun/chatgpt-html
Setup tutorial: https://cloud.tencent.com/developer/article/2192663
This one is very simple, just follow the tutorial! I found the experience of setting this up to be a bit less intelligent!


GitHub: https://github.com/869413421/chatgpt-web
The author on GitHub has written a tutorial for this, and it's also very simple! I didn't try this one.


GitHub: https://github.com/Chanzhaoyu/chatgpt-web
Just looking at the preview image makes me want to try it out!
The setup tutorial I wrote: https://a8dog.com/post/XHRI4DUIi/


Setting this up took me a lot of time because the documentation on GitHub required installing pnpm.
After installing it, I encountered an error when running the service:

-bash: pnpm: command not found

Finally, I found the reason:


Post link: https://juejin.cn/post/7067462048656916493
I used the Baota Node Manager, and it turns out that executing npm install pnpm -g directly does not add the environment variable properly.


wget -qO- https://get.pnpm.io/install.sh | sh -

Lastly, if you also want to use Baota for management, you can refer to my solution above to solve it perfectly. Just a reminder, make sure to set the root user to run it, otherwise it won't work!

Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.