How to add / install a plugin

Hi,

I would like to see / test caddy-filemanager. So how to add / install it to my caddy?

At the moment I just use prebuilded / downloadable caddy binaries.

You’ll need Go installed. Then according to this page you just add an import statement in run.go:

import _ "github.com/hacdias/caddy-filemanager"

Then build Caddy (build.bash or on Windows, go build or go install) and run it and you’re good to go!

Sounds simple, but this would be my first contact with Go :expressionless:

We’ll have a tool out eventually to replace caddydev and caddyext so you can manage plugins without having to touch the code. But you’ll still need Go installed.

I think I’ll take a look into Go in the future, but also dev-builds would be nice to have :wink: