Sign inSign up

aptinstall/gotify-telegram-reflector

By aptinstall

•Updated 9 months ago

Simple reflector for Gotify

Image
0

548

aptinstall/gotify-telegram-reflector repository overview

⁠Gotify Telegram Bot Reflector

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

⁠Features

  • Broadcast Gotify notifications to Telegram
  • Filter Gotify application with notifications
  • Receive notifications of multi gotify servers on same Telegram Bot

⁠Requirements

  • Gotify deployment
  • Gotify Client Token
  • (Optional) Gotify App names for watch
  • Telegram Bot Token [gen with @BotFather]
  • Telegram Chat ID [for receive notifications]

⁠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: Telegram,Proxmox,Uptime-Kuma
GOTIFY_CLIENT_TOKEN''Click Create Client in Gotify
GOTIFY_CLIENT_APP''Click Create Application in Gotify
TELEGRAM_TOKEN''Create with @BotFather
TELEGRAM_CHAT_ID''ID Chat with Bot

⁠Using

docker compose:

services:

  gotify-telegram:
    image: gotify-telegram-reflector
    container_name: gotify-telegram-reflector
    restart: unless-stopped
    environment:
      - GOTIFY_URL=gotify.server
      - GOTIFY_DENY_APPS=Telegram,Fail2Ban
      - GOTIFY_CLIENT_APP=123321
      - GOTIFY_CLIENT_TOKEN=654321
      - TELEGRAM_CHAT_ID=123456
      - TELEGRAM_TOKEN=123456789:AAsdfgsdfg-SDFHsdfhsdfhdsfh

GitHub⁠

Tag summary

Content type

Image

Digest

sha256:f9fd6712b…

Size

69.6 MB

Last updated

9 months ago

docker pull aptinstall/gotify-telegram-reflector