A WhatsApp and Telegram Bots that will send everyday the chapter to learn today
Node v12+ is required.
- Clone this project or download it and unzip it.
- Inside the folder run the command
npm install
- To start the Bot, just type
npm start
npm install --save hebcal
npm install --save whatsapp-web.js
npm install --save node-telegram-bot-api
npm install --save qrcode-terminal
npm install --save qrcode
npm install --save soundcloud-scraper
npm install --save node-id3
add your info inside the bot code (default groups and user to debug)
!ping
- check if the bot is alive.
for running the bot 24/7, it recommended to deploy it on server. you can use AWS, Heroku, Orcale Esc. (or bought Reseberry PI)
sudo apt-get update
sudo apt install nodejs
sudo apt install npm
sudo apt-get install -y libgbm-dev
sudo apt install libxkbcommon-x11-0
sudo apt-get install libxcomposite-dev
sudo apt-get install libxdamage1
sudo apt-get install libxrandr2
sudo apt-get install libasound2
use pm2 or tmux for keeping the session alive.