Skip to content

sharovik/devbot

devbot

Gitter

Free, opensource "ChatBot" project, based on GoLang. Using this project you can build your custom simple bot, which can execute the commands you need.

demo-who-are-you

Table of contents

How to run

Build the project, you can find the instructions here

Once project build finished, please run the following command: For macOS and Linux

./bin/devbot-current-system

For windows

start bin\devbot-current-system.exe

Run by using docker

Before run, make sure you created .env file and set up the credentials

  1. Build the image. To do that, please run the following command:
docker build --target base -t devbot-app-base:latest .
docker build --target run -t devbot-app-run:latest .
  1. If build was successful, please use the following command to run the container
docker run --env-file=.env devbot-app-run:latest

Run using docker compose

Execute command docker compose up

Custom events available for installation

Here you can find an examples of custom events, which are ready for installation

Authors

Vendors used

  • github.com/joho/godotenv - for env files loading
  • github.com/sharovik/orm - the ORM for database queries
  • github.com/karalabe/xgo - for cross-platform build
  • github.com/pkg/errors - for errors wrapper and trace extracting in logger
  • github.com/rs/zerolog - for logger
  • github.com/stretchr/testify - for asserts in tests
  • golang.org/x/net - for websocket connection

License

This project licensed under the BSD License - see the LICENSE.md file for details