Skip to content

Astro-Md is an advanced WhatsApp bot built with Node.js. It utilizes natural language understanding and machine learning capabilities to comprehend conversations and respond intelligently.

License

Notifications You must be signed in to change notification settings

JIRAIYASENS/Astro-Md

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro Md

Introducing Astro_Md, It is designed to Enhance your Whatsapp Daily Usage.

Astro docs


Deployment Methods


  1. Get SESSION ID

By PAIRING CODE OR SCAN QR code. And then Go-to Whatapp>Three dots>Linked Devices

  1. Get Mongodb_URI from

Mongodb site

  1. Click FORK and Star Repository if you Like the Bot.

  1. Deploy FREE on Github Codespaces

  2. Copy and go the link below, and choos your repo
https://github.com/codespaces/new
  1. Leave the Branch on Main Default
  2. Select your preferred Region
  3. Select your Preferred Cpu Cores I recommend 4-cores for faster Installation
  4. After the terminal has installed the required files automatically, type this on the terminal
    npm
    yarn check
    
  5. Then once that's done type any of the following below.
    npm start
    
    OR
    yarn start
    

  6. Deploy on Heroku Click Here

-To Delpoy on Heroku

  1. Click the link Above then fill in the Vars
    App name
    Choose a region
    AUTO_READ_STATUS
    DISABLE_PM
    ELEVENLAB_API_KEY
    HEROKU_API_KEY ***Required***
    HEROKU_APP_NAME
    MODE ***REquired***
    MONGODB_URI
    MSGS_IN_LOG
    OPENAI_API_KEY
    OWNER_NAME
    OWNER_NUMBER
    PACK_AUTHER
    PACK_NAME
    PREFIX
    READ_MESSAGE
    REMOVE_BG_KEY
    SESSION_ID ***Very Important***
    USER_IMAGES
    WAPRESENCE
    

2.Then Click on Delpoy App (Button) 3. After that CLick on the Worker 4. Select the worker npm/start Dyno 5. Then bot has started

  1. Deploy on Replit Click Here

  • To deploy on Replit
    1. Clone the Repo
      create repl
      import from github
      
    2. Install Dependecies in Shell
      yarn
      npm install
      
    3. Run it from run button
    4. Done.

  1. Deploy on VPS or PC.

  • You need to Install git,ffmpeg,curl,nodejs,yarn with pm2
    1. Install git ffmpeg curl

       sudo apt -y update &&  sudo apt -y upgrade 
       sudo apt -y install git ffmpeg curl
      
    2. Install nodejs

      sudo apt -y remove nodejs
      curl -fsSl https://deb.nodesource.com/setup_lts.x | sudo bash - && sudo apt -y install nodejs
      
    3. Install yarn

      curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - 
      echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
      sudo apt -y update && sudo apt -y install yarn
      
    4. Install pm2

      sudo yarn global add pm2
      
    5. Clone Repo and install required packages

      git clone https://github.com/SamPandey001/Secktor-Md
      cd Secktor-Md
      yarn install --network-concurrency 1
      
    6. Create an env file for ENV.

      touch config.env
      nano config.env
      

      copy paste lines below.

      OWNER_NUMBER="2348039607375"
      MONGODB_URI="mongodb+srv://*************"
      SESSION_ID = "SESSION-00-000-00"
      THUMB_IMAGE = "https://yourwebiste.com/image.png|.jpg|.jifi"
      port = 5000
      email = "soccerboys"
      global_url = "instagram.com"
      OWNER_NAME = "ASTRO"
      AUTO_REACTION = false
      FAKE_COUNTRY_CODE = 92
      READ_MESSAGE = false
      PREFIX = .
      WARN_COUNT = 3
      DISABLE_PM = false
      ANTI_BAD_WORD = "fuck"
      LEVEL_UP_MESSAGE= true
      WELCOME_MESSAGE =  "*Hi,* @user \n*Welcome in* @gname \n*Member count* : @count th"
      THEME= ASTRO
      WORKTYPE = public
      PACK_INFO = "ASTRO;BOT"
      ANTILINK_VALUES = "chat.whatsapp.com"
      
      

      ctrl + o and ctrl + x, To save and exit

    7. start and stop bot

      To start bot npm start, To stop bot npm stop

Use this Public MongoDb Key, If you dont have.!

mongodb+srv://danielpeter:[email protected]/?retryWrites=true&w=majority

  • Star ⭐ repo if you like this bot.
  • If any problem, then +2348039607375

The Astro_Md is made available under the GPL-3 license.

##heroku

About

Astro-Md is an advanced WhatsApp bot built with Node.js. It utilizes natural language understanding and machine learning capabilities to comprehend conversations and respond intelligently.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.4%
  • Other 1.6%