meetbot

command
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2020 License: BSD-3-Clause, MIT Imports: 15 Imported by: 0

README

Meet Bot

A Keybase chat bot that gives you a link to join a Google Meet video call.

Running

In order to run the Meet bot, there needs to be a running MySQL database in order to store OAuth data.

  1. On that SQL instance, create a database for the bot, and run db.sql to set up the tables.
  2. Build the bot using Go 1.13+, like such (in this directory):
    go install .
    
  3. Create an OAuth Client ID for a 'Web Application' via the Google API Console. Download the credentials locally as credentials.json.
  4. The bot sets itself up to serve HTTP requests on /meetbot. The HTTP server runs on port 8080. You can configure nginx or any other reverse proxy software to route to this port and path.
  5. To start the Meet bot, run a command like this:
    # NOTE --kbfs-root specifies the path to the crendentials.json file.
    $GOPATH/bin/meetbot --dsn 'root@/meetbot' --kbfs-root ~/Downloads
    
  6. Run meetbot --help for more options.
Helpful Tips
Docker

There are a few complications running a Keybase chat bot, and it is likely easiest to deploy using Docker. See https://hub.docker.com/r/keybaseio/client for our preferred client image to get started.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL