This project is a REST API integrated with WhatsApp using the whatsapp-web.js
library. It operates as a chatbot, allowing you to interact with WhatsApp programmatically, send messages, and generate QR codes for authentication.
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/ahadnawaz585/AI-Bot-WhatsApp-Integration-REST-API
-
Install dependencies:
npm install
-
Set up environment variables:
To start the server, run the following command:
npm run start
For a detailed code overview, watch my other video here.
- This project operates as a chatbot integrated with WhatsApp.
- It interacts with users, responds to messages, and performs actions based on user queries.
- Users can send messages to the WhatsApp number associated with the chatbot to initiate conversations and request information or perform actions.
- The API supports converting text/Image to PDF.
- Users can prompt the chatbot to generate a PDF file from a given text by sending a specific command or query.
- Users can convert image to PDF .
- This feature generates assignments with at least 15-20 headings.
- The chatbot automatically creates assignments based on the given topic, providing users with educational materials and resources.
- The API supports text to text, text to image, and image to text conversions.
- Users can perform various conversions by interacting with the chatbot and sending specific requests or commands.
Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.