Git Product home page Git Product logo

openairfz's Introduction

Wa-OpenAI

WhatsApp OpenAI Create with NodeJS Using Library 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
  • Ganti ApiKey OpenAI pada file key.json

Install

Install on RDP/Windows โœ…

Install NodeJS dan Git Bash terlebih dahulu

	$ git clone https://github.com/rafliiar17/openairfz
	$ cd openairfz
	$ npm install

cara install servicenya agar bisa di close terminal nya
1. copy file openai.service 
	$ sudo cp openai.service /etc/systemd/system/
	$ sudo systemctl enable openai.service
		-> ini untuk install service nya
		
   untuk uninstall service nya bisa dipakai syntax dibawah
   	$ sudo systemctl disable openai.service

2. lalu lihat barcode untuk login nya
	$ ./log.sh

3. option -> 
	1. restart 
		-> $ sudo systemctl restart openai.service
	2. start 
		-> $ sudo systemctl start openai.service
	3. stop 
		-> $ sudo systemctl stop openai.service

4. jika error di ubuntu maka buka file error https://www.stewright.me/2022/01/tutorial-install-nodejs-16-on-ubuntu-20-04/ ikuti langkahnya

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

$ pkg install git nodejs -y
$ git clone https://github.com/rafliiar17/openairfz.git
$ cd Wa-OpenAI

Sesudah menginstall file node_modules, silahkan extract file node_modules.zip dan taruh di folder Wa-OpenAI.

Run

$ node index.js

Donate

Donate For Yusril

License

MIT License

Copyright (c) 2022

openairfz's People

Contributors

rafliiar17 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.