Prerequisites
Before you begin, ensure you have the following installed:-
Node.js 16+ (18+ recommended)
- Download from nodejs.org
- Verify installation:
node --version
-
npm (comes with Node.js)
- Verify installation:
npm --version
- Verify installation:
-
Git
- Download from git-scm.com
- Verify installation:
git --version
Platform-specific requirements
- macOS
- Windows
- Linux
Install Xcode Command Line Tools:
Setup steps
Install dependencies
Install all required npm packages:This will install:
- Electron runtime
- electron-builder
- All Node.js dependencies (http-proxy, socks, socks-proxy-agent, ip)
Download SlipStream client binaries
Download the latest SlipStream client binaries from the upstream repository:This script downloads platform-specific binaries into the
binaries/ directory:slipstream-client-mac-arm64(macOS Apple Silicon)slipstream-client-mac-intel(macOS Intel)slipstream-client-win.exe(Windows)slipstream-client-linux(Linux)
Project structure
After setup, your project directory will look like this:Key files explained
main.js
The Electron main process file that handles:- Application window creation and management
- SlipStream client process spawning and management
- HTTP proxy server (port 8080)
- System proxy configuration
- IPC communication between main and renderer processes
index.html
The renderer process containing:- User interface HTML structure
- CSS styling
- JavaScript for UI interactions
- Settings management
- Real-time status monitoring
- Log display
package.json
Contains:- Project metadata
- Dependencies (runtime and dev)
- npm scripts for development and building
- electron-builder configuration
Utility scripts
The project includes helpful npm scripts:Troubleshooting
Missing binaries error
If you get an error about missing binaries when running the app:- Make sure you ran
npm run download:binaries - Check that the
binaries/directory exists and contains the required files - For development on macOS, ensure execute permissions:
Port already in use
If ports 8080 or 5201 are already in use:- Stop any running instances of SlipStream GUI
- Check for other applications using these ports:
npm install fails
Ifnpm install fails:
- Ensure you have Node.js 16+ installed
- Try clearing npm cache:
npm cache clean --force - Delete
node_modules/andpackage-lock.json, then runnpm installagain
Next steps
Building
Learn how to build the application for distribution
Contributing
Read the contribution guidelines