xstro-md is an open-source WhatsApp bot designed and developed by AstroX11 to simplify WhatsApp management. Initially a private endeavor for honing JavaScript, it grew with community contributions over time. (Here's to a sponsor one day!)
Important
You can adapt the source under the terms of the included license, but I disclaim any and all liability for any misuse of this software. It is for educational purposes only—please use it responsibly.
-
Verify your Node.js installation:
node -v
-
Create a new directory, navigate to it in your terminal, and follow these steps:
- Click Deploy Now.
- Enter the required variables:
SESSION_ID,BOT_INFO,SUDO,STICKER_PACK,WARN_COUNT, andTIME_ZONE. - Click Deploy to begin deploying the bot.
- Watch Video Tutorial
- Click Deploy Now.
- Provide the necessary variables.
- Click Deploy (leave default settings in place).
- Watch Video Tutorial
- Click Deploy Now.
- Enter the required variables:
SESSION_ID,BOT_INFO,SUDO,STICKER_PACK,WARN_COUNT, andTIME_ZONE. - Click Deploy Blueprint and wait for the bot to start.
- Copy the deployed URL.
- To ensure uptime, set up a monitor using Better Stack:
- In Better Stack, create a monitor with your deployed URL (pings every 5 minutes).
- Watch Video Tutorial
Refer to the Panel Deployment documentation.
-
Windows:
Download Node.js and install it. Verify installation:node -v npm -v
-
Linux:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt install -y nodejs node -v npm -v -
macOS:
brew install node node -v npm -v
-
Windows:
Download FFmpeg, extract it, and add thebinfolder to your PATH. Verify installation:ffmpeg -version
-
Linux:
sudo apt update && sudo apt install ffmpeg ffmpeg -version -
macOS:
brew install ffmpeg ffmpeg -version
Install globally:
npm install -g yarn
yarn -v-
Windows:
Download Git and install it. Verify installation:git --version
-
Linux:
sudo apt update && sudo apt install git git --version -
macOS:
brew install git git --version
-
Open a terminal.
-
Clone the repository and start the bot:
git clone https://github.com/AstroX11/Xstro.git cd Xstro yarn install npm start
Want to help? Fork the repository, create a pull request, and make sure everything works.
This is my first JavaScript project—so expect some bugs. This project is not affiliated with WhatsApp. For official WhatsApp information, visit whatsapp.com.