Skip to content

atex-ovi/wabase-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atex Ovi WA Bot (wabase-button)


npm version npm total downloads Node.js version License MIT

Saweria Telegram Facebook


Atex Ovi Logo


An interactive WhatsApp bot based on atexovi-baileys. This bot displays various types of interactive buttons:

Features

  • Interactive message templates with various button types
  • Quick Reply Button
  • URL Button
  • Call Button
  • Copy Button
  • Buttons with multiple options

This bot uses Atex Ovi as the default identity and sender name. You can expand this template to your needs, customizing the name, message, and interactive buttons.



Demos / Screenshots



⚡ Quick Start

  • Termux Android
pkg update && pkg upgrade
pkg install nodejs git
git clone https://github.com/atex-ovi/wabase-button.git
cd wabase-button
npm install
cp .env.example .env
nano .env  # edit BOT_NUMBER, OWNER_NUMBER, dll.
npm start
  • Windows / Linux
git clone https://github.com/atex-ovi/wabase-button.git
cd wabase-button
npm install
cp .env.example .env   # Windows: copy .env.example .env
nano .env               # edit BOT_NUMBER, OWNER_NUMBER, dll.
npm start

After npm start, follow the pairing code that appears in the terminal to connect WhatsApp.



Installation Video Tutorial

Watch the following video tutorial for bot installation steps:

Click the image to watch the video.



Directory Structure

wabase-button/
├── LICENSE
├── README.md
├── .env.example
├── .gitignore
├── index.js
├── package-lock.json
├── package.json
└── src
├── features
│ ├── callButton.js
│ ├── copyButton.js
│ ├── quickReplyButton.js
│ └── urlButton.js
├── handler.js
└── userState.js



📦 Wabase Button Installation Guide

This section covers how to install and run Wabase Button Bot on Termux (Android), Windows, and Linux PC.

🧩 Prerequisites / System Requirements

Before installing the bot, make sure your system meets the following requirements:

  • Node.js version 20 or higher
    Check version:
node -v
  • npm (comes with Node.js) Check version:
npm -v
  • Git installed Check version:
git --version

Stable internet connection to download dependencies and complete the pairing process. For Android / Termux: basic knowledge of Termux commands and storage permissions.



📱 Termux (Android)

  1. Install Termux & Node.js
pkg update && pkg upgrade
pkg install nodejs git
  1. Clone the repository
git clone https://github.com/atex-ovi/wabase-button.git
cd wabase-button
  1. Install dependencies:
npm install
  1. Configure environment variables
cp .env.example .env
nano .env

Update values like:

BOT_NUMBER=6281234567890
BOT_NAME=Atex Ovi
OWNER_NUMBER=6289876543210
PHONE_NUMBER=6281234567890
  1. Run the Bot
npm start

Follow the pairing code instructions in the terminal to connect your WhatsApp.



🖥️ Windows

  1. Install Node.js & Git

  2. Clone the repository

git clone https://github.com/atex-ovi/wabase-button.git
cd wabase-button
  1. Install dependencies:
npm install
  1. Configure environment variables

    • Create a .env file in the root folder and set values as shown in Termux above.
  2. Run the Bot

npm start



🐧 Linux

  1. Install Node.js and Git
sudo apt update && sudo apt install -y nodejs npm git
  1. Clone the repository
git clone https://github.com/atex-ovi/wabase-button.git
cd wabase-button
  1. Install dependencies:
npm install
  1. Configure environment variables

    • Create a .env file in the root folder and set values as shown above.
  2. Run the Bot

npm start



Tip

  • A session/ folder will be created automatically to store authentication.
  • The .env file contains sensitive data; do not commit it to the public repository.
  • This template is flexible; you can customize the message, buttons, and branding as needed.
  • Pairing code always appears in the terminal when the bot is running.
  • To stop the bot, press CTRL + C.
  • If you encounter permission errors (Linux/Termux), run:
chmod +x index.js

🌟 Done! Your Wabase Button Bot is Ready 🚀

Run it on Termux, Windows, or Linux PC.



Disclaimer

Caution

WhatsApp is a trademark of WhatsApp Inc. This bot uses the atexovi-baileys library, which is open-source and unofficial. Use this bot at your own risk and avoid spam or abuse.



Special Thanks



Support & Donations

If you find this project useful, consider supporting the development:

Buy Me A Coffee



License

This project is licensed under the MIT License.

About

WhatsApp bot framework using atexovi-baileys, featuring rich button interactions (List Button, Quick Reply, URL, Call, Copy) and modular handler support.

Topics

Resources

License

Security policy

Stars

Watchers

Forks