Skip to content

theSoberSobber/Groups-AlertBot

Repository files navigation

Alert Bot

This is a project that generates dynamic groups that always have bot in them.
The links are dynamic so, even if your college is not on AlertBot yet, just go to https://alert-bot.vercel.app/[yourCollegeName]/group to get a BOT regsitered group for your college!


NOTE - the bot won't work until a parser for your college site is written, please write a parser for your college at https://github.com/theSoberSobber/AlertBot or contact @Pavit.


Steps to run:

- 1) git clone
- 2) "yarn" to install dependencies
- 3) "yarn start" --> launches the api at the available port (default 3000) on your localhost
- 4) vist the endpoint [collegeName]/group to get redirected to the lastest group
    - /groupIds --> JSON that has the groupIds currently monitored by the bot 
    - / --> CC page

Since vercel doesn't support Websockets, these links won't work, unfortuantely.
If anyone knows any free serverless (we only need it as an api) hosting provider that supports websockets then please open an issue for the same.


UPDATE: The vercel links work now! (we used an ip proxy mapping approach, paired with a custom server! See https://github.com/theSoberSobber/AlertBot-Site for more)


Wokring (Again!) Vercel Links

https://alert-bot.vercel.app/
https://alert-bot.vercel.app/manit/group
https://alert-bot.vercel.app/dtu/group etc...
https://alert-bot.vercel.app/groupIds

About

Dynamic Always working Whatsapp groups for Alert Bot!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published