You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
David Haukeness d7e2881354
fix index issue
5 years ago
.github/workflows Update build_go.yml 5 years ago
.gitignore removed github actions 5 years ago
Dockerfile add support for docker swarm secrets paperkey 5 years ago
LICENSE Update LICENSE 5 years ago
README.md update README 5 years ago
args.go first pass on feedback command! 5 years ago
commands.go string join does need spaces for human readability 5 years ago
go.mod updated deps 5 years ago
go.sum updated deps 5 years ago
handlers.go fix index issue 5 years ago
jitsi.go updated to generate random words 5 years ago
main.go first pass on feedback command! 5 years ago
provision.sh add support for docker swarm secrets paperkey 5 years ago
utils.go first pass on feedback command! 5 years ago

README.md

Build

keybase-jitsi-bot

A bot for Keybase that start Jitsi meetings

This package requires the keybase binary installed on your system, and works on linux, macOS, and Windows 10

Tested on:

  • Ubuntu Latest
  • macOS Latest
  • Windows Latest

Running on the command line:

Installation:

  • git clone https://github.com/haukened/keybase-jitsi-bot.git
  • cd keybase-jitsi-bot
  • go get -u ./...
  • go build
  • go install

Running:

  -debug
        enables command debugging to stdout
  -feedback-convid string
        sets the keybase chat1.ConvIDStr to send feedback to.
  -feedback-team-advert string
        sets the keybase team/channel to advertise feedback. @team#channel
  -log-convid string
        sets the keybase chat1.ConvIDStr to log debugging to keybase chat.

Example:

jitsi-bot --debug

Running in the docker container:

Pulling the container:

docker pull haukeness/keybase-jitsi-bot

Running the container:

You need to set ENV vars instead of passing command line flags:

Required by keybase: (Must set all of these)

  • KEYBASE_USERNAME=foo
  • KEYBASE_PAPERKEY="bar baz ..."
  • KEYBASE_SERVICE=1

Required by this package: (Set the values you feel like, if you don't set them they won't be used)

  • BOT_DEBUG=true
  • BOT_LOG_CONVID=<your keybase conversation id>
  • BOT_FEEDBACK_CONVID=<your keybase conversation id>
  • BOT_FEEDBACK_TEAM_ADVERT="@team#channel"

Example:

docker run --name myJitsi --rm -d -e KEYBASE_USERNAME=FOO -e KEYBASE_PAPERKEY="bar baz ..." -e KEYBASE_SERVICE=1 -e BOT_DEBUG=true haukeness/keybase-jitsi-bot