Skip to content

deltachat-bot/echobot-go

Repository files navigation

deltabot-cli-go template

Latest release CI Coverage Go Report Card

This is a template project using the deltabot-cli-go library.

Main features:

  • Unit tests, Github CI with fake email server
  • Auto-generated code coverage badge
  • Check code formatting
  • Check code with golangci-lint
  • Release program with goreleaser

Install

Binary releases can be found at: https://github.com/deltachat-bot/echobot-go/releases

To install from source:

go install github.com/deltachat-bot/echobot-go@latest

Installing deltachat-rpc-server

This program depends on a standalone Delta Chat RPC server deltachat-rpc-server program that must be available in your PATH. For installation instructions check: https://github.com/deltachat/deltachat-core-rust/tree/master/deltachat-rpc-server

Running the bot

Configure the bot:

echobot init bot@example.com PASSWORD

Start listening to incoming messages:

echobot serve

Run echobot --help to see all available options.