GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE]:Proposal for an Android version of opencode — via a lightweight Linux terminal wrapper · Issue #60762 · anomalyco/opencode

[FEATURE]:Proposal for an Android version of opencode — via a lightweight Linux terminal wrapper #60762

New issue
Copy link
New issue
Copy link
Open
Open
[FEATURE]:Proposal for an Android version of opencode — via a lightweight Linux terminal wrapper#60762
Copy link

Description

@haha56956
haha56956
opened on Oct 31, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hello,

I'm a user who frequently works in mobile scenarios and relies on opencode for AI-assisted coding. The desktop experience is solid, but there's currently no Android version at all — and mobile is exactly where many developers do fragmented coding and quick debugging. I'd like to propose an implementation approach that I believe is technically feasible and cost-effective for the team to consider.

Core proposal: wrap a lightweight Linux terminal environment (tens of MB) inside an Android shell, rather than rewriting a native app from scratch.

The idea in detail:

  1. Host layer: A minimal Android shell app handling file picking, clipboard, notifications, permissions, and lifecycle. This can be kept to a few MB.
  2. Terminal layer: Embed a lightweight Linux userland (e.g., a minimal Alpine/Debian rootfs via proot, or a Termux-style package management approach), compressible to tens of MB. The opencode CLI itself runs directly inside this Linux environment — requiring almost no Android-specific code changes, reusing the existing CLI logic as-is.
  3. Models & networking: Users configure API keys in the app; traffic goes through the system network. No additional model adaptation needed on the Android side.
  4. File interop: Mount user-selected directories into the Linux environment via Android's Storage Access Framework, enabling project file read/write.
  5. UX optimization: The shell app provides a simple terminal UI (or reuses an existing terminal emulator component) plus a "one-tap launch opencode" entry point, lowering the barrier for ordinary users.

Advantages of this approach:

· Low development cost: No separate native Android codebase to maintain; the CLI core stays untouched, and future desktop updates benefit Android automatically.
· Controllable size: A tens-of-MB Linux rootfs plus shell is far smaller than bundling a full Node/Python runtime into a native app.
· Ecosystem consistency: Models, plugins, and workflows configured in opencode remain consistent across platforms.
· Mature technology: proot, the Termux ecosystem, and SAF mounting all have extensive real-world practice on Android; risk is manageable.

Boundaries to consider upfront:

· Android restricts background processes strictly; long-running sessions need a foreground service with a persistent notification.
· Some binaries require ARM64-compatible builds.
· First-launch extraction/initialization time needs UX optimization (a pre-bundled rootfs image helps).
· App store policies regarding "embedded Linux environments" should be confirmed in advance.

My request: I'd appreciate the team evaluating this direction. If an official Android build isn't planned in the near term, I'd also suggest documenting the mobile usage boundaries (e.g., whether installing via Termux is recommended) — that alone would help mobile users significantly.

Thanks for your work, and I look forward to seeing opencode available on more platforms.

Best regards,
A mobile developer user


"I should mention that my English isn't strong, so I used AI to translate and expand my words — but the message reflects exactly what I originally meant."

Reacted by Jonathan Chemla

Activity

  1. opencodejr commented on Oct 31, 2026

    @opencodejr
    opencodejrBot
    on Oct 31, 2026
    Contributor
    More actions

    Thanks for the detailed proposal, and no worries about the English, it's clear.

    You're asking for an official Android version of OpenCode, built as a light Android shell around an embedded Linux environment that runs the existing CLI unchanged. If that isn't planned, you'd like documentation on how to use OpenCode on mobile, including whether Termux is recommended. Maintainers will consider it; I can't promise anything about whether or when it would happen.

    Related issues you may want to follow:

    • [FEATURE]: Add android to v2 npm package supported OS for Termux compatibility #47612: official Android/Termux support in the v2 npm package (it currently has to be installed with --force plus a wrapper fix)
    • [FEATURE]: First-class mobile shell for the web app #59069: a first-class mobile layout for the web app
    • OpenCode AI V2 Support Termux #50203 and [FEATURE]: Community showcase — Unofficial native Android client for OpenCode #48556: community Termux packaging and an unofficial Android client (both closed)
    • watcher: directory-type subscriptions always fail on android ("backend not supported"), file/entries fall back fine #58503, android: su fails with "No daemon is currently running!" because the shell sandbox does not bind /debug_ramdisk #59942, [FEATURE]: Follow Android system dark/light mode on Termux (system theme ignores OS day/night) #53664, TUI leaves stale "ghost" characters on screen in Termux, only cleared by forced full redraw #47255: known problems when running on Android/Termux

    In the meantime, you can use OpenCode from your phone today without running it on the phone. Run opencode serve on a computer, then opencode pair and open the link or QR code it shows in your mobile browser. To connect from outside your local network, use opencode pair --remote, which goes through OpenTunnel. The web UI can also be installed as a PWA.

  2. Eslamasabry commented on Oct 31, 2026

    @Eslamasabry
    Eslamasabry
    on Oct 31, 2026
    More actions

    I'm the author of OpenCode Mobile, an unofficial, independent, MIT Android app that does roughly this: it sets up its own Ubuntu with proot on the phone and runs OpenCode inside, with a native chat on top and notifications for permission requests. Repo: https://github.com/Eslamasabry/opencode-mobile-next. It's a separate project, not an official OpenCode build, so take it as an example of the approach rather than a replacement for what you're asking the team for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.