Sign inSign up

lavr/express-botx

By lavr

Updated about 16 hours ago

Image
1

4.5K

lavr/express-botx repository overview

express-botx

GitHub License: MIT

CLI and HTTP server for sending messages to eXpress corporate messenger via BotX API.

Accepts webhooks from Alertmanager and Grafana, supports async delivery via RabbitMQ/Kafka, works as a CLI tool or HTTP service.

Features

  • Send messages from CLI, scripts, CI/CD pipelines
  • API requests — arbitrary eXpress BotX API calls from CLI with auto-authentication
  • HTTP server with API for sending messages and receiving webhooks
  • Alertmanager & Grafana — built-in webhook endpoints for monitoring
  • Async queues — RabbitMQ or Kafka for reliable delivery
  • Secrets — environment variables and HashiCorp Vault support
  • Kubernetes-ready — Docker, Helm chart, binary

Image variants

TagBaseDescription
latest, <version>Alpine 3.21Default image
latest-rootless, <version>-rootlessscratchMinimal image, runs as non-root (UID 65534)

Both variants are built for linux/amd64 and linux/arm64.

Quick Start

Send a message
docker run --rm -v ./config.yaml:/config.yaml \
  lavr/express-botx send --config /config.yaml "Hello!"
Run HTTP server
docker run -d -p 8080:8080 -v ./config.yaml:/config.yaml \
  lavr/express-botx serve --config /config.yaml

HTTP Endpoints

MethodPathDescription
GET/healthzHealth check
POST/api/v1/sendSend message
POST/api/v1/alertmanagerAlertmanager webhook
POST/api/v1/grafanaGrafana webhook

All POST endpoints require Authorization: Bearer <key>.

Documentation

Full documentation: github.com/lavr/express-botx

License

MIT

Tag summary

Content type

Image

Digest

sha256:515d84ff5

Size

10.9 MB

Last updated

about 16 hours ago

docker pull lavr/express-botx