Sign inSign up

aptinstall/gotify-matrix-reflector

By aptinstall

•Updated 5 months ago

Simple reflector for Gotify

Image
0

163

aptinstall/gotify-matrix-reflector repository overview

⁠Gotify Matrix Bot Reflector

A Gotify client that broadcast notifications to a specific Matrix Bot (user driven) thats talk to a specific Matrix user.

⁠Features

  • Broadcast Gotify notifications to Matrix
  • Filter Gotify application with notifications
  • Sending Matrix messages to Gotify

⁠Requirements

  • Gotify deployment
  • Gotify Client Token
  • (Optional) Gotify App names for watch
  • Matrix user for bot
  • Matrix room for bot
  • (Optional) SSO server

⁠Environment Variables

To run this project, you will need to add the following environment variables.

VariableDefault valueDescription
GOTIFY_URL127.0.0.1Gotify address
GOTIFY_PORT80Gotify port
GOTIFY_WS_SECTrueUsing WSS or WS protocol for Gotify
GOTIFY_HTTP_SECTrueUsing HTTPS or HTTP protocol for Gotify
GOTIFY_DENY_APPS''List of deny Gotify Applications (empty for all apps allow). Example: Matrix,Proxmox,Uptime-Kuma
GOTIFY_CLIENT_TOKEN''Click Create Client in Gotify
GOTIFY_CLIENT_APP''Click Create Application in Gotify
MATRIX_SERVER''Matrix homeserver
MATRIX_BOT_USER''Bot name
MATRIX_BOT_PASS''Bot password
MATRIX_ROOM_NAME''Matrix room name
SSO_SERVER''External auth server (default - user/password authorization)

⁠Using

docker compose:

services:

  gotify-matrix:
    image: gotify-matrix-reflector
    container_name: gotify-matrix-reflector
    restart: unless-stopped
    environment:
      - GOTIFY_URL=gotify.server
      - GOTIFY_CLIENT_TOKEN=654321
      - GOTIFY_CLIENT_APP=123456abc
      - GOTIFY_DENY_APPS=HA,Matrix
      - MATRIX_SERVER=https://matrix.mydomain.com
      - MATRIX_BOT_USER=BotName
      - MATRIX_BOT_PASS=1a2b3c4d
      - MATRIX_ROOM_NAME=MyRoom
      - SSO_SERVER=https://sso.mydomain.com

GitHub⁠

Tag summary

Content type

Image

Digest

sha256:933f2698f…

Size

196.1 MB

Last updated

5 months ago

docker pull aptinstall/gotify-matrix-reflector