Skip to content

Need-an-AwP/RelayX

Repository files navigation

RelayX

RelayX is a serverless voice chat software based on Tailscale network, built with electron, react and pion/webrtc. RelayX aims to create a user-controlled voice communication platform without the need for central servers.

About this project

https://relayx.pages.dev

important aliases

  • twg: tailscale-webrtc-gateway
  • cpa: capture-process-audio

setup development environment

About CPA

RelayX integrates a Capture Process Audio (CPA) component to capture audio from specific processes in Windows. This component is built using C++ and leverages Windows Core Audio APIs to achieve process audio capture. see process-audio-capture-stdio repo for more details.

Environment Requirements

  • Node.js 20+
  • Go 1.24+
  • Windows

Install Dependencies

# Install frontend dependencies
yarn install

# Download capture process audio component
yarn downloadCPA

# Build Go backend
yarn build:go

Development Mode

# Start development server
yarn dev

Production Build

# Build complete application
yarn build

start two instances for testing

run vscode task Run Default on 5173 & A on 5174, this will start two dev instances in one terminal.

Config files

  • config.json: Main configuration file for RelayX
  • .env: Tailscale authentication key and hostname (the empty env file will be created even if user don't use authkey to login)

License

This project uses the apache License - see the LICENSE file for details.

Acknowledgments

About

Resources

License

Stars

Watchers

Forks

Packages

No packages published