GithubHelp home page GithubHelp logo

vodnalasricharan / onlineclassesbot Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 14.0 10.23 MB

OnlineClassesBot is Telagram Bot deployed to a heroku server,which attends online classes for you.

Python 99.89% Procfile 0.11%
heroku telegram-bot online-classes bot chromedriver selenium-webdriver chat-application onlineclassesbot googlemeetbot mee googlemeet zoomclassesbot microsoftteamsbot

onlineclassesbot's Introduction

THIS BOT IS NOT WORKING NOW, THIS HAS SEVERAL ISSUES IN IT. I STOPPED WORKING ON THIS LONG BACK

ONLINE CLASSES BOT

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.

Bot Commands

/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

Usage

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

Deploy to Local Machine and Server

Set ENVIRONMENT VARIABLES according to VARIABLES in config.py

  1. Download and Install Google Chrome and Chromedriver.
  2. git clone https://github.com/vodnalasricharan/onlineclassesbot
  3. cd onlineclassesbot
  4. pip install -r requirements.txt
  5. python chromium.py

Deploy to Heroku

One Click Deploy

Note: In one click deploy you will have to re-login every day.

Deploy

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

  1. Download and Install Google Chrome and Chromedriver.
  2. git clone https://github.com/vodnalasricharan/onlineclassesbot
  3. cd onlineclassesbot
  4. pip install -r requirements.txt
  5. python chromium.py
  6. Login to your Google Account.
  7. Now through Heroku-CLI login to your Heroku account
  8. Create a Heroku App heroku create appname --buildpack heroku/python
  9. Set Chromedriver Builpack heroku buildpacks:add https://github.com/heroku/heroku-buildpack-chromedriver -a appname
  10. Set Google Chrome buildpack heroku buildpacks:add https://github.com/1337w0rm/heroku-buildpack-google-chrome -a appname
  11. Initialize git repository git init
  12. Select this app in your Heroku-CLI heroku git:remote -a appname
  13. Commit the changes git commit -am "Your commit message"
  14. Push Code to Heroku git push heroku master
  15. Scale the dynos heroku ps:scale worker=1

onlineclassesbot's People

Contributors

vodnalasricharan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

onlineclassesbot's Issues

Fix Could not sign in

Which version of Chrome and chromium have you set? Upgrading it can fix this error

Add Feature

Add Schedule Features from the source u are inspired it's there Please add that Feature

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.