/google-meet-bot

An advance google meet bot which will attend and leave classes and screen record the lectures automatically.

Primary LanguagePython

Google Meet Bot

An advance level google meet bot which will attend classes on desktop just by sending a link via phone through its web app. It will leave the classes when students are less than 30-40 in a lecture. Also it will simultaneously record the classes and prevent us from leaving the classes by reconnecting till the class end.

Setup with Docker & Docker-compose

  1. Make sure you have Docker and Docker-Compose installed.

    docker --version
    docker-compose --version
  2. Bring up the docker container in the background

    docker-compose up -d

Setup the environment (linux)

  1. Install the dependencies:

    pip3 install -r requirements.txt
  2. Install ffmpeg

    sudo apt-get install ffmpeg
  3. Install ngrok :

    • Click this link and follow the instructions.

Launch the app

  1. launch ngrok tunnel on port 8000:

    ./ngrok http 8000
  2. 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://'
  3. Run the server:

    python3 manage.py runserver
  4. Finally, enter the link in the web app