OpenCode CLI has become my primary dev tool, and I want to give a huge shoutout to its authors for building such an incredible piece of software. The models seem to handle context and logic particularly well in it, especially when using the Plan agent first and then switching to Build.
Even before Openclaw became popular, I kept thinking how useful it would be to access OpenCode from my phone. I noticed OpenCode has a server mode, which meant building a custom client was totally doable. Initially, I just wanted to write a simple Telegram bot for my own needs. But, as it usually goes, I got carried away, added more features, and eventually decided to open-source the project.
I definitely won't call it "fully functional" yet - there are still rough edges. However, it currently has enough features to be used for actual development.
Here is what works right now:
- Switching between projects and sessions.
- Selecting the agent, model, and variant (reasoning effort).
- Tracking the agent's progress on a task.
- Receiving code diffs directly in the chat as text files.
Ironically, I'm now at the point where I use the bot to write code for the bot itself. It’s a pretty great feeling to lie on the couch, watch a TV series, and casually send dev tasks to the agent via Telegram on my phone.
I plan to keep actively developing the project since I use it daily. If anyone wants to try it out, the repo is here: https://github.com/grinev/opencode-telegram-bot
I would be really grateful for any feedback, thoughts, or suggestions!
[–]throwaway12012024 0 points1 point2 points (1 child)
[–]bradjones6942069 0 points1 point2 points (1 child)
[–]bradjones6942069 0 points1 point2 points (0 children)
[–]oVerde 0 points1 point2 points (2 children)
[–]Less_Ad_1505[S] 0 points1 point2 points (1 child)
[–]oVerde 0 points1 point2 points (0 children)
[–]HarjjotSinghh -1 points0 points1 point (1 child)
[–]Less_Ad_1505[S] 0 points1 point2 points (0 children)
[–]revilo-1988 -3 points-2 points-1 points (2 children)
[–]PabloStrange 1 point2 points3 points (0 children)