Follow the steps below to set up and run the WhatsApp chatbot using LM Studio API.
Before you begin, make sure you have the following installed on your machine:
Git is required for cloning the repository. If you don't have it installed, follow these steps:
- Windows: Download Git for Windows
- macOS: Install using Homebrew by running
brew install git
- Linux: Use your package manager, for example:
sudo apt install git
(Debian/Ubuntu)
To verify that Git is installed, run the following command:
git --version
Node.js and npm (Node Package Manager) are required for installing dependencies and running the server. If you don’t have them installed:
- Windows/macOS/Linux: Download and install Node.js
After installation, verify by running:
node --version
npm --version
Clone the project repository to your local machine using the following command:
git clone https://github.com/xposed73/whatsapp-lmstudio-api.git
cd whatsapp-lmstudio-api
Install all the necessary dependencies by running:
npm install
Start the server and bring your WhatsApp chatbot to life:
npm start
Here is the full list of commands you will need:
# Clone the repository
git clone https://github.com/xposed73/whatsapp-lmstudio-api.git
cd whatsapp-lmstudio-api
# Install dependencies
npm install
# Start the server
npm start
Enjoy automating your WhatsApp replies with LM Studio API! 🎉