Code Monkey home page Code Monkey logo

easymeet's Introduction

easyMeet

Join's Google Meet links for you ๐Ÿ˜ด

Bot for scheduling and entering Google Meet sessions automatically.

example

How it works

Project is made using Selenium and Flask. We open a chromium app on server where we can add, create, open tabs and set browser operations and everything. Using Flask as an interface to create our schedule subjects and timers (meets) make it easy to use and understand.

Installation guide for local usage and development

  1. Open terminal on your PC
  2. Clone the repo https://github.com/Agniwald/easyMeet.git
  3. Go inside the project directory
  4. Create file .env file and add these lines:
MAIL=(your Google account email)
PASSWORD=(your Google account password)
DB_URI=(whatever db you are comfortable with)
APP_SECRET_KEY=(create your Flask secret key)
GOOGLE_CHROME_BIN=(path to your chrome binary. in my case - /usr/bin/google-chrome)
CHROMEDRIVER_PATH=(path to your chrome webdriver. in my case - /usr/local/bin/chromedriver)

As you can see, you should install Chrome binary and webdriver for selenium library - installation guide

  1. Install dependencies pip3 install -r requirements.txt
  2. Start the application gunicorn app:app -t 1200

Now the project has started on localhost:8000

Usage Guide

Now when you visit the page you will see 4 tabs in navbar

  • Home
  • Google Login
  • Logs
  • Test

Home

On the home page you can add your subject table for easy usage. Also, you can add timers on your meets. Set start time and end time - add whatever number of meets you want!

Google Login

On the Google Login page you can start authorization if it failed on boot (check logs). Also, application core provide functionality to "recover" your account by phone number or if captcha appeared! To check success of authorization - click "Check" and go to Test tab to see screenshot of myaccount.google.com

Logs

Pretty self-explanatory.

Test

On this tab you will see all operations of application core. Check this tab to see Google login recover code!

Requirements

If you want to see the whole process

On line 30 of core.py file you can see line chrome_options.add_argument("--headless")

If you want to see bot automatically opening the page and filling login values and joining meet link then you can comment that line.

Deployment

If you want to deploy your instance of app you need it to set it up properly. The main problem on deployment is that after deployment it will be hosted on different IP and when bot tries to sign in Google will ask to login again with one time password. But application's core provide functionality to solve this problem. Check Test tab to see what excatly Google wants from you (phone code/captcha/number confirmation) and set it in Google Login tab.

For example, here's a guide on how to set up a project with Nginx + Gunicorn on AWS or similar services.

easymeet's People

Contributors

agniwald avatar

Stargazers

 avatar Vlad Serdiuk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.