An advance level Google Meet bot which can attend meetings on your desktop just by sending a link via phone through its web app. It will leave the meeting when there are an insufficient amount of students in a lecture. Also, it record the meetings while in them and prevents you from leaving by reconnecting.
-
Make sure you have Docker and Docker-Compose installed.
docker --version docker-compose --version
-
Bring up the docker container in the background
docker-compose up -d
-
Install the dependencies:
pip3 install -r requirements.txt
-
Install
ffmpegsudo apt-get install ffmpeg
-
Install
ngrok:- Click this link and follow the instructions.
-
launch ngrok tunnel on port 8000:
./ngrok http 8000
-
go to
djangobot/settings.pyfile and change the following:ALLOWED_HOSTS = ['ngrok address','localhost','127.0.0.1'] # change ngrok address to the one you got from your ngrok tunnel # don't forget to remove 'https://'
-
Run the server:
python3 manage.py runserver
-
Finally, enter the link in the web app
-
Where is the main part of the bot?
- It is a little deep, but it can be found under botserver/meetbot.py. Make sure to check other places, as they have the other pieces of information.
-
How do I ask more questions?
- You can create an issue with the title having "Question: " in it.