Settings

Theme

Show HN: I built opencode –> telegram notification plugin

github.com

4 points by davasny a month ago · 3 comments · 1 min read

Reader

I 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...

Sayyidalijufri a month ago

Any chance you'd make a similar version but for Claude Code?

  • davasnyOP a month ago

    I will take a look at the Claude Code plugins docs.

    In the meantime you can try using opencode - it can use your claude code subscription or api keys. I was using claude code, openai codex and opencode - from all of them, opencode won in my cases

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection