Un bot de Matrix para aprender español
Go to file
Rob Watson 36c75a3a0f Add Dockerfile 2021-02-25 21:20:09 +01:00
internal fixes for deployment 2021-02-25 21:20:01 +01:00
.dockerignore Add Dockerfile 2021-02-25 21:20:09 +01:00
.gitignore Add bot boilerplate 2021-02-23 17:39:18 +01:00
Dockerfile Add Dockerfile 2021-02-25 21:20:09 +01:00
README.md Add Dockerfile 2021-02-25 21:20:09 +01:00
go.mod Add bot boilerplate 2021-02-23 17:39:18 +01:00
go.sum Add bot boilerplate 2021-02-23 17:39:18 +01:00
main.go fixes for deployment 2021-02-25 21:20:01 +01:00

README.md

esbot

Build

docker build -t esbot .
docker save esbot | bzip2 | pv | ssh servername 'bunzip2 | docker load'

Usage

INSECURE_TLS=no \
  BASE_URL=https://matrix.server.com \
  LISTEN_ADDR=0.0.0.0:8888 \
  ACCESS_TOKEN=hackme \
  VERBS_FILE=verbs.csv \
  MATRIX_USER=@esbot:server.com \
  go run .

Licence

MIT