Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

add-on registry tests last commit release

DDEV Assistant Opencode

Overview

This add-on integrates Assistant Opencode into your DDEV project’s web container.

Installation

ddev add-on get e0ipso/ddev-assistant-opencode
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Command Description
ddev exec opencode Run OpenCode commands inside the web container

Configuration

The add-on mounts your host OpenCode configuration into the web container:

Host Path Container Path Purpose
~/.config/opencode ~/.config/opencode OpenCode configuration
~/.cache/opencode ~/.cache/opencode OpenCode cache
~/.local/share/opencode ~/.local/share/opencode OpenCode data (including auth)

On first ddev restart, the add-on:

  1. Installs OpenCode into the web container image at /usr/local/bin/opencode
  2. Ensures all mounted directories are owned by the web user (not root)

Credits

Contributed and maintained by @e0ipso

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.