arRPC is an open source implementation of Discord's local RPC servers. It allows applications with Discord Rich Presence support to display their status on Discord Web, custom clients, and other platforms that don't natively support RPC.
TypeScript + Bun port of the original arRPC by OpenAsar, featuring full type safety, Bun native APIs, and improved performance.
Download the latest release for your platform from GitHub Releases:
- Linux (x64, ARM64, musl variants)
- macOS (Intel, Apple Silicon)
- Windows (x64)
bun install -g arrpc-bunInstall dependencies:
bun installRun the server:
bun startUpdate detectable games database:
bun run update-dbConfigure using environment variables:
ARRPC_DEBUG- Enable debug loggingARRPC_NO_BRIDGE- Disable bridge server (if not needed)ARRPC_NO_PROCESS_SCANNING- Disable automatic game detectionARRPC_NO_STEAM- Disable Steam game detection and lookupARRPC_STATE_FILE- Enable state file (stores active activities to/tmp/arrpc-state.json)ARRPC_IGNORE_LIST_FILE- Path to ignore list file (games to skip detection)ARRPC_BRIDGE_PORT- Bridge port (default: 1337)ARRPC_BRIDGE_HOST- Bridge hostname (default:127.0.0.1, Windows: unbound)ARRPC_WEBSOCKET_HOST- WebSocket hostname (default:127.0.0.1)ARRPC_DATA_DIR- Custom data directory for detectable databases
Example:
ARRPC_DEBUG=1 bun startMIT
Based on arRPC by OpenAsar