Skip to content
/ Miku-MD Public template
forked from FantoX001/Miku-MD

Multi Device WhatsApp bot built with Baileys with Script and Template provided for devs.

License

Notifications You must be signed in to change notification settings

faheem00047/Miku-MD

 
 

Repository files navigation

Miku_by_FantoX001.mp4

Miku Nakano (Beta)

Konochiwa Senpai, I am "Miku Nakano" a WhatsApp bot made by Fantox to do everything that is possible on WhatsApp based on WhatsApp Multi Device(MD) Support.



✧✧ Maintained by Fantox for bug fixes and more improments. More features are coming soon. Check this main repo once in week to stay updated about latest updates.



✧✧ Setup before deploy (Optional):

Go to config.js

  • To change the Owner Number, go to line no 10, 11 and 12 [ Note there 91 is my country code don't put + or spaces there ]
  • Change Bot Prefix in line no 23 inside global.prefa. [ Put anything you want except @ ]
  • Change Owner Name in line no 16
  • Change Sticker packname and author in line no 14 and 15
  • Using Android ? Click to Fork Repo


✧✧✧ Vulnerability Report (✔️ Fixed on 06/11/2022 - 3:18 pm IST)

  • In a recent vulnerability test ( On 04/11/22 - 9:10 am IST ) I found that this bot contains a major vulnerability which can let your WhatsApp accout be accessed by the Attacker. Actually every 3rd party things contains some hidden vulnerability but here I am sharing that vulnerability with you as an warning. Which is only effective if you use repl.it scanner. [ It will be fixed soon so don't worry. ]

  • It can be avoided by installing bot in Termux, VS code etc. physical deploy methods or using other session generators.

  • I made this bot as an open source project but as it's dev I don't want user's account to be hacked. So I am working to fix it as soon as possible.

  • Stay safe and stay updated.


✧✧ Update Report (06/11/2022 - 3:18 IST)

  • Vulnerability has been fixed by me so no worries.
  • This bot doesn't contains any security related vulnerabilities anymore.


✧✧✧ Recent Patch notes

Read recent Patch notes of Miku
✧ Added new NSFW commands and fixed old non-working ones type -nsfw to to enable it and -nsfwmenu to get full NSFW command list.
✧ Added Forever worker again and removed pm2.
✧ Fixed Heroku account ban issue.
✧ Added Weather command. [Usage: -weather Kolkata]
✧ Fixed a critical security related vulnerability.
✧ Added single config prefix changing facility.
✧ Added pm2 worker.
✧ Fixed "Play" and related commands.
✧ Added Ytdl-Core.
✧ Added "add" command [Usage: -add 91 810xxxxxxx  where, 91 is country code and other part in number.]
✧ Added "say" command using Text-to-speech [Usage: -say Hello everyone]
✧ Bot can delete other people's messages now. [Condition: Both bot and user must be admin!]
✧ Fixed -hentaivideo command.
✧ Disabled Dm autoreply.
✧ More fixes soon...[Contact me via Telegram or WhatsApp for report or issues].



✧✧✧ Why use Miku as your Base?


1. Copyright Free.
2. No Source Code Encryption.
3. Most commands.
4. Singe prefix ("-").
5. Self restoration.
6. No API key needed!
7. Full premission to Recode.
8. Regularly Updating and Improving.
9. Supports Latest WhatsApp, GB, Fouad, Alpha, YoWhatsApp and all other mods (MD).

✧ The main motto of this project is to provide Beginner Devs a base without any limitations 😊.
✧ Check "Credits" section and Support Them too.

-regards FantoX001

✧✧✧ Video tutorial for Heroku Deploy:

Watch tutorial on YouTube

Here's the Video Tuturial for Deploying and Hosting Miku Bot on Heroku.

✧✧✧ Heroku Deployment Method:

Fork this repo.

✧ Click this scan button below and scan the given QR within 15 seconds from your WhatsApp.

Or, Scan indirectly from my repl.it

replit-logo-png-transparent

✧ Download the session.json file and upload it on the hompage of your Fork.

✧ Go to your Heroku account.

✧ Create a random app in Heroku with any name.

✧ Connect your GitHub with Heroku

✧ Then connect Miku's repo from your GitHub.

✧ Go to Heroku's settings ---> Add Buildpacks then connect these 3 buildpacks one by one mentionned below.

✧ Then come back to Heroku ---> Deploy then deploy the app

✧ After deploy is finished goto Heroku ---> Resources and turn on the switch.

✧ Enjoy :)

✧ Heroku Builbpacks:

https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest
https://github.com/clhuang/heroku-buildpack-webp-binaries.git
heroku/nodejs



✧✧✧ UserLand Deployment Method(Android no root)

✧ Download UserLand application from Google Play Store.

✧ Install Debian terminal in userland.

✧ After installation follow these commands below one by one (try not to miss any command to avoid error).

✧✧ Need help or having difficulties?

Follow this video tutotial for UserLand.

Watch tutorial on YouTube

UserLand commands:

sudo apt update
sudo apt upgrade
sudo apt install bash
sudo apt-get install libwebp-dev
sudo apt install git
sudo apt install nodejs -y
sudo apt install ffmpeg -y
sudo apt install wget
sudo apt install npm
sudo apt install imagemagick

git clone https://github.com/FantoX001/Miku-MD

ls
cd Miku-MD
npm i


cd
npm install --global yarn
yarn add sharp
sudo apt install curl


curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -


sudo apt-get install -y nodejs
yarn add sharp
cd Miku-MD
npm i
npm start

  • Note in git clone <my bot's repo> section your can use Your customised bot's github link too (For that make sure you Forked this repo and changed owner number in config.js).
  • This method will work on most other bots too.

✧ To stop a bot in Userland

  • Tap on CTRL button then tap on C from keyboard

✧ To start bot again ( While you are inside Miku-MD folder {use cd Miku-MD to get inside the folder} )

  • npm start or use yarn start to start bot again.

✧ Start bot after UserLand session is cleared

cd Miku-MD
npm start

✧ What to do if you logged out from the WhatsApp linked device section and want to get new qr to login

cd Miku-MD
rm session.json
npm start

✧✧ Note as UserLand is a physical server so you must keep on your internet connection active to make sure bot works.



✧✧✧ Join My Whatsapp Group for Support

✧✧✧ CMD Deployment Method (Without downloading this code as .zip)

git clone https://github.com/FantoX001/Miku-MD.git
cd Miku-MD
npm i
npm start

✧✧✧ CMD / VS code Deployment Method (After downloading this code as .zip)

  • Extract the .zip and open Vs code / Cmd in that directory and give thesse following commands one-by-one:
npm i
npm start

✧ Requirements for CMD/VS code istallation:

Note: If you don't pre-install these plugins before CMD / VS code Installation bot will not start!

✧✧✧ Termux Deployment Method

apt update
apt upgrade
pkg update && pkg upgrade
pkg install bash
pkg install libwebp
pkg install git -y
pkg install nodejs -y 
pkg install ffmpeg -y 
pkg install wget
pkg install imagemagick -y
git clone https://github.com/FantoX001/Miku-MD
cd Miku-MD
npm i
npm start

✧✧✧ To keep Miku alive without internet 24/7 (Termux, Vs Code etc. physical deploy only)

24*7 active internet connectivity is nust.

npm i -g pm2 && pm2 start index.js && pm2 save && pm2 logs

✧✧✧ License and recode Permission:

  • Well, it's the most asked question !
  • And the answer is "Permission is hereby granted for 100% modification/recode."
  • And this project comes under MIT lincense.
  • Please at least Follow me on GitHub to show some appreciation.

✧ Reminder:

  • This bot is not made by WhatsApp Inc. So misusing the bot might ban your WhatsApp account!(Though your WhatsApp account can be unbanned only once.)
  • I am not responsible for banning your account.
  • Use at your own risk by keeping this warning in mind.

✧ Contribution:

  • Project Contributors
  • There are many more contributors in this project.
  • Please feel free to contribute in this project. I will merge your respected contribute if i see it's really necessary.

✧ Help Me:

  • Follow me on GitHub to make me feel motivated.
  • Give my project a ⭐ if you liked it.

✧ Credits and Appreciation:

  • Adiwajshing sir for Baileys.
  • Arus~Bots, my lovely team mates for Mizuhara and Support.
  • Xeon for Cheems as a Base.
  • Zhwzein for Killua
  • Note: Bot's almost all of the commands works with APIs and Modules so thanks to all API/Module owners for providing your great work for free and all API/Module related credit goes to you guys.

About

Multi Device WhatsApp bot built with Baileys with Script and Template provided for devs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Other 0.1%