RIPPWORKS / Rippworks Relay / Setup guide

Rippworks Relay for Windows (desktop app source)

The Windows app around your Rippworks Relay server: screen share with game audio (process loopback), a share picker, pop-ups that never show on stream, a chat overlay, the call bar, a phone panel for mobile sites, the Social Farming tile grid, 16/25-tile Clip Farming with YouTube Live pulls on the PC, Voiceover mic handling, cursor highlight and auto-update.

System requirements

Item To run the app To build the installer
OS Windows 10 (21H2+) or 11, x64 Windows 10/11 x64, or Linux/macOS (this repo's patch-builder.js builds the NSIS installer on Linux without Wine)
RAM 4 GB (8 GB+ with Social Farming tiles) 4 GB
Disk 450 MB installed 2.5 GB (Electron + builder caches)
GPU Any DirectX 11 GPU n/a
Runtime none (bundled) Node.js 22, npm 10+, internet access for npm and the Electron download
Network Your Rippworks Relay server (https)

Point it at your server

The app opens one server address. In order of priority:

  1. RW_SERVER_URL environment variable (e.g. https://app.your-domain.com), or
  2. config.json next to main.js (copy config.example.json; it is packed into the app), or
  3. the placeholder https://relay.example.com (change it before you ship).

Install and run (development)

npm ci                       # Electron 45, electron-builder 26, electron-updater, koffi; runs patch-builder.js
# if node_modules/electron/dist is missing (some npm setups skip it): node node_modules/electron/install.js
RW_SERVER_URL=http://localhost:3100 npx electron .

Build the Windows installer

npm ci
npm run dist                 # electron-builder --win nsis --x64 --publish never
# -> dist/Rippworks-Relay-Setup-<version>.exe, .blockmap and latest.yml

npm run dist uses the NSIS folder in ELECTRON_BUILDER_NSIS_DIR (defaults to ./.nsis). On Windows and x64 Linux you can leave .nsis out and electron-builder downloads its own NSIS. On Linux arm64 (or without Wine) build .nsis from the system NSIS first:

```bash sudo apt install nsis # makensis 3.x mkdir -p .nsis/linux && cp -r /usr/share/nsis/* .nsis/ && cp "$(command -v makensis)" .nsis/linux/makensis

electron-builder also wants elevate.exe in that folder; take it from its NSIS bundle:

curl -LO https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z 7z e nsis-3.0.4.1.7z -o.nsis elevate.exe -r npm run dist `` The installer is **unsigned**: Windows SmartScreen shows "unrecognized app" until you sign it (setCSC_LINK/CSC_KEY_PASSWORDto your code-signing certificate beforenpm run dist`). No certificate is included.

Auto-update

package.json > build.publish points at a placeholder feed, https://updates.example.com/relay/. Before your first release, set it to a folder you control (any static host). After each build upload the .exe, its .blockmap, then latest.yml last. The app checks the feed on start.

Configure the server side

Server features this app talks to (Social Farming, Clip Farming, Voiceover) come from the server packages. In the server's .env, the ORIGIN must be the same address you give the app.

Troubleshooting

Symptom Fix
Blank window The server address is wrong or unreachable; check RW_SERVER_URL / config.json.
SmartScreen blocks the installer Expected for unsigned builds: More info > Run anyway, or sign the build.
npm run dist fails downloading NSIS or Electron Needs internet once; caches land in ~/.cache/electron and ~/.cache/electron-builder.
Game audio missing in a share Windows 10 2004+ is required for process loopback; pick the game window, not the whole screen, when possible.
ffmpeg.exe vendor/ffmpeg/win32-x64/ffmpeg.exe is a static GPL build used to turn recordings into MP4. Replace it with your own build if you prefer (see its README.txt).

Nothing in this folder contains accounts, keys, certificates, logs or a server address.