Repository navigation
Home
A tiny HTTP proxy that lets a self-hosted Foundry VTT server install and update modules whose releases live in private GitHub repositories. Foundry cannot authenticate to GitHub, so the proxy holds a read-only token, serves the module manifest, and passes the zip through from a short-lived GitHub URL with the module's own module.json pointed at the proxy, so that Foundry's update checks come back to it.
Node.js only, no npm dependencies. Runs as a systemd service on Linux (e.g. a Raspberry Pi) or as a scheduled task on Windows, and can optionally keep itself up to date from this repository's releases (and e-mail you when it did). A password-protected administration page (/_admin/) lists the modules, adds, edits and deletes them, copies a module's link for Foundry, and manages the notification e-mail addresses. Worlds backed up to a private repository work the same way, with world.json and world.zip (Backed-up worlds).
Foundry ──manifest URL──▶ proxy ──token──▶ GitHub API (latest release, manifest asset)
Foundry ◀── manifest with download/manifest rewritten to the proxy
Foundry ──download URL──▶ proxy ◀── pre-signed GitHub URL (no token): the zip streamed through, module.json patched
| Runs on | Linux (systemd, e.g. a Raspberry Pi) or Windows (scheduled task) |
| Needs | a read-only GitHub token; Node.js (Linux: 18 or newer, the installer offers to download it if missing; Windows: the setup wizard brings its own, the PowerShell install needs 20.6 or newer) |
| Module links |
http://localhost:8787/<module-id>/module.json (worlds: http://localhost:8787/<world-id>/world.json) |
| Admin page |
http://localhost:8787/_admin/, or https://<this machine>:8788/ on its own port |
| Latest release | Releases |
- Create the GitHub Token: a fine-grained, read-only token for the module repositories.
- Install: on Linux or on Windows.
- Foundry in Docker: only if Foundry runs in a container.
- Install a Module in Foundry with the proxy's manifest URL.
- Admin Page in Your Browser: its own HTTPS port, like Webmin.
- Trusting the Certificate: so your browser saves the admin password.
- Admin Page on a Public Address: behind nginx or Apache, or directly.
- How the Proxy Works: every request and what it returns.
-
Configuration Reference:
config.json,env,admin.jsonand the environment variables.
Something not working? See Troubleshooting first, then open an issue.
Dxcufgb's Workshop: every Foundry VTT project, video and changelog in one place · Support on Ko-fi · MIT License
Setting up
- Create the GitHub Token
- Install on Linux
- Install on Windows
- Foundry in Docker
- Install a Module in Foundry
Using it
Admin page from other computers
Reference
Help