Files
Discord-Presence-Relay/README.md
T

102 lines
2.6 KiB
Markdown
Raw Normal View History

2026-07-25 13:42:18 +07:00
# 🪩 Discord-Presence-Relay
2026-06-15 02:26:16 +07:00
2026-07-25 13:42:18 +07:00
Mirrors Discord Rich Presence activity to every running Discord
2026-06-15 13:43:52 +07:00
instance (stable, PTB, Canary, ...), so apps that only connect to the
primary `discord-ipc-0` socket show their presence everywhere.
2026-06-15 02:26:16 +07:00
2026-07-21 03:07:42 +07:00
![Screenshot](assets/screenshot.png)
2026-06-15 13:43:52 +07:00
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.
2026-06-15 02:26:16 +07:00
2026-06-15 18:52:23 +07:00
Linux and macOS only.
2026-06-15 02:26:16 +07:00
2026-06-16 03:26:24 +07:00
## Install
Download the latest build for your platform from the
2026-07-25 13:42:18 +07:00
[Releases page](https://github.com/YuzuZensai/Discord-Presence-Relay/releases).
2026-06-16 03:26:24 +07:00
### Linux (AppImage)
2026-07-25 13:42:18 +07:00
1. Download `discord-presence-relay-<version>.AppImage`.
2026-06-16 03:26:24 +07:00
2. Make it executable and run it:
```bash
2026-07-25 13:42:18 +07:00
chmod +x discord-presence-relay-*.AppImage
./discord-presence-relay-*.AppImage
2026-06-16 03:26:24 +07:00
```
The app runs from the tray. To launch it automatically and have it appear in
your application menu, move it somewhere permanent (e.g. `~/Applications/`)
and create a desktop entry, or enable "Start on login" from the app's
settings once it's running.
### Linux (.deb)
2026-07-25 13:42:18 +07:00
1. Download `discord-presence-relay-<version>.deb`.
2026-06-16 03:26:24 +07:00
2. Install it:
```bash
2026-07-25 13:42:18 +07:00
sudo apt install ./discord-presence-relay-*.deb
2026-06-16 03:26:24 +07:00
```
2026-07-25 13:42:18 +07:00
3. Launch it from your application menu ("Discord Presence Relay"), or from a
2026-06-16 03:26:24 +07:00
terminal:
```bash
2026-07-25 13:42:18 +07:00
discord-presence-relay
2026-06-16 03:26:24 +07:00
```
2026-07-25 14:01:54 +07:00
### macOS (Homebrew)
```bash
brew tap yuzuzensai/discord-rpc-relay https://github.com/YuzuZensai/Discord-RPC-Relay
brew trust yuzuzensai/discord-rpc-relay
2026-07-25 14:01:54 +07:00
brew install --cask discord-presence-relay
```
`brew trust` is required once per tap, Homebrew blocks installing from
third-party taps until you explicitly trust them.
2026-07-25 14:01:54 +07:00
The cask clears the Gatekeeper quarantine attribute automatically after
install, so the app opens normally right away.
### macOS (manual)
2026-06-16 03:26:24 +07:00
2026-07-25 13:42:18 +07:00
1. Download `discord-presence-relay-<version>.dmg` and open it.
2. Drag **Discord Presence Relay** into the **Applications** folder.
2026-06-16 03:26:24 +07:00
3. Clear the Gatekeeper quarantine attribute before first launch (see below),
then open the app from Applications/Launchpad/Spotlight as usual.
The app runs in the menu bar. Subsequent launches don't need the Gatekeeper
step again.
#### macOS Gatekeeper
The macOS build isn't signed/notarized, so Gatekeeper will quarantine it and
refuse to open it ("app is damaged and can't be opened" / "unidentified
developer"). After installing, clear the quarantine attribute from the
Terminal:
```bash
2026-07-25 13:42:18 +07:00
xattr -cr /Applications/Discord\ Presence\ Relay.app
2026-06-16 03:26:24 +07:00
```
Then open the app normally.
2026-06-15 13:43:52 +07:00
## Development
2026-06-15 02:26:16 +07:00
```bash
2026-06-15 13:43:52 +07:00
pnpm install
pnpm dev
2026-06-15 02:26:16 +07:00
```
2026-06-15 13:43:52 +07:00
## Build
2026-06-15 02:26:16 +07:00
```bash
2026-06-15 13:43:52 +07:00
pnpm build:linux
pnpm build:mac
pnpm build:win
2026-06-15 02:26:16 +07:00
```