/gotify-discord

Connect your existing Gotify server to a Discord webhook

Primary LanguageTypeScriptMIT LicenseMIT

gotify-discord

A tool to connect gotify to discord!

Getting started

Either build and run yourself, or use it as a docker image. To provide config, you can pass environment variables:

  • GOTIFY_HOST is the IP[:PORT] of your Gotify server.
  • GOTIFY_TOKEN is a token created from the client section of Gotify.
  • DISCORD_WEBHOOK is a Discord webook URL

Using docker compose:

version: "3"
services:
  gotify-discord:
    image: ghcr.io/johnwiseheart/gotify-discord:latest
    container_name: gotify-discord
    environment:
      - GOTIFY_HOST=<hostname>
      - GOTIFY_TOKEN=<token>
      - DISCORD_WEBHOOK=<webhook>
    restart: unless-stopped

Build it yourself

  1. Clone repo
  2. Run yarn build
  3. Run yarn start