Skip to content

KaviDeveloperSe/KAVI-X-BOT

Repository files navigation

Typing SVG

KAVI-X is a Multi-Device WhatsApp bot developed by Cyber Kavi. It is designed to provide various automation features and can be deployed on multiple platforms.


🔧 Setup KAVI-X

1️⃣ PAIR Code

PAIR CODE

🚀 Deployment Options


🔹 Deploy to Heroku

  1. If you don’t have a Heroku account, create one.

    Heroku
  2. Deploy KAVI-X:

    Heroku Deploy

🔹 Deploy to Railway

  1. Create an account on Railway:

    Railway
  2. Deploy KAVI-X:

    Deploy Railway

🔹 Deploy with GitHub Codespaces

  1. Click below to open KAVI-X in a GitHub Codespace:

    Open in Codespaces

🔹 Deploy with GitHub Actions

  1. Fork the repo and enable GitHub Actions.
  2. Go to Actions → set up a workflow yourself.
  3. Create the workflow file at:
    .github/workflows/deploy.yml
  4. Paste the following code into the file:
📜 Click to view GitHub Actions deploy.yml
name: Node.js CI

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [20.x]

    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Set up Node.js
        uses: actions/setup-node@v3
        with:
          node-version: ${{ matrix.node-version }}

      - name: Clean dependencies and install specific versions
        run: |
          rm -rf node_modules package-lock.json
          npm install [email protected] [email protected] --legacy-peer-deps

      - name: Install remaining dependencies
        run: npm install --legacy-peer-deps

      - name: Start application
        run: npm start

🔹 Deploy on VPS

You can also deploy KAVI-X on your own VPS. Ensure you have Node.js 22+ installed and set up the environment variables.


⚙️ Environment Variables

Ensure to set the following environment variables correctly:

SESSIONID='Put Your Session ID Here'
BOTNAME='KAVI-X MD'
OWNERNUMBER='94702128378'
OWNERNAME='Cyber Kavi'
WEBSITEX='https://kavi-x-bot-login.up.railway.app/'
WAGC='https://chat.whatsapp.com/CG9f0paHJzwDImXiydfuht'
BOTSCRIPT='https://github.com/KaviDeveloperSe/KAVI-X-BOT'
PACKNAME='KAVI-X MD'
AUTHOR='Cyber Kavi'
CREATOR='[email protected]'
BOTPREFIX='.'
RESTART='true'
MONGODB_URI='Put Your Mongo DB URI Here'

🔗 KAVI-X Support

Join the KAVI-X WhatsApp community for updates and support:

WhatsApp Channel WhatsApp Support

Enjoy using KAVI-X! 🚀

Releases

No releases published

Packages

No packages published