Skip to content

About

Introducing the AI Chatbot for WhatsApp - a cutting-edge solution powered by OpenAI's ChatGPT, Playground & DALL·E. This innovative chatbot has been developed using NodeJS technology and leverages the latest advancements in AI to provide an unmatched user experience for WhatsApp today!

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

💬 Whatsapp-Ai-BOT 🤖

A cutting-edge AI chatbot for WhatsApp 🤖💬 built using NodeJS technology and powered by OpenAI. This project leverages the advanced deep learning models of ChatGPT, Playground, and DALL·E from OpenAI.

💻 Created with NodeJS and Baileys Library

This repository contains the source code for a WhatsApp AI Bot that utilizes OpenAI's ChatGPT and DALL-E technology to provide a unique text-based and image-based conversational experience for users. The library used for integration is Baileys.

🔍 READ FIRST

Please note that this bot has 2 features - ChatGPT (text) and DALL-E (Text To Image). To use these features, simply use the commands /ai and /img respectively.

🔒 Unlock the Magic

The magic of this AI WhatsApp bot lies in its code, which has been carefully crafted and encrypted to protect it from prying eyes. But don't worry, if you need to take a closer look and understand the workings of the bot, just drop me a message on my website or LinkedIn. I'll be happy to share the key to unlock the full potential of this amazing creation. 🔓

🚀 Getting Started

  1. Get an OpenAI API Key by creating an account here.
  2. Replace the API Key in the key.json file here.

💻 Install on Linux/Windows/Mac

  1. Install NodeJS and Git Bash.

    Windows

    NodeJS https://nodejs.org/en/download/
    Git https://git-scm.com/downloads/

    npm install -g npm
    

    Linux

    sudo apt -y remove nodejs
    curl -fsSl https://deb.nodesource.com/setup_lts.x | sudo bash - && sudo apt -y install nodejs
    
  2. Clone the repository:

    git clone https://github.com/yesbhautik/Whatsapp-Ai-BOT
    
  3. Go to the project directory:

    cd Whatsapp-Ai-BOT
    
  4. Install dependencies:

    npm install
    
  5. Run the project:

    node index.js
    

⚡ Deploy on Heroku

You can also easily deploy this bot on Heroku with just a few clicks.

  1. Create a new app on Heroku
  2. Connect your Github Repository with Heroku app
  3. Select the repository you want to deploy
  4. Enable Automatic Deploys
  5. Under the "Manual Deploy", click "Deploy Branch"
  6. Go to the "Settings" tab and click on "Reveal Config Vars"
  7. Add the following Environment Variables:
    • API_KEY: Your OpenAI API Key
  8. Go to the "Resources" tab and turn on the worker.
  9. Your bot should now be live and running on Heroku! 🚀

Don't have a Heroku account yet? Sign up for free here.

📱 Install on Termux

  1. Install NodeJS and Git:

    pkg install git nodejs -y
    
  2. Clone the repository:

    git clone https://github.com/yesbhautik/Whatsapp-Ai-BOT
    
  3. Go to the project directory:

    cd Whatsapp-Ai-BOT
    
  4. Install node_modules manually by downloading here and extracting to the project directory.

  5. Run the project:

    node index.js
    

🔥 Show some support

If you find this repository helpful, show your support by giving it a 🌟! Your support means a lot to me and helps me keep contributing to the open-source community.

Also, if you'd like to support me financially, you can do so via my donation link: https://go.yesbhautik.co.in/8i6wdu

📫 Connect with me

💬 Let's chat

Feel free to reach out to me if you have any questions, ideas or just want to chat. I'm always here to help and connect with the community.

📜 License

This repository is under the GPL-3 License. For more information, see the LICENSE file.

About

Introducing the AI Chatbot for WhatsApp - a cutting-edge solution powered by OpenAI's ChatGPT, Playground & DALL·E. This innovative chatbot has been developed using NodeJS technology and leverages the latest advancements in AI to provide an unmatched user experience for WhatsApp today!

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors