Skip to content

e0ipso/ddev-assistant-opencode

Repository files navigation

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

About

ddev add-on for setting up the OpenCode assistant.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Generated from ddev/ddev-addon-template