An open API service indexing awesome lists of open source software.

https://github.com/pvnotpv/wabot

Economy/Memes/Image/NSFW/FUN commands and a webapp with control panel.
https://github.com/pvnotpv/wabot

bot bots snoowrap whatsapp whatsapp-api whatsapp-bot whatsapp-web-js

Last synced: about 1 month ago
JSON representation

Economy/Memes/Image/NSFW/FUN commands and a webapp with control panel.

Awesome Lists containing this project

README

        

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

- Insult Api - https://insult.mattbas.org/api/
- Mom jokes - https://yomomma.info/
- Snoowrap for reddit - https://not-an-aardvark.github.io/snoowrap
- Whatsapp-web.js - https://wwebjs.dev/

![:pv](https://counter.max.srl/get/@:pvwabot)
(From 28/1/24)