A lightweight, open-source WhatsApp bot.
-
Configure environment variables:
- Set up
DATABASE_URL - Configure Render API credentials
- Set up
-
Configure environment variables:
- Initialize
DATABASE_URL - Set up Koyeb API authentication
- Initialize
# Install required packages
npm i -g pm2
git clone https://github.com/ASTRO-X10/xstro-md.git
cd xstro-md
npm install
# Configure environment
cat << EOF > config.env
VPS = true
SESSION_ID = null
AUTH_FILE = session
SUDO = null
PREFIX = .
MODE = private
LOG_MSG = true
EOF
# Launch application
npm start
# Terminate process (when needed)
pm2 delete xstro-md| Parameter | Description | Example |
|---|---|---|
| SESSION_ID | Unique instance identifier | "bot-session" |
| DATABASE_URL | Database connection string | "mongodb://..." |
| SUDO | Administrative user identifiers | "1234567890" |
| PREFIX | Command prefix character | "." |
| MODE | Operational mode setting | "private" |
| LOG_MSG | Message logging toggle | true |
Join our research community for discussions, updates, and support: