Skip to content

dragonwize/ddev-opencode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-on registry tests last commit release

DDEV OpenCode

Overview

This add-on integrates Opencode into your DDEV project.

Installation

ddev add-on get dragonwize/ddev-opencode
ddev restart

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

Usage

Command Description
ddev opencode Start OpenCode in the container.
ddev opencode-serve Start OpenCode server. Then connect to it from outside with `opencode attach :4096.

Update OpenCode

OpenCode has new versions very frequently. Since the install is cached in the Docker container for faster startups, a container rebuild is needed to pull the latest version.

ddev add-on get dragonwize/ddev-opencode
ddev restart --no-cache

If you want to update quickly, knowing it will not keep on restart: (Useful to check the new version before saving in your docker container)

ddev opencode upgrade

Credits

Contributed and maintained by @dragonwize

About

Use OpenCode with your DDEV project. Being in the container, the agent is isolated and uses the versioned dependencies and tools allowed.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages