Online Classes Bot is a telegram bot which can be deployed to a server, heroku or on your local machine. It can attend your Google Meet and Zoom classes for you.
/meet - Command to join Google Meet classes or metting
/gchat - To send messages in Google meeting
/zoom - Command to join Zoom Meeting
/status - Sends screenshot of the web page
/exitmeet - Exit Google meeting
/loginteams - To login to teams
/jointeams - To join meeting in teams
/exitteams - To exit meeting in teams
/restart - Close all the opened window and restarts the script
Join Google Meeting
/meet https://meet.google.com/agr-ghts-ade
send messages in Gmeet
/gchat yourmessage
Join Zoom Meeting
/zoom 12354674654 ax56rR
Get screenshot of the web page
/status
Exit the ongoing Googlemeeting
/exitmeet
To login Microsoft teams
/loginteams
To join meeting in Microsoft teams
/jointeams channel_name_to_join
Exit meeting in Teams
/exitteams
Close all the opened window and restarts the script
/restart
Set ENVIRONMENT VARIABLES according to VARIABLES in config.py
- Download and Install Google Chrome and Chromedriver.
git clone https://github.com/vodnalasricharan/onlineclassesbot
cd onlineclassesbot
pip install -r requirements.txt
python chromium.py
One Click Deploy
Note: In one click deploy you will have to re-login every day.
Conventional Deploy
Note: Login to your Google account from your local machine first, so that you don't have to re-login again and again on Heroku.
Set ENVIRONMENT VARIABLES according to VARIABLES in config.py
- Download and Install Google Chrome and Chromedriver.
git clone https://github.com/vodnalasricharan/onlineclassesbot
cd onlineclassesbot
pip install -r requirements.txt
python chromium.py
- Login to your Google Account.
- Now through Heroku-CLI login to your Heroku account
- Create a Heroku App
heroku create appname --buildpack heroku/python
- Set Chromedriver Builpack
heroku buildpacks:add https://github.com/heroku/heroku-buildpack-chromedriver -a appname
- Set Google Chrome buildpack
heroku buildpacks:add https://github.com/1337w0rm/heroku-buildpack-google-chrome -a appname
- Initialize git repository
git init
- Select this app in your Heroku-CLI
heroku git:remote -a appname
- Commit the changes
git commit -am "Your commit message"
- Push Code to Heroku
git push heroku master
- Scale the dynos
heroku ps:scale worker=1