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 --versionNode.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 --versionClone the project repository to your local machine using the following command:
git clone https://github.com/xposed73/whatsapp-lmstudio-api.git
cd whatsapp-lmstudio-apiInstall all the necessary dependencies by running:
npm installStart the server and bring your WhatsApp chatbot to life:
npm startHere 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 startEnjoy automating your WhatsApp replies with LM Studio API! 🎉