Skip to content

Latest commit

 

History

History
119 lines (68 loc) · 3.29 KB

README.md

File metadata and controls

119 lines (68 loc) · 3.29 KB

Levanter Md in Termux

Simple deployment

Setup

  1. First above all, install Termux Apk. Click Here to download.

  2. Open Termux App info and Allow access to Files and Media:

  3. Make sure you have Ubuntu Installed in your termux

First step below 👇👇👇

1 . Run below cmd / to Open Ubuntu in termux:

         bash start-ubuntu.sh
  1. after Install git, ffmpeg, and curl:

          apt -y update && apt -y upgrade
          apt -y install git ffmpeg curl
    
  2. run below 👇 cmd to Install nodejs:

          curl -fsSl https://deb.nodesource.com/setup_lts.x | bash - && apt -y install nodejs
    
  3. Update nodejs version in termux:

          npm install -g [email protected]
    
  4. run below 👇 cmd to Install yarn:

          npm install -g yarn
    
  5. Install pm2 in termux:

          yarn global add pm2
    
  6. Clone the repository and install packages:

          git clone https://github.com/lyfe00011/whatsapp-bot-md botName
          cd botName
          yarn install --network-concurrency 1
    
  7. After you clone above repo click the below 👇 Link to get your session id using pairing code

    Levanter:

  8. watch carefully after you get session I'd Edit below script by adding your session I'd and your number and some other necessary things

          echo "SESSION_ID = put session I'd here
          PREFIX = .
          STICKER_PACKNAME = Phantom
          ALWAYS_ONLINE = true
          RMBG_KEY = null
          LANGUAG = en
          WARN_LIMIT = 1
          FORCE_LOGOUT = false
          BRAINSHOP = 159501,6pq8dPiYt7PdqHz3
          MAX_UPLOAD = 200
          REJECT_CALL = true
          SUDO = 2348108395270
          TZ = Africa/Lagos
          VPS = true
          AUTO_STATUS_VIEW = no-dl
          SEND_READ = true
          AJOIN = true
          DISABLE_START_MESSAGE = false
          PERSONAL_MESSAGE = null" > config.env
    
  9. after you edit copy all script above after you have add Your session id and the rest and paste in termux

  10. To save, press Ctrl O then press Enter, press Ctrl X to exit.

  11. Start the Bot: {After this, your bot should start running just copy below 👇 text and paste in termux then tap enter}

        pm2 start . --name botName --attach --time
    
  • You can leave it at this point, but if you want the bot to run even on offline mode: Do as below
  1. Click acquire Wakelock in the Termux notification to enable it run in background. Exit both the ubuntu & Termux and that all

    INCASE BOT STOP OR YOU MISTAKELY CLOSE CONNECTION FOLLOW BELOW 👇 STEP

  2. open Termux again and copy and paste all command below 👇

  3. first command

              bash start-ubuntu.sh
    
  4. second command

             cd botName
             pm2 start . --name botName --attach --time
    

🛑 Stop bot:(Incase you wanna stop it):

        pm2 stop botName

Thanks To

Get me on: