Webhook listener for ztnet app, forwarding events to Telegram via a bot.
1.1K
Source code and docker-compose.yml can be found here :https://github.com/aash591/ztnet-webhook-telegram-bot
The ztnet-webhook-telegram-bot listens for webhook events from the ztnet app and sends them as messages to a specified Telegram chat. This setup allows you to run the webhook listener inside a Docker container and easily configure it via environment variables.
Features: • Listens for incoming webhook events. • Sends event data to Telegram via a bot. • Easily configurable through environment variables.
How to Use
Notes: • Replace the placeholder values like "Your actual bot token" and "CHAT_ID_1,CHAT_ID_2" with your actual Telegram bot token and chat IDs. • Port 5000 is exposed, allowing webhook events to be sent to this container. • Notes: • Set up your domain (e.g., https://domain.example.com) with Nginx Proxy Manager and ensure it's properly routed to the Docker container running the webhook listener. • Paste the URL https://domain.example.com/webhook into the ztnet organization's webhook configuration page to direct events to your webhook handler.
Tip: use ur local ip in the domain if u have nat traversal problems
Content type
Image
Digest
sha256:5d39b04b9…
Size
49.9 MB
Last updated
almost 2 years ago
docker pull aash591/ztnet-webhook-telegram-bot