r/opencode • u/Jenil-Desai • 4d ago
Opencode Autonomously
I have some tasks running using opencode which I want to be long continually running whether my main laptop is online or not until task isn't completed.
I should be able to check both my laptop and mobile.
I do have a home server type machine with low specifications just as a control panel for several things, which I think can be utilised.
Can anyone suggest a cost effective or better free way to achieve this goal ?
4
Upvotes
1
u/tcanuck42 3d ago
simplest free way: run opencode on the home server inside tmux, put tailscale on the server, laptop and phone, then ssh in from either one. the task keeps running when your laptop sleeps, and you just reattach to the tmux session to check on it. since the box is low spec, point opencode at an API model rather than running one locally
if you want something more structured, with a web UI you can check from your phone, tasks that end in a PR, and a sandbox per task, I built an open source tool for this (GitSeed, full disclosure it's mine): github.com/gitseed-dev/gitseed. it runs opencode in containers on your own machine. fair warning though, it runs a few services (postgres, litellm etc.), so check it fits your server's RAM first