Skip to content

Rima0606/Anon-MD

Repository files navigation

Anon-MD

Whatsapp BOT MultiDevice with NodeJS. Recode from Aine-MD

Original Source By

Aiinne Aine-MD

Heroku Buildpack

Deploy

BuildPack LINK
FFMPEG here
IMAGEMAGICK here

HOW TO CONNECT TO MONGODB WHEN RUN IN HEROKU

  • Create account and database in mongodb atlas watch here
  • when you already have a database, you just need to take mongourl
  • Put mongourl in Procfile web: node . --db 'mongourl'
  • Example web: node . -- db 'Your Mongo URI'

HOW TO INSTALL ON TERMUX

pkg update && pkg upgrade
pkg install git -y
pkg install python3 -y
pkg install nodejs -y
pkg install ffmpeg -y
pkg install imagemagick -y
git clone https://github.com/hilmifaturahman/Anon-MD
cd Anon-MD
pkg install yarn
yarn install
yarn update

HOW TO INSTALL ON UBUNTU

sudo apt-get update && apt-get upgrade
sudo apt-get install git -y
sudo apt-get install python3 -y
sudo apt-get install nodejs -y
sudo apt-get install ffmpeg -y
sudo apt-get install imagemagick -y
git clone https://github.com/hilmifaturahman/Anon-MD
cd Anon-MD
sudo-apt get install yarn
yarn install
yarn update

HOW TO INSTALL ON WINDOWS/RDP/VPS

  • Download And Install Git Click Here (Don't Forget Add GIT to PATH enviroment variables)
  • Download And Install NodeJS Click Here
  • Download And Install FFmpeg Click Here (Don't Forget Add FFmpeg to PATH enviroment variables)
  • Download And Install ImageMagick Click Here
  • Download And Install Python Click Here (Don't Forget Add Python to PATH enviroment variables)
git clone https://github.com/hilmifaturahman/Anon-MD
cd Anon-MD
npm install
npm update

PANEL/RDP/VPS


CHANGE THE OWNER NUMBER

edit on config.js


HOW TO RUN

npm start

IF YOU WANT TO RUN MANUAL

node .

Arguments node . [--options] [<session name>]

--session <file name>

Use another session with another name, default is session.data.json

--prefix <prefixes>

  • prefixes are seperated by each character Set prefix

--server

Used for heroku or scan through website

--db <json-server-url>

GET

GET /
Accept: application/json

POST

POST /
Content-Type: application/json

{
 data: {}
}

--big-qr

If small qr unicode doesn't support

--img

Enable image inspector through terminal

--test

Development Testing Mode

--trace

conn.logger.level = 'trace'

--debug

conn.logger.level = 'debug'

Settings

Now set using switch enable.js, among others are

autoread: false, // If true all chats are automatically read
nyimak: false, // No bot, just print received messages and add users to database
restrict: false, // Enables restricted plugins (which can lead your number to be banned if used too often)
self: false, // Activate self mode (Ignores other)
pconly: false, // If that chat not from private bot, bot will ignore
gconly: false, // If that chat not from group, bot will ignore

Thank's To

Allah SWT

My support system :)

Special Thank's To

Aiinne adiwajshing BochilGaming