Zakónchil is a Chrome extension that sends you a Telegram notification as soon as ChatGPT finishes generating its response.
If you frequently ask ChatGPT complex questions or generate long text that takes a while to complete, you can switch tabs or walk away from your computer. Zakónchil will ping you on Telegram the moment your response is ready!
"Zakónchil" means "Finished" in Russian.
- Real-time Detection: Accurately detects when ChatGPT starts and stops generating text.
- Telegram Integration: Sends a direct message to your Telegram account via a custom bot.
- In-page Toggle: Injects a convenient on/off switch right into the ChatGPT interface (next to the dictate button) so you can quickly enable or disable notifications for specific prompts.
- Popup Dashboard: Easy configuration of your Telegram Bot Token and Chat ID, complete with a test notification button.
- Customizable Notifications: Set your own custom notification text.
Since this is an unpacked extension, you'll need to install it via Chrome's Developer Mode:
- Clone or download this repository to your computer.
- Open Google Chrome and navigate to
chrome://extensions/. - Enable Developer mode (the toggle switch in the top right corner).
- Click on the Load unpacked button.
- Select the
Zakonchilfolder you downloaded. - The extension should now appear in your list of extensions! Pin it to your toolbar for easy access.
To receive notifications, you need to create a Telegram bot and get your Chat ID.
- Open Telegram and search for the @BotFather.
- Send the message
/newbotto create a new bot. - Follow the instructions to give your bot a name and a username.
- Once created, BotFather will give you an HTTP API Token (e.g.,
123456789:ABCdefGHIjklMNOpqrSTUvwxYZ). Copy this token.
- Search for @userinfobot or @GetIDs Bot in Telegram.
- Start a chat with the bot.
- It will reply with your
Id(a string of numbers like123456789). Copy this ID.
- Click the Zakónchil extension icon in your Chrome toolbar to open the popup.
- Paste the Bot Token you got from BotFather.
- Paste the User ID you got from the ID bot.
- (Optional) Customize the Notification Text.
- Click Save Settings.
- Click Test Notification to ensure everything is working. You should receive a message from your bot in Telegram! (Note: You must start a conversation with your newly created bot in Telegram first before it can send you messages. Go to your bot and press "Start").
- Go to chatgpt.com and start a prompt.
- Look for the Zakónchil toggle switch injected near the input area (next to the voice/dictate button).
- Ensure it is toggled ON (green).
- Send your prompt to ChatGPT.
- When ChatGPT finishes typing out its response, you will receive a Telegram message (by default:
"✅ ChatGPT закончил генерацию ответа!", or your custom text).
storage: Used to save your Bot Token, User ID, and the toggle state locally on your browser.host_permissions:https://chatgpt.com/*: Required to monitor the page for generation status and inject the toggle UI.https://api.telegram.org/*: Required to send the notification payload to the Telegram API.
- Manifest V3: Modern Chrome Extension standard.
- Content Script (
content.js): Uses aMutationObserverto watch for ChatGPT's specific CSS classes (.result-streaming) and the "Stop generating" button to determine state. - Background Worker (
background.js): Handles the API requests to Telegram securely in the background. - Popup (
popup.js/popup.html): The user interface for configuration.