▍ OpenCode on phone

OpenCode on your phone.

Use official OpenCode web on a computer you keep online, or return to a hosted OpenCode terminal after your laptop sleeps.

Hosted OpenCode terminal only. Provider access is separate. Cancel anytime.

  • Official web path is free
  • Hosted terminal from €6/month
  • iPhone and Android browsers
opencode-review

$ opencode

OpenCode · /workspace/repo

> Review the data loader and add regression tests.

I’ll inspect the loader, tighten the streaming path, and add regression tests.

Plan

Update loader to async generator
Add backpressure handling
Write unit tests
Update integration tests
Run test suite

Edit src/loader/stream.ts

+ 142 − 68

Edit test/loader/stream.test.ts

+ 211

Bash npm test

> 32 passed (1.2s)

✓ All tests passing.

>

What changes

The terminal becomes a place you return to.

Use official OpenCode web for free

Run opencode web on your own computer when that machine can stay awake and reachable. It starts on localhost by default; set a server password before allowing network access.

Use a hosted terminal when the laptop can sleep

Terminalbox runs the OpenCode TUI inside a persistent Linux workspace. Reopen the browser terminal from another device and attach to the same tmux-backed session.

Use a VPS when you need server control

Choose your own VPS when you need root, custom ports, a public OpenCode web URL, or control over the firewall and reverse proxy. Terminalbox intentionally does not provide those capabilities.

How it works

From sign-in to a persistent session.

  1. 01

    Decide which machine owns the project

    Keep the project on your computer for official OpenCode web, move it to a server you manage for SSH or native web access, or clone it into a Terminalbox workspace for a managed terminal.

  2. 02

    Connect OpenCode to your provider

    Authenticate the model provider on the execution host. OpenCode provider access, subscriptions, API usage, and model limits stay separate from Terminalbox hosting.

  3. 03

    Leave and resume from the phone

    With the DIY path, the computer, OpenCode process, and network route must remain available. With Terminalbox, the paid workspace and tmux session continue after the laptop disconnects.

Before you start

Questions worth answering.

Can I use OpenCode from an iPhone or Android phone?

Yes. OpenCode has an official browser interface, and its TUI can also be reached through a browser terminal or SSH client. In every case the code runs on the computer or server hosting the project, not on the phone browser.

What is the free way to use OpenCode on a phone?

Run the official opencode web command on a computer you control, protect network access with OPENCODE_SERVER_PASSWORD, and use a trusted private network or configured HTTPS proxy. The host must remain online.

Does Terminalbox provide OpenCode’s native mobile or web UI?

No. Terminalbox provides the actual OpenCode terminal interface inside a hosted browser terminal. It does not publish OpenCode web, add a mobile chat UI, or provide a public OpenCode server URL.

Will OpenCode keep running when my laptop sleeps?

Only if OpenCode is running somewhere else. A computer-hosted OpenCode web process stops being reachable when that computer sleeps. A paid Terminalbox workspace stays online independently of your laptop.

Are OpenCode or model-provider charges included?

No. Terminalbox charges for the persistent Linux environment. You bring supported OpenCode provider access, and its account rules, model limits, subscriptions, and API charges remain separate.

Is a normal VPS better for OpenCode remote access?

Use a VPS when you want the native OpenCode web interface on your own domain, root access, inbound SSH, custom services, or network-level control. Use Terminalbox when a managed persistent TUI and browser terminal are enough.

Persistent by default

Start here. Pick it up anywhere.

Plans start at €6 per month for one hosted coding-agent terminal.