Extensions/comfyui_tg_notification
ComfyUI Extension

comfyui_tg_notification

A custom node for ComfyUI that sends notifications (text and images) to a Telegram chat via a bot.

By Vkabuto23·Created 5 months ago·Updated 5 months ago· 0
Vkabuto23/comfyui_tg_notification
Nodes
On cloudLocal install
Stars0
Updated5 months ago
Readme

ComfyUI Telegram Notification Node

A custom node for ComfyUI that sends notifications (text and images) to a Telegram chat via a bot.

Telegram Notification Telegram API

Features

  • Send Text Messages: Quick alerts when a generation is finished.
  • Send Images with Captions: Automatically send the generated image to your Telegram chat.
  • Simple Configuration: Just plug in your Bot Token and Chat ID.

Installation

  1. Navigate to your ComfyUI custom_nodes directory:
    cd ComfyUI/custom_nodes/
    
  2. Clone this repository:
    git clone https://github.com/Vkabuto23/comfyui_tg_notification.git
    
  3. (Optional) Ensure you have requests and Pillow installed in your Python environment:
    pip install requests Pillow
    

How to Use

1. Setup Telegram Bot

  • Create a bot using @BotFather to get your Bot Token.
  • Get your Chat ID (you can use @userinfobot or similar).

2. Node Configuration

  • Find the Telegram Notification Bot node in the notifications category.
  • bot_token: Paste your Telegram Bot Token.
  • chat_id: Paste your Chat ID.
  • text: The message you want to send.
  • image (Optional): Connect an image output to send it as a photo.

Nodes

  • Telegram Notification Bot: The main node for sending alerts.

Requirements

  • requests
  • torch
  • Pillow
  • numpy