Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/utsanjan/google-meet-attender-bot

Just a simple Online Google Meet class attending Bot, that attends your online classes on behalf of you. No need of taking any extra stress for your online meetings.
https://github.com/utsanjan/google-meet-attender-bot

autoattend automation automation-test bot chromedriver education google-meet googlemeetbot heroku online-meetings python python3 pythonbot

Last synced: 2 months ago
JSON representation

Just a simple Online Google Meet class attending Bot, that attends your online classes on behalf of you. No need of taking any extra stress for your online meetings.

Awesome Lists containing this project

README

        





Google Meet Attender Bot


Google Meet Attender



This python BOT will attend your online

Google Meet classes on your behalf.

No need of taking any extra stress

for your online meetings

## πŸ”Έ Project Notes

Chromedriver v87 has been used here in this project.

If your Chromedriver is not v87 then download it from [here.](https://chromedriver.chromium.org/downloads)

Download it in accordance with your Chrome Browser Version.

Delete `chromedriver.exe` before pushing it to heroku. (IMPORTANT)

## πŸ”Έ Cloning this Repository

If git is not installed then install git from here:

[Click here to Download Git](https://git-scm.com/downloads)

Then run this command given below:

```sh
$ git clone https://github.com/utsanjan/Google-Meet-Attender-Bot

```

## πŸ”Έ Installation for localhost

Make sure your have `python3` and `chrome browser` installed.
```sh
$ pip install -r requirements.txt
```

Now run command to get Cookies

```sh
python get_cookies.py
```

To start BOT Only use this command if you intend to use it on localhost.
```sh
python main.py
```

## πŸ”Έ Find the meeting code

```sh
https://meet.google.com/abc-defg-hij
abc-defg-hij <-- it is your meeting code.
```

## πŸ”Έ Change your meeting code

```sh
1. Download any code editor i prefer vscode.
2. Open main.py with vscode or any other editor or you can use notepad.
3. Go to line 69 and replace meet code with your meet code and save.
```

## πŸ”Έ Set your Name and Roll to send it to Chat

```bash
Go to line 75
full_name_with_roll = "Utsanjan Maity CSE/18/27"
now repalce `Utsanjan Maity CSE/18/27` with your name and roll.
```

## πŸ”Έ Deploy it on Heroku

> Why do we need it to deploy on heroku ?

* If we run it on localhost we have to always manually start it.

(And if we do that then why we should call it a BOT)

* It will consume our cpu usage, data usage and our time.
* Heroku provides free server hosting and 500hrs monthly

usage which will be more than enough for us.

### Deployment Steps:

```
0. Clone the repo.
1. Install requirements `$ pip install -r requirements.txt`.
2. Run command `$ python get_cookies.py` and login to your google account.
3. Now set your meet code and your name and roll.
5. go to heroku and create a new app and enter a unique name for your app.
6. Choose region united states.
7. Now go to settings.
8. Click on add buildpack and add the following one by one and save changes.
$ python
$ https://github.com/heroku/heroku-buildpack-google-chrome
$ https://github.com/heroku/heroku-buildpack-chromedriver

9. Click on reveal configs vars

10. Add following vars one by one

KEY VALUES
CHROMEDRIVER_PATH /app/.chromedriver/bin/chromedriver
GOOGLE_CHROME_BIN /app/.apt/usr/bin/google-chrome
TZ Asia/Kolkata

11. Now go to Deploy Option Heroku.
12. Install heroku CLI and enter following commands one by one.
https://devcenter.heroku.com/articles/heroku-cli#download-and-install <-- Heroku CLI

$ git checkout -b master
$ heroku login
13. Open command prompt or any terminal in your current directory where all files are located.
$ git init
$ heroku git:remote -a your-app-name
$ git add .
$ git commit -am "make it better"
$ git push heroku master

14. Then go to resource option and turn on the bot.

```

#### If you havent created account on Heroku create one from [here.](https://signup.heroku.com/)

## πŸ”Έ Tips
```sh
Turn off BOT after class is completed / when you are awake.(to save heroku dyno hours).

Turn on BOT Before Sleeping so it can attend your class while your are asleep.

If you have turned off BOT after class is completed then only turn it on after 12PM.
(If you turn on it before 12PM it will again start your meeting so be careful.)
```

## πŸ”Έ Important Notes

```sh

Do some changes in the python file if required.
It should then work for you as well.

Turn Off two step verification if enabled in your gmail account.

Dont use your primary gmail account.

First run get_cookie.py and get your gmail account cookies. ( NECESSARY i repeat it is NECESSARY )

Dont share these cookies with anyone.

```

## πŸ”Έ Disclaimer

This BOT is created for educational purposes only.
The usage of this BOT is at the own risk of the User.
The Creator shall not be held responsible for any misconduct on your behalf.
If by any chance your google account gets banned or suspended the creator shall not be accountable.
You are agreeing to all these conditions before downloading / cloning / forking this repository.

#### β€œEducation is the most powerful weapon which you can use to change the world.” ― Nelson Mandela
Attend all classes sincerely.

## πŸ”Έ Contact me

For Queries: [My Instagram Profile](https://www.instagram.com/utsanjan/)
[Check Out My YouTube Channel](https://www.youtube.com/DopeSatan)