Dxcufgb's Workshop

Adding Another Private Module

WIPWork in progress: may be very buggy and can change a lot between versions.

On the admin page

The easy way is the Admin Page: Add module, enter the module id and owner/name, then Copy link (in the module's ⋯ menu) and paste it into Foundry. Steps 2 and 3 below still apply.

By hand

  1. Add an entry to /etc/foundry-release-proxy/config.json:
    {
      "transformations": { "repo": "dxcufgb/FoundryVTT-ghpg-Transformations" },
      "other-module": { "repo": "dxcufgb/Some-Other-Private-Module" }
    }
    
    The key is the Foundry module id and is used in the URL.
  2. Add the repo to the token's repository access (GitHub → Settings → Developer settings → your token → Repository access), keeping Contents: Read-only.
  3. Make sure the repo has a release workflow that attaches module.zip and module.json to each published release, like .github/workflows/release.yml in dxcufgb/FoundryVTT-ghpg-Transformations. Tags look like v1.2.0. (If your assets are named differently, set manifestAsset / zipAsset in the config entry.)
  4. sudo systemctl restart foundry-release-proxy (check journalctl -u foundry-release-proxy for config errors).
  5. In Foundry install it with its own manifest URL: http://localhost:8787/other-module/module.json.

Every field of a config entry is in the Configuration Reference.

This page mirrors the Private GitHub Proxy wiki on GitHub.