pkg install termux-services
sv-enable termux-service
Or use tmux:
pkg install tmux
tmux new -s wabot
npm start
# Detach: Ctrl+B, D
| Feature Category | Examples | |----------------|----------| | Auto-reply | Keyword-based replies, custom commands, autoresponder for DMs or groups | | Media handling | Send/receive images, videos, documents, stickers, audio notes | | Group management | Kick/warn/promote members, enable/leave groups, anti-link/spam, welcome messages | | Downloaders | YouTube (audio/video), TikTok, Instagram, Twitter, Facebook, Pinterest, Reddit | | AI/LLM integration | ChatGPT, Gemini, Bing AI, Llama (via APIs) | | Utility tools | Weather, calculator, QR generator, URL shortener, dictionary, translation | | Game & fun | Trivia, tic-tac-toe, dice, guess number, truth or dare | | Sticker maker | Convert images/videos to stickers, sticker pack management | | Owner controls | Broadcast, eval/exec commands, ban/unban users, set prefix, change bot name | | Database support | SQLite, MongoDB, JSON (for user/groups/settings persistence) | bot whatsapp termux github repack
Edit the config.js or .env file:
nano config.js
Typical settings:
module.exports =
ownerNumber: "62xxxxxxxx@s.whatsapp.net", // Your number with country code
botName: "MyTermuxBot",
prefix: ".",
mongodb: "optional_mongodb_url" // Leave blank if not using DB
Save with CTRL+X, Y, Enter.