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

5 Upvotes

18 comments sorted by

1

u/Robonotes1760 9d ago

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

1

u/Jenil-Desai 9d ago

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

1

u/raja_kegelapan 9d ago

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

1

u/Jenil-Desai 9d ago

Sure I will check it, thank you 🙏🏻

1

u/tcanuck42 8d 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 8d ago

Nice thought i will try this too

1

u/herrera-j6782 4d 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.

1

u/create_urself 4d ago

Have you tried using their mobile app? They use open-tunnel under the hood. Your laptop has to be online for it to work though.

1

u/Jenil-Desai 16h ago

Yeah planning for the same

0

u/grabber4321 9d 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 9d ago

Can I use my existing linux home server ?

1

u/grabber4321 9d ago

2

u/Jenil-Desai 9d ago

Thank You 🙏🏻

2

u/Senior-Rub-4663 9d ago

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

1

u/grabber4321 9d ago

I gave him both options.