Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sansekai/wa-openai
WhatsApp Bot OpenAI ChatGPT NodeJS Using Library Baileys
https://github.com/sansekai/wa-openai
baileys baileys-bot baileys-md javascript nodejs whatsapp-bot
Last synced: 26 days ago
JSON representation
WhatsApp Bot OpenAI ChatGPT NodeJS Using Library Baileys
- Host: GitHub
- URL: https://github.com/sansekai/wa-openai
- Owner: Sansekai
- License: mit
- Created: 2022-12-14T11:16:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T16:05:49.000Z (4 months ago)
- Last Synced: 2024-10-14T00:03:46.588Z (26 days ago)
- Topics: baileys, baileys-bot, baileys-md, javascript, nodejs, whatsapp-bot
- Language: JavaScript
- Homepage: https://saweria.co/Sansekai
- Size: 67.4 KB
- Stars: 473
- Watchers: 13
- Forks: 475
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ChatGPT-repositories - Wa-OpenAI - WhatsApp Bot OpenAI ChatGPT NodeJS Using Library Baileys (Chatbots)
README
# Wa-OpenAI
***WhatsApp OpenAI ChatGPT Create with NodeJS Using Library [Baileys](https://github.com/WhiskeySockets/Baileys)***
## BACA DULU
Terdapat 2 fitur yaitu ```ChatGPT(text)``` dan ```DALL-E(Text To Image).```
Untuk commandnya menggunakan ```/ai``` dan ```/img```## Get & Change OpenAI ApiKey
- Silakan buat apikeynya terlebih dahulu [Disini](https://beta.openai.com/account/api-keys)
- Ganti ApiKey OpenAI pada file [key.json](https://github.com/Sansekai/Wa-OpenAI/blob/844f41c362250bed10857443c013cbb454807e87/key.json#L2)## Install
**Install on RDP/Windows ✅**Install [NodeJS](https://nodejs.org/en/download/)
dan [Git Bash](https://git-scm.com/downloads) terlebih dahulu
```bash
$ git clone https://github.com/Sansekai/Wa-OpenAI
$ cd Wa-OpenAI
$ npm install
$ node index.js
```
**Install on Termux ✅**Silakan install manual ```node_modules``` terlebih dahulu, karena di termux saat install otomatis melalui ```npm install``` terjadi error.
Link ```node_modules```: [Klik Disini](https://drive.google.com/file/d/1U7MowRkVpRNDWbnpkccAiy8kYN_xzSNM/view?usp=sharing)
```bash
$ pkg install git nodejs -y
$ git clone https://github.com/Sansekai/Wa-OpenAI
$ cd Wa-OpenAI
```
Sesudah menginstall file node_modules, silahkan extract file ```node_modules.zip``` dan taruh di folder Wa-OpenAI.**Run**
```bash
$ node index.js
```## License
[MIT License](https://github.com/Sansekai/Wa-OpenAI/blob/main/LICENSE)Copyright (c) 2022 M Yusril