Skip to content

rifnd/moon-case

Repository files navigation



Telegram WhatsApp Instagram License Support

MOON CASE VERSION

This code is an implementation of Baileys. Use this script wisely, use your head in utilizing existing technology

Windows
Requirements:

Add to PATH environment variable

Termux

apt update && apt upgrade -y
apt install nodejs git ffmpeg wget curl zip -y

Speedtest Install

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash && apt install speedtest -y

Nvm installation

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc

Ubuntu

sudo apt update -y && sudo apt upgrade -y
sudo apt install nodejs git ffmpeg wget curl zip -y

Speedtest Install

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash && apt install speedtest -y

Nvm installation

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc

Chromium Installation

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt --fix-broken install -y

After finishing, restart the terminal to load the new information.

Nodejs installation

nvm install node

pm2 installation

npm i -g pm2
node --version

Start Script

Cloning the Repository

git clone https://github.com/rifnd/moon-case.git

Go to the project directory and install all dependencies.

cd moon-case

npm i

Finally, run the command below to start :

# non pm2
npm start

# with pm2
npm run dev

Login With Pairing Code

or type your number in here

node index.js --pairing

Note

This code is in no way affiliated with WhatsApp. Use at your own discretion. Don't spam this.

This code was produced based on the baileys library and it is still under development.

Donate to the project.