This is a WhatsApp bot that connects with Chat GPT. Check out the documentation below to get started.
Facing issues? Check the FAQ page and do a search on past issues. Feel free to open a new issue if none has been posted previously.
Feature request? Check the past discussions to see if it has been brought up previously. Otherwise, feel free to start a new discussion thread. All ideas are welcomed!
I was bored and finally thought about trying ChatGPT from OpenAi and I thought it would be fun if I could just chat with ChatGPT from WhatsApp.
I looked for references for this and there are still very few open-source that specifically shows what I need, so I made this project open-source so hopefully it can be useful for those who need it.
- Clone the repo
git clone https://github.com/anggara-26/Ucup-Ai.git
- Rename
.env.example
to.env
- Put your openAi API Key
OPENAI_API_KEY="YOUR_API_KEY_HERE"
at.env
- Put your MongoDB URI at
.env
if you use Remote Auth Strategy (optional) - Personalize your chat bot, change
PREFIX_TEMPLATE
variable atsrc/ai.ts
- Run
npm run dev
- Scan the QRCode
npm i
First, run the development server:
npm run dev
Scan the QRCode on your WhatsApp app.
Done.
How to support? Support this effort by giving a star on GitHub, sharing your own Chatbot and giving a shoutout on Twitter or becoming a project sponsor.