With the installer (recommended)
Download foundry-release-proxy-<version>-setup.exe (or foundry-release-proxy-setup.exe) from the releases page and run it (it asks for administrator rights). Nothing else has to be installed: it brings its own Node.js. The wizard asks for
- the GitHub token (hidden), the id of your first module (e.g.
transformations) and its repository (owner/name), - whether to turn on automatic updates,
- optionally a password for the administration page and the e-mail addresses (plus mail server) for update notifications,
and then installs the code, writes config.json, creates the data folder with locked-down permissions and registers the scheduled task that runs the proxy at boot, as described below. If a token and config already exist (installing a newer version over an old one) it does not ask again and keeps them.
The installer is not code-signed, so Windows SmartScreen may say "Windows protected your PC": choose More info → Run anyway. Check the download against SHA256SUMS.txt on the release page if you like (Get-FileHash).
Unattended install
PowerShell, as administrator; the token goes through the environment, not the command line:
$env:FOUNDRY_PROXY_GITHUB_TOKEN = 'github_pat_...'
.\foundry-release-proxy-1.2.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /MODULEID=transformations /REPO=dxcufgb/FoundryVTT-ghpg-Transformations /AUTOUPDATE=1
The setup also takes the notification settings (/NOTIFYEMAILS= and the others); see Notifications and Daily Check.
Uninstall
Uninstall from Settings → Apps, or unins000.exe /VERYSILENT in C:\Program Files\FoundryReleaseProxy. It removes the tasks, the code and the bundled Node.js and asks whether to delete C:\ProgramData\FoundryReleaseProxy (config, token, logs; a silent uninstall keeps it unless you add /DELETEDATA=1).
If the install fails, the reason is in C:\Program Files\FoundryReleaseProxy\install.log.
The bundled Node.js is not updated by the automatic updates; install a newer installer to get a newer Node.js.
Download links
| OS | Link |
|---|---|
| Windows installer | https://github.com/dxcufgb/FoundryVTT-Private-Github-proxy/releases/latest/download/foundry-release-proxy-setup.exe |
| Windows archive | https://github.com/dxcufgb/FoundryVTT-Private-Github-proxy/releases/latest/download/foundry-release-proxy-windows.zip |
Files of a release X.Y.Z for Windows:
| File | What |
|---|---|
foundry-release-proxy-X.Y.Z-setup.exe |
Windows setup wizard |
foundry-release-proxy-X.Y.Z-windows.zip |
Windows archive; one folder foundry-release-proxy-X.Y.Z/ |
foundry-release-proxy-setup.exe, foundry-release-proxy-windows.zip |
the same two under fixed names, so releases/latest/download/<name> links never change |
SHA256SUMS.txt |
sha256sum of every other file of the release |
Without the installer (PowerShell)
Needs Node.js 20.6 or newer installed for all users (the normal installer puts it in C:\Program Files\nodejs; not nvm in a user profile, because the proxy runs as LOCAL SERVICE). Download foundry-release-proxy-<version>-windows.zip from the releases page, unpack it, and in an elevated Windows PowerShell (Run as administrator) in the unpacked folder:
powershell -ExecutionPolicy Bypass -File .\scripts\install-service.ps1
It asks for the token (input hidden; or set FOUNDRY_PROXY_GITHUB_TOKEN in the environment first); press Enter to skip, then put it into the env file and run Enable-ScheduledTask FoundryReleaseProxy; Start-ScheduledTask FoundryReleaseProxy. The defaults are the same as on Linux: HOST=127.0.0.1, PORT=8787. Use -NodePath C:\path\to\node.exe if node is not on the PATH.
Other switches:
-AutoUpdate(turn on automatic updates without asking),-EnableAutoUpdate/-DisableAutoUpdate,-Check,-UpdateNow-SetAdminPasswordand-SetNotify: see Admin Page-AdminWeb,-NoAdminWeband-RenewAdminCert: see Admin Page in Your Browser-Uninstall(removes both tasks, the updater token and the code; keepsC:\ProgramData\FoundryReleaseProxywith config, env and logs)
What ends up on the machine
Either way this is what ends up on the machine:
C:\Program Files\FoundryReleaseProxy\: the code (replaced each run)C:\ProgramData\FoundryReleaseProxy\config.json: your module mapping (never overwritten)C:\ProgramData\FoundryReleaseProxy\env: token and settings (never overwritten; only Administrators and SYSTEM have access, plus read access forLOCAL SERVICE;Users/Everyoneget nothing)C:\ProgramData\FoundryReleaseProxy\logs\proxy.log: the proxy's log (rotated at 5 MB)- a scheduled task
FoundryReleaseProxythat runsnode --env-file=...\env src\server.jsasLOCAL SERVICEat boot (and re-checks every 5 minutes, so a crashed proxy comes back)
Day to day
Get-ScheduledTask FoundryReleaseProxy, Stop-ScheduledTask / Start-ScheduledTask FoundryReleaseProxy, Get-Content -Wait C:\ProgramData\FoundryReleaseProxy\logs\proxy.log.
Next: Install a Module in Foundry.
This page mirrors the Private GitHub Proxy wiki on GitHub.