Skip to content

Latest commit

 

History

History
224 lines (150 loc) · 5.44 KB

README.md

File metadata and controls

224 lines (150 loc) · 5.44 KB

Aine-MD

This script is free, if caught sold, this script will be deleted immediately. Don't forget to follow my github

Script ini gratis, Jika ketahuan di jual, Script ini akan langsung di hapus. Jangan lupa untuk mengikuti github ku

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'

FOR TERMUX/UBUNTU/SSH USER

apt update && apt upgrade
apt install git -y
apt install nodejs -y
apt install ffmpeg -y
apt install imagemagick -y
git clone https://github.com/Aiinne/Aine-MD
cd Aine-MD
pkg install yarn
yarn

INSTALL ON TERMUX WITH UBUNTU

[ INSTALLING UBUNTU ]

apt update && apt full-upgrade
apt install wget curl git proot-distro
proot-distro install ubuntu
echo "proot-distro login ubuntu" > $PREFIX/bin/ubuntu
ubuntu

[ INSTALLING REQUIRED PACKAGES ]

ubuntu
apt update && apt full-upgrade
apt install wget curl git ffmpeg imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev dbus-x11 ffmpeg2theora ffmpegfs ffmpegthumbnailer ffmpegthumbnailer-dbg ffmpegthumbs libavcodec-dev libavcodec-extra libavcodec-extra58 libavdevice-dev libavdevice58 libavfilter-dev libavfilter-extra libavfilter-extra7 libavformat-dev libavformat58 libavifile-0.7-bin libavifile-0.7-common libavifile-0.7c2 libavresample-dev libavresample4 libavutil-dev libavutil56 libpostproc-dev libpostproc55 graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat groff imagemagick-6.q16hdri imagemagick-common libchart-gnuplot-perl libgraphics-magick-perl libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev

[ INSTALLING NODEJS & AINE-MD ]

ubuntu
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
apt install -y nodejs gcc g++ make
git clone https://github.com/Aiinne/Aine-MD
cd Aiinne-MD
npm install
npm update

FOR WINDOWS/VPS/RDP USER

  • Download And Install Git Click Here
  • 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
git clone https://github.com/Aiinne/Aine-MD
cd Aiinne-MD
npm install
npm update

FOR OKTETO

Login with your github
Click Launch Dev Environment
Choose your repo

PANEL/RDP/VPS


Run

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,

Orang Tua,

Semua yang selalu mendukung

Special Thank's To

Nurutomo BochilGaming ariffb25

Contributor

Darrma23 aniq12 amiruldev20 Chacax rahmad13

Best Regards. Aine-MD