Skip to content

sportshead/powergrid

Repository files navigation

powergrid

GitHub License Build Docker images GitHub Tag

Like nginx, but for Discord bots. architecture diagram

setup

$ wget -O myvalues.yaml https://github.com/sportshead/powergrid/raw/master/powergrid/values.yaml
$ vim myvalues.yaml # set secrets, ingress
$ kubectl create namespace powergrid-development && kubectl config set-context --current --namespace=powergrid-development
$ helm repo add powergrid https://sportshead.github.io/powergrid
$ helm upgrade --install --wait -f myvalues.yaml powergrid powergrid/powergrid

run an example bot

$ kubectl apply -f https://github.com/sportshead/powergrid/raw/master/examples/bun/bun.yaml

todo

  • CI
  • more example bots
    • discord.js
    • discord.py
  • shouldSendDeferred option in PowergridCommand CRD
  • use typed kubernetes client in coordinator
  • watch for k8s PowergridCommand CRD changes
    • reconcile changes with Discord
    • support guild commands for development
  • interaction routing - prefix style (bun/*) in a CRD/annotation?