Skip to main content

oc — OpenCode installer for Termux

oc is a small CLI that keeps Termux packages updated and installs/updates OpenCode from bd-loser/opencode-bionic in a single command.

Nothing runs at pip install time — the steps execute only when you run oc.

What it does

pkg update && pkg upgrade -y
curl -fsSL https://raw.githubusercontent.com/bd-loser/opencode-bionic/main/install.sh | bash
opencode --version

Install

pip install ./seika-oc   # local
pip install seika-oc     # from PyPI (after publishing)

Usage

oc              # smart: installs if missing, updates if outdated, else says "up to date"
oc -y           # same, without the confirmation prompt
oc --check      # show installed vs latest version (no changes)
oc --force      # reinstall even if already up to date
oc --skip-upgrade  # skip the pkg update/upgrade step (faster)

Version check: oc compares the installed opencode --version against the latest stable release tag from the GitHub API and only re-runs the installer when an update is actually available.

Metadata

Release files for seika-oc 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seika-oc 0.2.0
File Size Uploaded Provenance Actions
seika_oc-0.2.0.tar.gz 4.9 kB Without provenance Details for seika_oc-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seika-oc 0.2.0
File Interpreter ABI Platform Actions
seika_oc-0.2.0-py3-none-any.whl Python 3 none any Details for seika_oc-0.2.0-py3-none-any.whl

Total release size: 10.3 kB

Release files / seika_oc-0.2.0.tar.gz

Download URL seika_oc-0.2.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dba4810e54cfe4bfaf1404147d85cf942348e47800e589b823d7f87428977f6b
BLAKE2b-256 checksum
How to use checksums
3696afe3b79185fe067f7df7570a9d50305348b958d34d8ba3c30ff53fc7df8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via seika-oc-uploader/1.0

Release files / seika_oc-0.2.0-py3-none-any.whl

Download URL seika_oc-0.2.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
666b563ea71684f716cc41c65faf416735ae951d336456d119507be637a4e46b
BLAKE2b-256 checksum
How to use checksums
c23e44900ade29ca6b6d116a2f09336339e82b507d6dbe57f0a84dbd52c61d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via seika-oc-uploader/1.0

Security for seika-oc 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page