Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.94 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.94 KB

Not your average whatsapp bot.

PS: THIS USED TO BE MY LOCKDOWN PROJECT AND YE... THE PROJECT IS FAR FROM DEAD.

Wabot-3.7.0

All images are fetched from reddit and cached in-memory every 5 minutes.

(above gifs may take a bit to load.)

AND MUCH MORE !!!

MISC

  • Uses mongodb as primary db and redis(even for images) to cache, so the bot is pretty fast.
  • NSFW commands can be enabled/disabled by admins.
  • You won't be banned from WhatsApp unless you make the bot public, Just add the bot to your friends/family groups but nothing else.
  • You can host the bot for free on Railway, 500 hours per month free.

SETUP

  • Clone the repo
  • Edit the .env file.
  • Watch a video on youtube to setup mongodb and change the db url.
  • There are tons of guides on google to setup Snoowrap for reddit.

Docker file method

  • Make sure to run the redis docker image.
  • docker build -t wabot .
  • docker run -p 8080:8080 wabot

Manual

  • yarn --add to install dependencies.
  • You need to have redis-server running on localhost.
  • yarn run start
  • Visit localhost:8080/qrcode, scan the qr and you're pretty good to go.

APIS USED

:pv (From 28/1/24)