OpenCode Configuration Browser

Browse configurations, agents, and commands

About This Repository

OpenCode Config

Multi-variant configuration system for OpenCode agents.

Quick Start

Download and extract your configuration:

Base (no language specifics):

curl -fsSL https://fangjunzhou.github.io/opencode-config/distributions/opencode-base.tar.gz | tar xz

Python-specific:

curl -fsSL https://fangjunzhou.github.io/opencode-config/distributions/opencode-python.tar.gz | tar xz

Browse Online

  • File Browser: https://fangjunzhou.github.io/opencode-config/ - Browse all configurations and source files
  • Downloads: https://fangjunzhou.github.io/opencode-config/distributions/ - Download pre-built packages
  • GitHub Repository: https://github.com/fangjunzhou/opencode-config

Repository Layout

  • shared-config/ - Base configurations (all variants)
  • python/ - Python-specific overrides and commands
  • scripts/ - Build and deployment automation
  • .opencode/ - Generated merged configurations (do not edit)
  • distributions/ - Pre-built packages for download
  • DEVELOPER_GUIDE.md - Comprehensive development guide

For Developers

See DEVELOPER_GUIDE.md for:

  • Complete architecture overview
  • How to add/edit configurations
  • Build and testing commands
  • Adding new variants
  • Code style and contribution guidelines

For Agents

Configurations are publicly accessible via HTTP:

# Browse root file listing
curl https://fangjunzhou.github.io/opencode-config/

# Access base agent definition
curl https://fangjunzhou.github.io/opencode-config/shared-config/agents/autobuild.md

# Access variant-specific command
curl https://fangjunzhou.github.io/opencode-config/python/commands/add-lib.md

# Download and extract base variant
curl -fsSL https://fangjunzhou.github.io/opencode-config/distributions/opencode-base.tar.gz | tar xz

Agents can download and consume configurations directly without authentication required.

Complete File Tree

.opencode/
  README.md (2.2KB)
  agents/
    autobuild.md (3.4KB)
    autoplan.md (3.8KB)
DEVELOPER_GUIDE.md (10.9KB)
README.md (1.9KB)
distributions/
  SHA256SUMS (89.0B)
  SUMMARY.txt (483.0B)
  index.html (7.7KB)
  opencode-base.tar.gz (2.8KB)
  opencode-base.tar.gz.sha256 (87.0B)
  opencode-python.tar.gz (3.6KB)
  opencode-python.tar.gz.sha256 (89.0B)
opencode.json (51.0B)
python/
  commands/
    add-lib.md (2.0KB)
scripts/
  generate_directory_listing.py (9.1KB)
  generate_distribution_index.py (9.2KB)
shared-config/
  agents/
    autobuild.md (3.4KB)
    autoplan.md (3.8KB)
  opencode.json (51.0B)