Skip to content

This project is a Python bot that automates the process of logging into Gmail, joining a Google Meet, recording the audio of the meeting, and then generating a summary, key points, action items, and sentiment analysis of the meeting.

Notifications You must be signed in to change notification settings

dhruvldrp9/Google-Meet-Bot

Repository files navigation

Google-Meet-Bot

This project is a Python bot that automates the process of logging into Gmail, joining a Google Meet, recording the audio of the meeting, and then generating a summary, key points, action items, and sentiment analysis of the meeting.

Alt Text

Prerequisites

  • Python 3.8 or higher
  • Chrome browser
  • OpenAI API Key
  • A Gmail account
  • A Google Meet link

Installation

  1. Clone the repository:

    git clone https://github.com/dhruvldrp9/Google-Meet-Bot.git
    cd Google-Meet-Bot
  2. Create Python environment:

    python3 -m venv env
  3. Activate environment:

    • For Unix/Linux/macOS:
      source env/bin/activate
    • For Windows:
      env\Scripts\activate
  4. Install requirements:

    pip install -r requirements.txt
  5. Configure environment variables:

    • Copy the example environment file:
      cp .env.example .env
    • Edit the .env file with your configuration:
      # Google Meet Credentials
      EMAIL_ID=your_email@gmail.com
      EMAIL_PASSWORD=your_password
      
      # Meeting Configuration
      MEET_LINK=https://meet.google.com/xxx-xxxx-xxx
      RECORDING_DURATION=60
      
      # Audio Configuration
      SAMPLE_RATE=44100
      MAX_AUDIO_SIZE_BYTES=20971520
      
      # OpenAI Configuration
      OPENAI_API_KEY=your_openai_api_key
      GPT_MODEL=gpt-4
      WHISPER_MODEL=whisper-1
      
  6. Run Script:

    python3 join_google_meet.py

Environment Variables

Variable Description Default
EMAIL_ID Your Gmail address -
EMAIL_PASSWORD Your Gmail password -
MEET_LINK Google Meet URL to join -
RECORDING_DURATION Duration to record in seconds 60
SAMPLE_RATE Audio recording sample rate 44100
MAX_AUDIO_SIZE_BYTES Maximum audio file size in bytes 20971520 (20MB)
OPENAI_API_KEY Your OpenAI API key -
GPT_MODEL GPT model to use for analysis gpt-4
WHISPER_MODEL Whisper model for transcription whisper-1

Features

  • Automated Google Meet login and joining
  • Audio recording of meetings
  • Transcription using OpenAI's Whisper
  • Meeting analysis including:
    • Abstract summary
    • Key points extraction
    • Action items identification
    • Sentiment analysis
  • Automatic audio compression if size exceeds limit
  • JSON output of meeting analysis

About

This project is a Python bot that automates the process of logging into Gmail, joining a Google Meet, recording the audio of the meeting, and then generating a summary, key points, action items, and sentiment analysis of the meeting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages