Skip to content
/ RLS Public

Bundler and webserver to host GooseMod repos.

License

Notifications You must be signed in to change notification settings

xirreal/RLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLS - Repo Live Server

Bundler and webserver to host GooseMod repos. Supports live updating using GitHub webhooks.

Features over ms2builder

  • 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.)

Usage

To get this working you'll need to:

  1. Install Node 15 or newer and install git.
  2. Get your own GitHub Personal Access Token.
  3. Get a Discord bot token.
  4. Choose a secret for your webhooks.
  5. Create a .env file for your tokens.
    • The format is KEY=VALUE.
  6. Configure config.js.
    • You'll need to add some modules and add the tokens.
  7. (Optional) Setup a webhook on your repo.
    • Use the secret you used in the config file (config.js).
    • Set Content type to application/json
    • Set the URL accordingly to what you configured in the config.js file. (Default value: https://example.com:4456/api/github/webhooks)
  8. 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.

Available npm scripts

  1. npm run server, main script used to start RLS.
  2. npm run check <repoName>, used to check if a Powercord Plugin can be ported to GooseMod.
  3. npm run clonegm, clones GooseMod, required for using PC Compat Check.
  4. npm run updategm, updates GooseMod.

About

Bundler and webserver to host GooseMod repos.

Resources

License

Stars

Watchers

Forks