Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.71 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.71 KB

BigBlueButton-float_chat

This is a selenium based python application which is used to make the chat box in the Big Blue Button, an online classroom, a floating chat box.

This is achieved by opening the Chat site using Selenuim browser automation and capturing the chat details using their respective xpath. The captured details is then displayed on tkinter window which always stays on top.

Float chat options can be toggled using main menu which opens when the float_chat.py script is executed.

Note:

  • Current version only support Chrome browser
  • Chat window must be made visible in the webpage in order to capture the data
  • The layout of the browser must not be changed as it my change the xpath of the elements

Getting started

  1. Cloning the repository
git clone https://github.com/dheena2k2/BigBlueButton-float_chat.git
cd BigBlueButton-float_chat
  1. Check your Chrome browser version by typing 'chrome://version/' in the address bar and download the respective chrome driver from here and make sure to convert it into executable using 'chmod' command if you are using linux.
  2. Place the executable of the chrome driver in 'data/drivers/' directory
  3. Create 'data/base_data.xml' file using 'data/base_data_template.xml'
  4. Install pipenv if not already installed
pip install pipenv
  1. Switch to the main directory (i.e. directory of BigBlueButton-float_chat). Install necessary packages and activate pipenv shell
pipenv install
pipenv shell

Running the main script

Switch to float_chat directory and run the float_chat.py script (make sure pipenv shell is active)

cd float_chat/
python float_chat.py