Skip to content

Vexa-ai/vexa-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vexa Bot

Meet Bot CLI Tool (Development, Testing)

Install dependencies

Install Dependencies

For Core

1.Navigate to the core directory and run:

npm install
  1. Build the core:
npm run build

For CLI

  1. Navigate to the cli directory and run
npm install
  1. Create a config file in JSON format (e.g., configs/meet-bot.json) like this:
{
  "platform": "google_meet",
  "meetingUrl": "https://meet.google.com/xxxx",
  "botName": "TestBot",
  "automaticLeave": {
    "waitingRoomTimeout": 300000,
    "noOneJoinedTimeout": 300000,
    "everyoneLeftTimeout": 300000
  }
}
  1. Run the CLI with:
npm run cli <config path>

example

npm run cli configs/meet-bot.json

Note: This is a temporary setup and I will improve it later.

How to Run the Bot with Docker for Production

1. Build the Docker Image

Before running the bot, you need to build the Docker image. Navigate to the core directory (where the Dockerfile is located) and run:

docker build -t vexa-bot .

This command will create a Docker image named vexa-bot.

2. Run the Bot Container

Once the image is built, you can start the bot using Docker. Pass the bot configuration as an environment variable:

docker run -e BOT_CONFIG='{"platform": "google_meet", "meetingUrl": "https://meet.google.com/xcb-tssj-qjc", "botName": "Vexa", "token": "123", "connectionId": "", "automaticLeave": {"waitingRoomTimeout": 300000, "noOneJoinedTimeout": 300000, "everyoneLeftTimeout": 300000}}' vexa-bot
Notes:
  • Ensure the BOT_CONFIG JSON is properly formatted and wrapped in single quotes (') to avoid issues.

  • The bot will launch inside the Docker container and join the specified meeting.

  • You can replace the values in BOT_CONFIG to customize the bot's behavior.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •