Code Monkey home page Code Monkey logo

parth-nazaretyan / whatsapp-ai-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yesbhautik/whatsapp-ai-bot

0.0 0.0 0.0 8.24 MB

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!

Home Page: https://www.linkedin.com/in/yesbhautik

License: MIT License

JavaScript 100.00%

whatsapp-ai-bot's Introduction

💬 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, /img, and /sc 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. Clean NPM Cache:

    npm cache clean --force
    
  5. Install dependencies:

    npm install --force
    

    It's may take minimum 10 to 15 Minutes as per your internet connection & your system configuration. If you are facing issue in Node Package installation

    1. Delete node_modules folder
    2. Extract provided ZIP archive file in the Project root directory.
  6. Run the project:

    npm start
    

⚡ 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
    

Donate YouTube Video Instructions

To learn more about this AI WhatsApp bot and its features, you can watch the tutorial videos on my YouTube channel. Visit here to access the videos.

Contributing 🤝

Contributions are welcome! Please follow these steps to contribute to the project:

  1. Fork the repository🍴
  2. Create a new branch for your feature or bug fix 🌿
  3. Make your changes and commit them 💻
  4. Push your changes to your fork 🚀
  5. Create a pull request to the main repository 📥

🔥 Show some support | Donation

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

Donate

💬 Let's Connect

Feel free to reach out to us if you have questions, ideas, or simply want to chat. We're here to help and connect with the community.

📜 License

This repository is under the MIT License. For more information, see the LICENSE file.

whatsapp-ai-bot's People

Contributors

yesbhautik avatar imgbotapp avatar deepsource-io[bot] 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.