From f38dcb52f2d41c519a7530b73f227bd488fd53cf Mon Sep 17 00:00:00 2001 From: Yuzu Date: Mon, 15 Jun 2026 13:43:52 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20docs:=20Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 49f98f2..67990c3 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,26 @@ -# discord-rpc-relay +# Discord RPC Relay -A minimal Electron application with TypeScript +Mirrors Discord Rich Presence (RPC) activity to every running Discord +instance (stable, PTB, Canary, ...), so apps that only connect to the +primary `discord-ipc-0` socket show their presence everywhere. -## Recommended IDE Setup +It works by taking over `discord-ipc-0`, passing all traffic through to the +real primary instance unchanged, and forwarding the handshake and +`SET_ACTIVITY` frames to the other detected instances. -- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) +Linux and macOS (untested) only. -## Project Setup - -### Install +## Development ```bash -$ pnpm install +pnpm install +pnpm dev ``` -### Development +## Build ```bash -$ pnpm dev -``` - -### Build - -```bash -# For windows -$ pnpm build:win - -# For macOS -$ pnpm build:mac - -# For Linux -$ pnpm build:linux +pnpm build:linux +pnpm build:mac +pnpm build:win ```