Skip to content

DDEV Add-on

The DDEV add-on installs the Decodie UI as a daemon inside your DDEV web container and routes it to https://decodie.<project>.ddev.site.

Terminal window
ddev add-on get owenbush/decodie-ddev
ddev restart
ddev decodie

That’s it. The last command opens the UI in your browser.

To enable the Q&A feature, add an API key to .ddev/decodie/.env:

ANTHROPIC_API_KEY=sk-ant-api03-...

Any supported provider works — set the corresponding env var instead. You can also override the model:

LLM_MODEL=claude-sonnet-4-6

The add-on checks two .env files in order:

  1. .decodie/.env (shared with VS Code extension)
  2. .ddev/decodie/.env (DDEV-specific override)

The add-on provides a ddev decodie host command:

CommandDescription
ddev decodieOpen Decodie in your browser
ddev decodie statusShow entry statistics
ddev decodie settingsOpen settings page
ddev decodie lessonsOpen lessons page
ddev decodie helpShow usage information
  1. The add-on installs @owenbush/decodie-ui via npm inside .ddev/decodie/
  2. A daemon process serves the UI on port 8081 inside the web container
  3. Traefik routes https://decodie.<project>.ddev.site to that port
  4. DDEV handles DNS and TLS certificates automatically

The UI reads your .decodie/ directory from the project root — the same entries generated by the Decodie skills, VS Code extension, or GitHub Action.

Terminal window
ddev add-on remove decodie
ddev restart