Plugin structure

Hello hello,

I maintain traefik for NixOS, and am in the process of rewriting the traefik module to allow traefik plugins to be packaged into nixpkgs. This means they can be added to the declarative nix config, meaning they are added as local plugins to the local filesystem at build time.

As far as I know, all traefik plugins follow the following format. Is this correct?

# Every single published Traefik plugin starts its version string with 'v'.
url = "https://plugins.traefik.io/public/download/${moduleName}/v${version}.zip";

A problem I’m running into is the hashing in URLs. For example:

Plugins

676da7c6eaa878daeef9c7e9/

all lead to the homepage of badger, but omitting the hash in the URL gives a 404. How is this hash computed? Is there a way to, given the plugin name and owner, find the plugin?

This is the Traefik community forum, users supporting users. You should probably ask that question to the devs at Traefik Github.

1 Like

Ah my bad! probably a good idea :slight_smile:

Issue Link

1 Like