Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
```

## Donate
Donate For Yusril

## License
[MIT License](https://github.com/Sansekai/Wa-OpenAI/blob/main/LICENSE)

Copyright (c) 2022 M Yusril