This is a complete TypeScript + Bun rewrite of the original arRPC project by OpenAsar.
Find a file
creations bb58becd8b
fix darwin
bridge lastmsg
some state cleanups
2026-05-21 10:32:00 -04:00
.github/workflows add npm update workflow 2025-11-01 01:39:28 -04:00
assets change logo 2025-11-01 02:03:33 -04:00
scripts add albion to fixes, make fixes merge not overwrite, move scattered 2026-04-24 18:07:31 -04:00
src fix darwin 2026-05-21 10:32:00 -04:00
.gitignore fix is needed 2025-12-13 15:37:47 -05:00
biome.json add deeplink support 2026-05-13 08:44:12 -04:00
bun.lock add deeplink support 2026-05-13 08:44:12 -04:00
detectable.json add albion to fixes, make fixes merge not overwrite, move scattered 2026-04-24 18:07:31 -04:00
detectable_fixes.json add albion to fixes, make fixes merge not overwrite, move scattered 2026-04-24 18:07:31 -04:00
FEATURES.md - await steam lookup promise instead of returning null during startup 2026-02-05 07:37:07 -05:00
LICENSE go nucular with the win support 2025-10-21 17:11:25 -04:00
package.json add deeplink support 2026-05-13 08:44:12 -04:00
README.md - await steam lookup promise instead of returning null during startup 2026-02-05 07:37:07 -05:00
tsconfig.json v1.1.6 2025-10-21 18:10:27 -04:00

arRPC
License: MIT GitHub release npm version AUR version AUR version (bin)

Open Discord RPC server for custom clients

TypeScript + Bun

About

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.

Installation

Pre-built Binaries

Download the latest release for your platform from GitHub Releases:

  • Linux (x64, ARM64, musl variants)
  • macOS (Intel, Apple Silicon)
  • Windows (x64)

bun

bun install -g arrpc-bun

Quick Start

Install dependencies:

bun install

Run the server:

bun start

Update detectable games database:

bun run update-db

Configuration

Configure using environment variables:

  • ARRPC_DEBUG - Enable debug logging
  • ARRPC_NO_BRIDGE - Disable bridge server (if not needed)
  • ARRPC_NO_PROCESS_SCANNING - Disable automatic game detection
  • ARRPC_NO_STEAM - Disable Steam game detection and lookup
  • ARRPC_STATE_FILE - Enable state file (stores active activities to /tmp/arrpc-state-{0-9})
  • ARRPC_IGNORE_LIST_FILE - Path to ignore list file (games to skip detection)
  • ARRPC_PARENT_MONITOR - Monitor parent process and shutdown when parent dies
  • ARRPC_BRIDGE_PORT - Bridge port (default: 1337)
  • ARRPC_BRIDGE_HOST - Bridge hostname (default: 127.0.0.1)
  • ARRPC_WEBSOCKET_HOST - WebSocket hostname (default: 127.0.0.1)
  • ARRPC_DATA_DIR - Custom data directory for detectable databases

Example:

ARRPC_DEBUG=1 bun start

Features

View Complete Feature List

License

MIT

Based on arRPC by OpenAsar