Local Plugin Repo

Hi,

Is there anyway I can create a local repository for plugins if behind a firewall ?

I have created a path on my webserver and unzipped some plugins in there but calling:-

grafana-cli --insecure --debug --repo http://myhost.example.com/grafana-plugins plugins list-remote
Failed to unmarshal plugin repo response error:invalid character ‘<’ looking for beginning of value
Error: ✗ invalid character ‘<’ looking for beginning of value

Is it even possible. Do I have to generate some metadata. Leave zips for plugins ?

Looking at some source code seems to suggest some API required to parse JSON.

Thanks
Paul