Bundler and webserver to host GooseMod repos. Supports live updating using GitHub webhooks.
- Easier setup, only a single configuration file.
- Built in webserver, no additional setup needed.
- Automatic updates when a webhook event is received
- When a webhook event is received it will trigger a full rebuild, updating modules from other repos too.
- No commit hash freezing. (Less safe, RCE risk when not using trusted repos.)
To get this working you'll need to:
- Install Node 15 or newer and install git.
- Get your own GitHub Personal Access Token.
- Get a Discord bot token.
- Choose a secret for your webhooks.
- Create a
.env
file for your tokens.- The format is
KEY=VALUE
.
- The format is
- Configure
config.js
.- You'll need to add some modules and add the tokens.
- (Optional) Setup a webhook on your repo.
- Use the secret you used in the config file (
config.js
). - Set
Content type
toapplication/json
- Set the URL accordingly to what you configured in the
config.js
file. (Default value:https://example.com:4456/api/github/webhooks
)
- Use the secret you used in the config file (
- To run, simply do
npm run server
Note: For full functionality you'll need to install "ImageMagick" since it's used to generate the images to show on the website. ms2builder requirement.
npm run server
, main script used to start RLS.npm run check <repoName>
, used to check if a Powercord Plugin can be ported to GooseMod.npm run clonegm
, clones GooseMod, required for using PC Compat Check.npm run updategm
, updates GooseMod.