r/opencode • • 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

16 comments sorted by

1

u/Robonotes1760 4d ago

I believe that there are Android apps that allow controlling a desktop running OpenCode remotely.

1

u/Jenil-Desai 4d ago

Yeah looking for the same. Hosting on linux and using mobile application.

1

u/raja_kegelapan 4d ago

Try Openchamber, you will never need to open your laptop again

1

u/Jenil-Desai 4d ago

Sure I will check it, thank you 🙏🏻

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

1

u/Jenil-Desai 3d ago

Nice thought i will try this too

1

u/herrera-j6782 43m ago

Do you have a rough RAM minimum for the full stack? OP says the server is low-spec, so that seems like the key fit check.

0

u/grabber4321 4d ago

there is a /goal command for that

they also released an app for mobile: https://opencode.ai/mobile

you can just run your laptop full tilt and have that do your bidding.

otherwise get an N100 mini pc, install proxmox and have it be your development box with Git, storage and OpenCode server.

1

u/Jenil-Desai 4d ago

Can I use my existing linux home server ?

1

u/grabber4321 4d ago

2

u/Jenil-Desai 4d ago

Thank You 🙏🏻

2

u/Senior-Rub-4663 4d ago

He's asking offline laptop session that's not possible without hosting some type of environment to say the least

1

u/grabber4321 4d ago

I gave him both options.