Coder Social home page Coder Social logo

lnszz07 / 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 54 KB

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: GNU General Public License v3.0

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

whatsapp-ai-bot's People

Contributors

yesbhautik avatar lnszz07 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.