Use the bot only in groups where you have admin permission or with friends who consent. Run it responsibly.
If the QR code is too large and doesn’t fit the screen, zoom out by pinching or use a smaller font size in Termux ( Volume Up + - to shrink font).
mkdir my-wa-bot cd my-wa-bot npm init -y npm install @whiskeysockets/baileys @adiwajshing/keyed-db pino qrcode-terminal
(Replace https://github.com with the actual URL of your chosen WhatsApp bot repository). Step 2: Navigate to the Directory bot whatsapp termux github
Setting Up a WhatsApp Bot Using Termux and GitHub: A Complete Guide
Before installing a bot, ensure you have the following installed on your Android device:
Note: ffmpeg is crucial if your bot handles audio, video, or animated stickers. Use the bot only in groups where you
This reads the package.json file and downloads all required libraries (Baileys, qrcode‑terminal, ffmpeg, etc.). The process may take a few minutes.
: Automatically converting images or videos sent to the chat into stickers. Media Downloader
We’ll clone the WhatsApp bot from GitHub and install its dependencies. mkdir my-wa-bot cd my-wa-bot npm init -y npm
git clone https://github.com/YOUR_USERNAME/YOUR_BOT_REPO.git cd YOUR_BOT_REPO
pm2 save