kolyasapphire / subgraph-sync-notifier

Graph Node status change notifier, which sends a Telegram message when a new Subgraph version is deployed or existing version finished or failed sync.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subgraph Sync Notifier

A super simple daemon which polls the status endpoint of a graph-node and sends a Telegram message when there are changes detected:

  • New Subgraph version is added
  • Subgraph sync status changes eg sync false -> true

Config

  • ENDPOINT - graph-node status endpoint
  • TG_TOKEN - Telegram bot token from the BotFather
  • TG_CHAT - chat id to send messages to
  • SLEEP - time to wait after a check

Docker

Daemon is auto-published to DockerHub.

docker pull kolyasapphire/subgraph-sync-notifier

About

Graph Node status change notifier, which sends a Telegram message when a new Subgraph version is deployed or existing version finished or failed sync.


Languages

Language:TypeScript 93.7%Language:Dockerfile 6.3%