Show HN: I built opencode –> telegram notification plugin
davasny Saturday, December 27, 2025I had a problem with keeping focus on opencode terminal when it was doing tasks longer than ~30 seconds, so I built a small plugin that sends telegram notification to ping me when agent finishes.
Setup:
1. Send /start to the bot
2. Execute bash command that the bot sends you back. You can see source code of the script here [1] and the built plugin here [2].
3. Done! Whenever your agent finish, you will get message with project name, session title and duration of the agent work.
I decided to make it available to everyone on my free tier of cloudflare workers, but it's fully hostable on your own cloudflare accounts or even docker containers on custom infra with few minor changes in the code.
Development was done mostly by Claude Opus 4.5 and custom agents in opencode.
[1] https://github.com/Davasny/opencode-telegram-notification-pl...
[2] https://github.com/Davasny/opencode-telegram-notification-pl...