hope2333.github.io / wiki

index


opencode-termux

OpenCode on Termux/Android — flagship project.

Overview

opencode-termux brings OpenCode to Termux/Android via a native Bionic runtime. The project produces a single zero-glibc Android ELF through a transplant-revive pipeline, shipped as formal releases under the opencode package name.

Three Runtime Lines

Line Package Status Runtime
Native (mainline) opencode Stable Pure Bionic, zero glibc deps
Glibc (appendix) opencode-glibc Maintenance glibc wrapper via bun-termux-loader
Compressed opencode-compressed Follow-up UPX --best packed native

Pick ONE provideropencode and opencode-glibc are mutually exclusive.

Quick Install

# Via hope2333 pacman source (recommended)
pacman -S opencode          # native mainline
pacman -S opencode-glibc    # glibc appendix

See install guide for details.